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

Reducing size of /lib following an 'apt-get upgrade'?



Have Debian Wheezy installed and recently performed an 'apt-get upgrade' to kernel 3.2.0 (3.2.0-2-686-pae in full). 
The system is a single-boot/Debian-only x86 machine with an intentionally-limited 400MB root partition (/), besides larger and separate partitions of /var, /usr, /home, /opt, /tmp, and swap.

Before the 'apt-get upgrade', the root partition took up approximately 230MB space out of the 400MB initially allocated for this. 
Following the upgrade, the root partition is now 305MB full (~76% used up), with /lib taking up more than 250MB of this space.
This system uses an initrd to boot its kernel (initrd.img-3.2.0-2-686-pae).

Don't wish to mess up the current partition table, but *DO* wish to eventually upgrade the system with a higher kernel version, so....
===> Which files and folders can one successfully mv out of /lib to a larger partition of a similar filesystem, i.e., through space-conserving symlinks (ln -sf), to reduce the size imprint of /lib ?? 

Any good ideas for this short of an absolute necessity to resize the root partition?
TYIA,
-A
--


_____________________________________________________________
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com 
Join Linux Discussions! --> http://Community.LinuxWaves.com


Reply to: