[Wolves] What are the key linux directories?
David Goodwin
dg at clocksoft.com
Tue Sep 20 15:16:24 BST 2005
>
> I don't know them all, yet, but I think that bin holds the program
> binaries while sbin holds system binaries. Is that right?
/sbin is only in root's path by default - any user can run a binary in
/sbin (assuming fs permissions allow them), but they'll often fail as in :
"/sbin/fdisk -l /dev/hda" as a non-root user will fail as the user can't
open /dev/hda.
/sbin is supposed to be always on the root disk (/) (i.e. not
partitioned seperately), therefore if you happen to screw up a
filesystem you _should_ be able to boot the box and fix it (as /sbin is
still there). (Some people have /usr as a seperate partition, for
space/performance considerations)
/proc is the mount point of a virtaul file system (procfs), which shows
you some innards of the Linux kernel - e.g. /proc/kcore is a _very_
large file, and should be as large as you have RAM used;
/proc/bus/usb/devices should list all usb devices attached,
/proc/scsi/scsi does the same for scsi stuff etc.
David.
--
David Goodwin
w: http://www.clocksoft.co.uk
e: david.goodwin at clocksoft.com
t: 0121 313 3850
More information about the Wolves
mailing list