From owner-freebsd-stable Fri Apr 28 22:28:21 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 B823437B723 for ; Fri, 28 Apr 2000 22:28:19 -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 WAA20059; Fri, 28 Apr 2000 22:28:16 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 28 Apr 2000 22:28:16 -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: <200004251530.IAA07614@passer.osg.gov.bc.ca> 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 Tue, 25 Apr 2000, Cy Schubert wrote: > > 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. > > Legato for Linux backs up /, it just cannot restore to it. Instead if > you restore for example restore /etc/rc.local, it's restored to > /compat/linux/etc/rc.local. Any redirection using the Legato recover > subcommand relocate to /etc does not work. Mounting a unionfs (or nullfs) > of / on some other directory and redirecting the restore to it does work. You'll want my non-munging linux module patches if you ever want to restore :) 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