From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 21 14:33:58 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB67A16A4BF for ; Thu, 21 Aug 2003 14:33:58 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E82F43FA3 for ; Thu, 21 Aug 2003 14:33:58 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h7LLXvHR088578; Thu, 21 Aug 2003 16:33:57 -0500 (CDT) (envelope-from dan) Date: Thu, 21 Aug 2003 16:33:57 -0500 From: Dan Nelson To: Matthias Schuendehuette Message-ID: <20030821213357.GB82969@dan.emsphone.com> References: <200308212155.37454.msch@snafu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308212155.37454.msch@snafu.de> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-emulation@freebsd.org Subject: Re: SysV- (Unixware-) Emulation of FBSD-V :-) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 21:33:59 -0000 In the last episode (Aug 21), Matthias Schuendehuette said: > I want to use FreeBSD-5.1 as a replacement for our Linux-Server... > The only problem is backup. > > We're using HP OmniBack/DataProtector, which has no native FreeBSD > client but Linux, Unixware and SCO OpenServer clients. I got the > linux-client (sort of) working, but the chrooted environment is less > than ideal for a backup client. > > What is the current status of SysV-Emulation on 5.1 or -current? I > heard it's working without a chrooted environment, right? Chances to > get a daemon-process, which accesses network and filesystem, running? > Do I need any additional libraries? All the platform emulation layers use a virtual root, since they need to be able to provide native libraries and binaries. It's not a real chroot, since any directory that don't exist in /compat/abi/ automatically put you in the real directory. Two solutions come to mind. you can either export all your filesystems and back them up over NFS from another Linux server, or you can use null mounts to put your FreeBSD filesystems into the Linux virtual root. For example: /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /var ufs rw 1 2 /dev/da0s1f /usr ufs rw 1 2 / /compat/linux/bsdroot null rw 0 0 /var /compat/linux/bsdroot/var null rw 0 0 /usr /compat/linux/bsdroot/usr null rw 0 0 .. should allow to you back up your FreeBSD filesystems by backing up "/bsdroot" in your backup program. -- Dan Nelson dnelson@allantgroup.com