https://unix.stackexchange.com/questions/125744/mounting-a-file-system-using-a-c-program seems to be within that. Note that:
mount(2)seems like a common UNIX interface. Well, it's a Linux-ism, though the API is at least similar on e.g., FreeBSD. I don't think it falls under "very different systems like Cocoa."
- "shell interfaces tend to be pretty close to the syscall interfaces" definitely applies here; more or less the
mount(8)utility takes the exact same parameters.
- It doesn't require any real knowledge of C, or of programming. It's the same knowledge you'd need to, for example, understand the output of
strace /sbin/mount …. So, it seems to follow the guideline given:
The guideline is: will the question interest only programmers, or also users and administrators? A sysadmin debugging why a server won't start with truss/strace output is on-topic here. A programmer debugging why his kernel module is causing an OOPS is off-topic. (From Gilles' answer to the meta question).
But as I was writing this, it was closed & migrated to Stack Overflow.
I don't understand—it seems to clearly follow the rule spelled out in the Help Center, seems to follow the +13/-0 consensus written by Gilles and linked into the rule.
Yet it was closed. With a vote from Gilles and several other regulars no less. So either I don't understand Gilles' consensus post, or his opinion has changed—and many others' in the community, too.
Either way, we need to fix something: clarify the consensus & the rules, change the rules to give the new consensus, or stop closing questions like that.