Simon wrote:

> 
> I've filled up my /usr file system and I want to expand it (I've moved
> my other file system off that disk). Under UNIX there is a chfs command
> which allows me to extend the size of the file system without wiping it
> out. I can't find anything equivalent in any linux manual. Can you tell
> me if something exists and where to look?
> 

As far as I know it is not currently possible.  What you can do is move
certain directories in /usr to their own partition.  Be sure to maintain
all the right permissions.  I guess a good (large) candidate for a
separate partion would be /usr/lib.  You would then do something like:

0) back up all you want to keep
1) make a new partition
2) mount it under, e.g., /mnt
3) cd /usr/lib; cp -a * /mnt
4) boot with the rescue floppy, rewrite /etc/fstab to reflect the new
   situation, don't delete the contents of /usr yet
5) boot, see if everything works (run X w some apps)
6) boot again w the rescue floppy and remove the stuff in /usr/lib on
   the /usr partition

BUT FIRST:
Wait until our fellow debian-user readers shot their holes in this
procedure of mine :)

OK, start firing...

HTH,
Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])          | tel. office +31 40 2472189
 Eindhoven Univ. of Technology             | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax    +31 40 2455054

Reply via email to