[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FW: Drive Partitions



On Wed, Oct 08, 2003 at 10:21:48AM -0400, Buck wrote:
> 
> In reading "Red Hat Linux 7.2 Bible" I see where the author recommends
> using a separate partition for the /var directory structure.  
> 
> 	"/var -- Your FTP(/var/ftp) and Web server (/var/www)
> directories
> 	 are stored under /var.  Having a separate /var partition can 
> 	 prevent an attack on those facilities from corrupting or
> filling
> 	 up your entire hard disk."
> 
> Can a partition be setup for /var and two others setup for /var/ftp and
> /var/www allowing for whatever else might go into /var go to the /var
> partition leaving the ftp and www folders in separate partitions?

Yes.  In your /etc/fstab, the mount for /var should precede the mounts
for /var/ftp and /var/www.  Duh, no?

> Or
> does every partition under /var have to be in the same partition?

No.

> Thank you,
> Buck

If you really want to get paranoid, depending on the use of your
server, you might want to put /var/spool (home of /var/spool/mail)
and/or /var/log on separate partitions.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.bobcatos.com
A good way to save face is to keep the lower half closed.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]