[fhs-discuss] /dev

Ingo Schwarze schwarze at usta.de
Sun May 22 13:29:54 PDT 2011


Admin wrote on Sun, May 22, 2011 at 04:58:17PM +0300:

>  /dev must be in /sys! Like: /sys/dev.

Maybe some systems do that, but it is certainly not universal.

For example, in the BSD world, /sys is often a symlink to /usr/src/sys
which contains the kernel sources, and hence, /sys/dev contains
source code of device drivers, which is probably not what you are
talking about, for example:

 $ ls -dF /sys/dev/a* 
/sys/dev/acpi/             /sys/dev/atapiscsi/        /sys/dev/audio.c
/sys/dev/adb/              /sys/dev/auconv.c          /sys/dev/audio_if.h
/sys/dev/ata/              /sys/dev/auconv.h          /sys/dev/audiovar.h


More information about the fhs-discuss mailing list