You can answer this. stat() gives you the device major,minor
the file lies on. Get the source to gnu find if you want
an example using this.
> Which system calls are used to allow root login
> only from the physical console, for instance? Are
> they different?
That is not a kernel item. The console enforcement is entirely
done as user space policy
> As I need the bedrock for application purposes,
> I'm not going to have time I'd like to write a
> Linux file system, but will be happy to assist a
> serious guru to adapt the bedrock (easy) to make
> one (hard, but now possible -- and zero cool).
This sounds most interesting. There are a lot of cases where Linux needs
a transaction safe storage layer for an application.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu