[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount Partition



-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 30 Oct 1999, Robin Gressmann wrote:

> My problem:
> I have got a large harddisk (2GB). I have make 3 partittions:
> 1. 64MB for all files that need for boot Linux (in the beginning of my
>    harddisk) -> /dev/hdc1

This is good. You should put the following directories on this partition:
  bin, boot, dev, etc, lib, root, sbin

You'll also have empty directories for the various mountpoints (cdrom,
floppy, home, initrd, mnt, proc, usr, var, and perhaps tmp)

> 2. 64MB Swap
> 3. the rest for all other files (/dev/hdc3)

This won't work, since you can't mount parts of a partition on different
directories. Instead, you'll want to create one parition to be mounted on
/usr, one for /var, and one for /home. You may also want to have one for
/tmp, although i just make /var a little larger and symlink /tmp to
/var/tmp (if you do this, create a /tmp directory under the /var
mountpoint on /dev/hdc1). And, of course, you can have even more
partitions if you really want (to keep /usr/local separate from /usr, for
example)

My disk is set up something like this. Maybe not the best, but it could be
worse. i also have a few MB slack, in case i ever discover a pressing need
for an extra data partition. I've edited the Size column below to show the
true partition sizes as reported by cfdisk, instead of that given by df
(which ignores the 5% reserved for root).

Filesystem    Size  Used Avail Use% Mounted on
/dev/hda1      82M   21M   51M  29% /
/dev/hda5     452M  199M  197M  50% /home
/dev/hda6     452M   79M  317M  20% /var
/dev/hda7     131M   --    --   --  swap
/dev/hda8    1398M  1.1G  126M  90% /usr
/dev/hda9    1102M  664M  318M  68% /usr/local

/var i keep bigger than most people will recommend for a normal home use
in order to accomodate large apt-get downloads and /tmp->/var/tmp.


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOBtQIL7M/9WKZLW5AQGAJwP+J1QUD4DYh8Ej86huZVuVNk32GwPKg23n
VdaS6gmNWRrrTx9Yp3LoWF5avTreejbKbdVrwHOT1r0tI9L/Cb5haB0Bs2tpPruL
d9QNt9pHFKWyOCIjgHcvR7NhjnzKKngRjA5LNKIxuZIyMIiqcGG2mKB6aMm1ha4G
CjSQvYx2ohM=
=8+1Y
-----END PGP SIGNATURE-----


Reply to: