/var or /usr for data?

Jerry McAllister jerrymc at msu.edu
Sat Aug 25 08:47:51 PDT 2007


On Fri, Aug 24, 2007 at 08:20:16PM -0600, rloefgren at forethought.net wrote:

> On Fri, 24 Aug 2007, Wojciech Puchar wrote:
> 
> >>It would appear that the "proper" allocation of filesystems on FreeBSD is
> >>to put all data in /usr.  I'm used to this and have been doing it for
> >>years.
> >
> >my favourite "proper" allocation is to make ONE partition (/) and nothing 
> >more. and forget all problems about how to partition your drive right...
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"freebsd-questions-unsubscribe at freebsd.org"
> >
> 
> I've made a quick look-see through my copies of "The Complete FreeBSD" and
> "Absolute BSD" and can't find the reference, but I recall reading
> somewhere in my 4.x days that FreeBSD used a different algorithm to write
> to the /var directory, if it was on its own filesystem, because /var was
> written to a lot (holding logs and all.) Because of this, and all the way
> up to 6.2 today, I put /var on its own filesystem, after / and swap.
> Where the old AIX wonks used to call the "outer middle" of the disk. Was
> this different algorithm really the case? And, now with UFS2, is it still
> the case? I still put pgsql/data on /var.

I think you may be confusing var with swap.    A different algorithm is
used for managing and writing/reading swap.   I haven't heard of any
difference with /var.

////jerry

> 
> r
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list