Re: Proposal for moving /usr/doc
In article <871zpey246.fsf@tiamat.datasync.com>,
Manoj Srivastava <srivasta@datasync.com> wrote:
>
> As a solution to your problem, If your partition is,
> say. /disk1; create /disk1/doc and symlink that to /usr/doc and
> things shall be fine.
Hmm. That didn't quite work when I tried it a few days ago. There are
symlinks like this one:
lrwxrwxrwx 1 root root 19 Aug 30 12:55 /usr/doc/strn/help -> ../../lib/strn/help
If /usr/doc -> /disk1/doc, /usr/doc/strn/help will resolve to
/disk1/doc/lib/strn/help
My setup is like this:
lrwxrwxrwx 1 root root 17 Aug 30 12:57 /usr/doc -> /usr-overflow/doc
/usr-overflow:
total 20
drwxr-xr-x 5 root root 1024 Sep 13 23:22 .
drwxr-xr-x 21 root root 1024 Sep 11 20:26 ..
lrwxrwxrwx 1 root root 12 Aug 30 12:58 X11R6 -> ../usr/X11R6
drwxr-xr-x 3 root root 12288 Sep 14 23:42 bin
drwxr-xr-x 242 root root 5120 Sep 14 23:42 doc
lrwxrwxrwx 1 root root 10 Aug 30 13:05 lib -> ../usr/lib
drwxrwsr-x 7 root staff 1024 Aug 30 12:48 local
lrwxrwxrwx 1 root root 11 Sep 13 23:22 sbin -> ../usr/sbin
... where /usr/bin, /usr/doc and /usr/local are kept outside of the
/usr partition. The symlinks in /usr-overflow are simply the ones I
happened to find where needed; it probably be simpler just to symlink
everything from /usr into /usr-overflow, then delete the ones to be moved.
Symlinks to top-level direcrories work with no other changes, of course.
--
Charles Briscoe-Smith
White pages entry, with PGP key: <URL:http://alethea.ukc.ac.uk/wp?95cpb4>
PGP public keyprint: 74 68 AB 2E 1C 60 22 94 B8 21 2D 01 DE 66 13 E2
Reply to: