网址:http://www.pathname.com/fhs/
Here is an example of a FHS-compliant system.(Other FHS-compliant layouts are possible.)
shareable | unshareable | |
---|---|---|
static | /usr | /etc |
/opt | /boot | |
variable | /var/mail | /var/run |
/var/spool/news | /var/lock |
The following directories, or symbolic links to directories, arerequired in /.
Directory | Description |
---|---|
bin | Essential command binaries |
boot | Static files of the boot loader |
dev | Device files |
etc | Host-specific system configuration |
lib | Essential shared libraries and kernel modules |
media | Mount point for removeable media |
mnt | Mount point for mounting a filesystem temporarily |
opt | Add-on application software packages |
sbin | Essential system binaries |
srv | Data for services provided by this system |
tmp | Temporary files |
usr | Secondary hierarchy |
var | Variable data |
/etc/sysctl.conf
/etc/hosts
/etc/networks
/etc/sysconfig/network
/proc/sys/net/ipv4/ip_local_port_range
/proc/sys/net/ipv4/icmp_echo_ignore_all
/proc/sys/net/ipv4/ip_forward