Re: File layout?
Christian Herzyk <[email protected]> Wed, 30 Oct 2002 16:18:37 +0100
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <[email protected]> |
Randy Dees wrote: ><quote who="Joe Brault"> > > > >>My question is, how does everyone set up >>they're file systems? Do u have /home on a separate partition, and >>/usr on a separate one, or everything on one partition? What would >>be the best from a security standpoint? I've seen it done alot of >>different ways, and wanted to get input from all the folks here. >>Thanks for your time :) >> >> > >Joe; > >Personally I find it a good idea to seperate user data (/home, generally) >from OS data. If you have a system with an active spool (mail, news, >print server, for example) then you might want a seperate /var. It's >valuable to seperate /boot from the other file systems if you mount it >noauto so that you only have it mounted when you want to change it and >therefore mount it. > > Yes, I see it the same way (except I still don't see a really good reason to keep boot unmounted). In addition I would suggest giving tmp an own partition, so it can't grow too big and clutter your root. >My personal systems are partitioned generally as > >/ >/boot >/home >/usr/local > > I, for myself have regular partitions for /boot and /. For the rest I use LVM with own LVs for /home, /opt/ usr /var and /tmp. /usr/local might be an idea if you use it a lot. In addtion to that I use 2 LVs /data (for downladed installation files) and /multimedia (for data used by all users on the system, such as mp3). If you have a 2 disk system (non-RAID) then there are some very fiendish (hope I spell that correctly) to divide the partitions over the disks to get maximum performance. Chris