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

Re: Partitioning hard disk



> Date: Sun, 16 May 1999 21:41:21 +1000
> From: Rob <box@box.halls.monash.edu.au>
> Content-type: text/plain; charset=us-ascii
> Content-transfer-encoding: 7BIT
> 
> > ~> This is how I plan to partitiion the disks:
> > ~> /                hda1     40MB
> > ~> swap       hda2     8MB
> > ~> /usr          hda3      68MB
> > ~> swap       hdb1      8MB
> > ~> /usr          hdb2      250MB
> > ~> 
> > ~> where hda is the 116MB disk and hdb is the 258MB disk.
> > ~> Will the above configuration work..and can I split /usr across 2
> > ~> partitions or will X complain?
> > 
> > I think you could split /usr across two different partitions by making
> > the second a symlink to the first, eg. name hdb2 partition something
> > like /usr2 and make it a symlink to /usr.
> 
> Not quite, because then what would you call the *real* /usr (since the name
> /usr is already taken by a symlink ;)
> 
However, you can symlink sub-directories, e.g., create 
	/usr2/share
	/usr2/doc
	/usr2/local
	/usr2/src
	/usr2/games
and 
	ln -s /usr2/share /usr/share
	etc.  

Just make sure that all the information in these /usr subdirectories
are moved to the corresponding /usr2 prior to the symlinks.  For that
reason be VERY careful about applying this to /usr/lib or /usr/bin.

This is also useful if you out grow your original /usr partition.

-- 
    Carl Greco
    cgreco@novia.net


Reply to: