From owner-freebsd-stable Mon Apr 24 14: 8: 6 2000 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 1438037BC32 for ; Mon, 24 Apr 2000 14:08:02 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id OAA43700; Mon, 24 Apr 2000 14:07:56 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 24 Apr 2000 14:07:56 -0700 (PDT) From: Doug White To: Cy Schubert - ITSD Open Systems Group Cc: Matthew Dillon , 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) In-Reply-To: <200004231924.MAA00521@cwsys.cwsent.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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