[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory structure
Michael Richard wrote:
> /var/named/ -> /etc/named (this one seems to work fine)
> /var/spool/ftp -> /home/ftp (works fine too)
> /var/www -> /etc/www (for configuration files)
> /home/www (for htdocs, icons and cgi-bin)
> /var/www (for log files)
The whole point or /var is that if you have a shared-disk environment,
EVERYTHING can be mounted read-only except /var. "/var" is designated
the area that contains machine-specific data that must be modified
regularly.
"/etc" should be mountable read-only while in multi-user mode, so that
the only way to change your system configuration is to boot single-user
and remount /etc as read-write.
It's actually a security and manageability feature of sorts.
There is a discussion of this with historical background information in
the FSSTND (which is Linux-centric) located at
http://www.pathname.com/fhs/.
--
Adam Thompson, MCNE, MCSE, CWT, A+
Vice-President / Chief Technology Officer, Commerce Design Inc.
<athompso@commerced.com>
tel: (204) 942-1648, fax: (204) 989-8080, cell: (204) 782-6198