Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2000 14:07:56 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Linux Emulation Root (was: Re: Linux emulation scripting fix  to be committed to 5.x and 4.x wednesday)
Message-ID:  <Pine.BSF.4.21.0004241406010.26491-100000@resnet.uoregon.edu>
In-Reply-To: <200004231924.MAA00521@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Apr 2000, Cy Schubert - ITSD Open Systems Group wrote:

> In message <200004231835.LAA62963@apollo.backplane.com>, Matthew Dillon 
> writes:
> >     I intend to commit this to -current and immediately MFC it to -stable.
> >     I don't expect there to be any controversy though I'm sure there is a
> >     cleaner way to do it.
> 
> On a semi-related topic, it would be handy to have a feature, 
> environment variable, table in the kernel, a sysctl variable, etc., to 
> set the Linux emulation root to the real root.  For example, the backup 
> component of Legato for Linux (nsrexecd and friends) runs nicely on 
> under Linux emulation, however, recovering files in the root directory 
> sees them placed in the Linux emulation root directory.

I ran into a similar problem with ADSM -- it would happily back up
/compat/linux thinking it was backing up /.  I patched the linux mode KLD
to disable the /compat/linux path munging.  I tried to submit it back but
was shot down; the emulation people wanted a more general method, which I
assume included a way to define your own 'linux root'.  The discussion got
lost some time after that in -emulation.  

> To work around this I've used a union filesystem that mounted / on 
> another mount point and redirected my restores to it.

Unforunately union mounts are known unstable.

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004241406010.26491-100000>