Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 13:31:51 +0100
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        krad <kraduk@gmail.com>
Cc:        David Cornejo <dave@dogwood.com>, freebsd-current@freebsd.org, "C. P. Ghost" <cpghost@cordula.ws>
Subject:   Re: /usr/home vs /home
Message-ID:  <4ECE3937.5060201@mail.zedat.fu-berlin.de>
In-Reply-To: <CALfReyc2Bw5r%2BSZFg2g-nUWc%2BYpyx=Z0qN%2BABVArN9GB-X87-Q@mail.gmail.com>
References:  <CAFnjQbvMRey=zM_1BvjF%2Bs=2sWfYDwFoi_pB7BJiJ9aS9Ud5ag@mail.gmail.com> <20111122080542.5c993efe@zelda.sugioarto.com> <20111122103043.82377106564A@hub.freebsd.org> <CADGWnjVTWM2D5mmCiVsbwO=SBQhepjYGHn3MKPHTWusqKkcgsg@mail.gmail.com> <CALfReyc2Bw5r%2BSZFg2g-nUWc%2BYpyx=Z0qN%2BABVArN9GB-X87-Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/11 10:42, krad wrote:
> On 22 November 2011 13:36, C. P. Ghost <cpghost@cordula.ws> wrote:
> 
>> On Tue, Nov 22, 2011 at 11:30 AM,  <"Thomas Mueller
>> <mueller6727"@bellsouth.net> wrote:
>>> But I don't see any advantage to putting /, /usr, and /var on separate
>> partitions.
>>>
>>> Tom
>>
>> Regarding separate /usr and /var: the advantage is that you can
>> keep /usr read-only which is also important for security reasons
>> since modifying system binaries becomes less easy.
>>
>> Furthermore, you can NFS share a read-only /usr among many
>> similar machines, while /var is a per-machine specific read-write
>> area.
>>
>> -cpghost.
>>
>> --
>> Cordula's Web. http://www.cordula.ws/
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>>
> 
> 
> I always have /var and /tmp on separate file systems than /, but dont
> normally have a separate /usr, bur I have a /usr/local.
> 
> I like to keep the /var and /tmp fs separate as they as other are
> mentioned. Therefore they are more prone to corruption in event of the
> power failure. Keeping / separate in this case should make the system more
> likely to reboot. Also it stops application filling up / which can stop you
> logging into the system (I havent seen this issue for year admittedly)
> 
> /usr/local is just for tidyness as it keeps base os separate from ports etc
> 
> I also have /home on a separate as well to stops users filling up root as
> well.
> 
> my zfsroot boxes have this setup as well, but i also add a few reservations
> and quotas.

For my experiences in the past with OpenLDAP, which keeps its databases
by default in /var, I had a lot of inconsistencies triggered due to the
port OpenLDAP itself or DB4. I do not care about who caused the
inconsistency, but after a reboot, the /var filesystem had to be fsck'ed
or was completely trunkated and needed to be reformatted. If this
happens to /var when /var is a part of / as a whole, then good night ...
;-) Sorry for the sloppy statement.
I'd like to know how many big-company-server systems do have separated
partitions and a lucky to have an easy way to repair in compare to home
users with their home boxes using a linux like whole one partition ...
and compared to that the failures and times to repair the filesystem.

Regards,
Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ECE3937.5060201>