Can someone explain the /sys filesystem?
Dave Jones
davej at redhat.com
Fri Feb 6 16:31:47 UTC 2004
On Fri, 2004-02-06 at 16:16, Daniel Durgin wrote:
> I looked around /sys, and it seems very easy to
> understand. But when I boot to the 2.6 kernel I made,
> CD-ROM is /dev/scd0, not /sys/block/hdc.(ide=scsi in
> NOT enabled.
That's very odd. I can't really explain that.
Care to post boot messages ?
> So how does /sys relate to the /dev filesystem?
> I thought it was supposed to replace it.
No. udev can create a dynamic /dev directory based upon information
it gathers from /sys and hotplug events.
> What about /proc, is that going too?
No. That would break far too much userspace.
Dave
More information about the users
mailing list