Re: insufficient space to complete yast update



On Wed, 29 Aug 2007, Rajko M. wrote:-

<snip>

Symlinking works within one partition.

Sym-linking works across partitions just as well as within partitions:

davjam@playing:~> df /usr /usr/share/ ; ls -l /usr/share
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda13 4127076 2231288 1686144 57% /usr
/dev/sda6 40940312 17549844 23390468 43% /local
lrwxrwxrwx 1 root root 14 2007-08-06 01:20 /usr/share -> ../local/share

I discovered this "trick" years ago when I had to "move" another large
part of one file system to another, also due to lack of space.

In the above case, because /usr/was about 98% full and there was no
other available partition to swap it with, I decided to move something
from /usr to another partition, and /usr/share just happened to be what
I chose.

All it too was me to drop into run-level 1 for a few minutes while I did
the move, created the sym-link, and checked everything still worked as
it should, then brought it back up to run-level 3. It's been running
like this for several months, and there's been no complaints out there
being a sym-link when adding or updating packages.

And now it takes up so little space too :-)

davjam@playing:~> sudo du /usr/share/ /usr/share --max-depth=0
1617653 /usr/share/
0 /usr/share



Regards,
David Bolt

--
Member of Team Acorn checking nodes at 100 Mnodes/s: www.distributed.net
RISC OS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISC OS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3b1 32bit
.



Relevant Pages