Re: [SLUG] Partitions

From: Derek Glidden (dglidden@illusionary.com)
Date: Fri Apr 27 2001 - 10:53:02 EDT


Frank Roberts - SOLT wrote:
>
> Paul M Foster wrote:
> >
> > On Thu, Apr 26, 2001 at 11:29:04AM -0400, Derek Glidden wrote:
> >
> > > Here's how I usually set them up:
> > >
> > > partition size
> > > / 256MB
> > > swap (2x RAM size)
> > > /var 512MB
> > > /usr 2-4GB
> > > /home 100MB (because even at home everything lives on the server)
> > > /opt remainder (yes, I'm an "/opt" person...)
> >
> > Opt is suggested by the FHS, so you can't really argue with it.
> >
> > How do you set up these partitions? As in primary, secondary, etc.?

I'd have to go through and look at our setup scripts since that's all
done automagically anymore. :)

Usually though I think / and swap are primary and the rest are usually
logical. There's no especial technical reason why any should be one way
or another though. It's all legacy crap left over from the DOS days.
The various BSDs actually handle it much more gracefully, IMHO, where
they just have a single "legacy" partition and then manage "slices" of
disk space with their own partition table format on that partition.

> > Paul
>
> I second that and thanks Paul.
>
> Part of the above eludes me a wee bit.
>
> Which is your boot participation?

Eh? Or partition? :)
 
> Why is /var so much less than /usr?

/var doesn't usually hold so much as /usr. RPM and DEB (depending on
what distro, and there are certainly others with which I am not so
familiar) usually install into /usr, and most packages you will build by
default go into /usr/local/. /var is used mostly for system logs and
stuff like that. I've got a machine at home that acts as my cablemodem
firewall with a 64MB /var I believe and it's doing fine, even with
firewall logs. 512MB is what I usually make them nowadays with hard
drive sizes so large anyway because it's always better to be too big
than too small.
 
> Approximately what size is /opt? If /opt is over 4 GB and this HD is
> larger than 10 GB for example a 40 GB drive would it not be better to
> put the remainder in /home. THat is of course assuming that you are not
> storing data on a server but have a stand alone machine.

If you put lots of stuff in /home sure, it should be as big as you need
it. Everywhere my machines live though have file servers available so I
never need a lot of space. I don't like installing things into /home
either, so the only things in my /home partition are things like login
scripts, doc files, spreadsheets, etc, so I am never using more than a
few tens of megs at most on any system I log into on a regular basis.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \ | extract_mpeg2 | mpeg2dec -

http://www.eff.org/ http://www.opendvd.org/ http://www.cs.cmu.edu/~dst/DeCSS/Gallery/



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:55:56 EDT