View Single Post
  #1   (View Single Post)  
Old 5th August 2010
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Default Moving /var to /usr/var

http://www.redantigua.com/move-var-to-usr.html

Quote:
... filling up the root partition with temporary files is never a good idea, so /var and /tmp should not be left on the root partition, but moved to /usr/ instead.
I read a lot of user will move var and tmp to the usr partition. What I don't understand is why people claim "if tmp or var get full, data may over-flow or affect the root partition". Is this true?

I kind of find this hard to believe because if var and tmp are truly partitions it's would not be possible for data to cross partition. Also all other partition are under ROOT and when data get save or what-ever it move DOWNWARDS from the beginning of given partitions free-space, not UPWARD. Is that not true?

Than how about the usr partition. If what they claim is true would not the usr partition be capable of the same possible overflow filling up the root partition?

It sounds like FreeBSD only gives you two real partition and the rest are only directories/folders inside the root partition itself. Is this true?

Could someone please help me to understand what really going on here. Are they moving directories/folders or are they actually moving real partitions?

I normally do BSD default partition, not BDS labels. Now I feel they are one and the same.

Code:
/
v ---- next data down

/tmp
v ---- next data down

/var
v ---- next data down

/usr
Reply With Quote