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

Re: /usr/doc and /usr/share/doc on different partitions



The problem are not the cross-device links. The problem is to
move some directory to somewhere else and replace it by a symlink. If there
are symlinks within that moved tree pointing relative to some location
outside, these will be wrong after the move.

If you really need to cut the /usr tree somewhere in the middle, the only
option that is sure to work, is to have the original mount point right there
within /usr. May be ugly, or at least unusual, but it should work well.

On Tue, Oct 19, 1999 at 12:02:09PM -0400, Mr. Christopher F. Miller wrote:
> 
> The error is cross-device links not allowed.  
> 
> I have the same problem too.  We mount /usr/doc ro NFS
> on one particular machine.
>   
> Anytime we install apt-conf unmounts /usr/doc, does its thing,
> blows away the contents of the local /usr/doc, and 
> remounts.  Similar for /usr/man and /usr/info.  And, 
> presumably, /usr/share once I have a moment to check the
> architecture thing.
> 
> cfm
> 
> On Tue, Oct 19, 1999 at 05:44:34PM +0200, Bjoern Brill wrote:
> > 
> > On Tue, 19 Oct 1999, Nathan E Norman wrote:
> > 
> > > On Tue, 19 Oct 1999, Santiago Vila wrote:
> > > 
> > >  : On Mon, 18 Oct 1999, Jon K. Hellan wrote:
> > >  : 
> > >  : > Hi,
> > >  : > 
> > >  : > As my /usr has grown, /usr/doc and /usr/share/doc has ended up in
> > >  : > different partitions. Symlinks from /usr/doc to ../share/doc or vice
> > >  : > versa do not work.
> > >  : > 
> > >  : > Should this be considered a bug in the packages, or am I doing
> > >  : > something which is not supported.
> > >  : 
> > >  : I think you are doing something which is not supported.
> > >  : 
> > >  : If you mount a filesystem under /usr/share/doc everything should
> > >  : work just fine. If you have strange symlinks maybe not.
> > > 
> > > /usr/share on a separate partition from /usr isn't supported?
> > > 
> > I wonder all the time what exactly could be meant by 'do not work'
> > (but I have already deleted the original message, so I can't ask the
> > author). Without this and a copy of fstab and what symlinks already
> > exist in the filesystem (ie is /usr/doc or /usr/share/doc already a
> > symlink to some place) it is very hard to guess what really could go
> > wrong at all (except something unsupported:).
> > 
> > 
> > Bj"orn Brill <brill@fs.math.uni-frankfurt.de>
> > Frankfurt am Main, Germany
> > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> -- 
> 
> Christopher F. Miller, Publisher                             cfm@maine.com
> MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> 1.207.657.5078                                       http://www.maine.com/
> Database publishing, e-commerce, office/internet integration, Debian linux.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
-- ______________________________________________________
-- JESUS CHRIST IS LORD!
--          To Him, even that machine here has to obey...
--
-- _________________________________Norbert "Nobbi" Nemec
-- Hindenburgstr. 44  ...  D-91054 Erlangen  ...  Germany
-- eMail: <nobbi@cheerful.com>    Tel: +49-(0)-911-204180


Reply to: