From owner-freebsd-emulation Wed Sep 19 18: 9:57 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id 0212237B40A; Wed, 19 Sep 2001 18:09:47 -0700 (PDT) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id f8K19C807376; Thu, 20 Sep 2001 10:39:12 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Thu, 20 Sep 2001 10:37:28 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id KAA20455; Thu, 20 Sep 2001 10:30:21 +0930 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QFD1LRC1; Thu, 20 Sep 2001 10:30:17 +0930 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id KAA16444; Thu, 20 Sep 2001 10:30:20 +0930 (CST) Message-ID: <3BA93FA4.9C645B64@dsto.defence.gov.au> Date: Thu, 20 Sep 2001 10:30:20 +0930 From: "Thyer, Matthew" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Olsson Cc: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: About HP OmniBack disk agent in FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks very much Peter, I have applied your changes to /usr/omni/bin/.util and the hard link of /etc/mtab to /etc/fstab and I too can now browse my FreeBSD box for mounted filesystems and their contents. I assume that the "brandelf -t Linux /usr/omni/bin/*" is also required. Peter Olsson wrote: > > Hello again! > > I noticed that if I backed up /export and then removed /export > completely it didn't restore to /export but to /usr/compat/linux/export. > I had to create /export to get it to restore there. > > This got me wondering about the /usr/compat/linux structure. > I moved everything out of /usr/compat/linux and tried vbda. > I had to restore lib and etc in /usr/compat/linux to get it > running, but the rest don't seem to be needed! Which means that > I can now for example browse my real FreeBSD /usr. I am just now > running a complete backup of /usr to see what happens when I restore > some of the files in it. Should work fine as long as /usr exists. > > I have no idea what this does to the linux support, it is probably > not so good if you use the linux support for other things than > omniback. I know nothing about linux, I just installed the linux > support to get the omniback client. > > Peter Olsson > > On Wed, 19 Sep 2001, Peter Olsson wrote: > > > Solved it :) I have been trying for over an hour now so it is > > possible that I forgot something I changed earlier tonight, but > > I think this is the only thing I needed to get it working: > > cd /etc > > ln fstab mtab > > > > Now backup/restore works fine, and I can even browse my FreeBSD! > > The results of the browsing are unfortunately the contents of > > /usr/compat/linux, not the FreeBSD contents. But everything directly > > below / that doesn't have an equally named directory in /usr/compat/linux, > > for example /export, is browseable with real FreeBSD content! > > > > Here are my diffs for .util. I use .util from the A.04.00 release. > > It would probably be nicer to keep the use of uname for getting ARCH > > and OS_REV and instead changing the awk arguments, but this works: > > > > $ diff .util .util.old > > 16c16 > > < ARCH=FreeBSD > > --- > > > ARCH=`echo ${UNAME} | awk '{print $1}'` > > 47,52d46 > > < FreeBSD) > > < MACHINE=FreeBSD > > < OS_REV=4.3-RELEASE > > < SERIES=gpl/i386/freebsd > > < STRING="gpl i386 freebsd-${OS_REV}" > > < ;; > > 282,284d275 > > < ;; > > < gpl/i386/freebsd) > > < /bin/df -t ufs 2>/dev/null | awk '$6 ~ /\/.*/ {print $6}' -- Matthew Thyer Phone: +61 8 8259 7249 Science Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Edinburgh PO Box 1500 Edinburgh South Australia 5111 IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message