Last Edited: 01 May 2008 by superuser
Importered from old WiKi -- 30/04-08 18:04.

The file directory structure is organized like this:

/ = root - The top of the ‘tree’ ~ All directories decend from here.
bin = Binary directory. This normally holds executable files, in Puppy it contains many links to executable files.
dev = Device directory. Contains files used to access hardware devices on the computer. Also has links.
etc = All the other stuff. Contains configuration files for the stuff running in Linux.
lib = Library. These are system libraries used by many Linux programs.
lost+found = Lost&Found. Initally empty but during disk checking files may be created here.
mnt = Mount. This is a directory where partitions, file systems, and other devices can be attached to the tree so as to be accessable from Linux.
proc = Process. This contains ‘virtual’ system files related to hardware and software statistics.
root = Root. This is the ‘home’ directory of the administrator or ‘superuser’ account.
sbin = System binary. The same as the ‘bin’ account but is usually reserved for system administration programs.
tmp = Temporary. This is usually where programs store temporary files.
usr = User. Usually used (stuck on a word again) to store user-related files and programs. In Puppy contains almost every thing.
var = Variable. This usually stores files that may change over time such as the printer spool files and log files.

So looking at the Linux Puppy tree you will see:

/ bin
dev
etc
lib
lost+found
mnt
proc
root
sbin
tmp
usr
var


Each directory can have subdirectories:

/
bin
dev

  • fd
  • input
  • net
  • pts
  • snd
  • usb

etc

  • dhcp
  • fonts
  • gsview
  • gtk
  • gtk-2.0
  • pango
  • pcmcia
  • pdq
  • ppp
  • rc.d
  • samba
  • sane.d
  • sysconfig
  • X11

lib

  • keymaps
  • libhardware
  • modules

mnt

  • cdrive
  • cdrom
  • cdrom2
  • data
  • flash
  • floppy
  • home
  • linux2
  • linux3
  • linux4
  • msdos1
  • msdos2
  • pupxxx
  • ram1
  • swap
  • windows2
  • windows3
  • zip

opt
proc

  • The directories in proc are created at boot up and only exist till shutdown or reboot.

root

  • Contains all the directories that you see when you first open rox plus any that you add.

sbin
tmp
usr

  • bin
  • etc
  • lib
  • local
  • sbin
  • share
  • X11R6

var

  • lib
  • local
  • lock
  • locks
  • log
  • mozilla
  • run
  • spool

Some of the directories may vary depending on your configuration but the differences will be minor.




CategoryDocumentation