Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 10:07:21 +0100
From:      Ruben de Groot <fbsd-q@bzerk.org>
To:        bastill@adam.com.au
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Ooops.
Message-ID:  <20030202090721.GA91710@ei.bzerk.org>
In-Reply-To: <1044169749.3e3cc4158d3d7@webmail.adam.com.au>
References:  <005601c2c8c5$47735b10$6501a8c0@grant> <1043981504.3e39e4c0b6e66@webmail.adam.com.au> <44znpinhl7.fsf@be-well.ilk.org> <1043983614.3e39ecfecd509@webmail.adam.com.au> <20030131201357.GA18381@gothmog.gr> <3E3ADA1B.5020304@potentialtech.com> <1044095023.3e3ba02f81b4b@webmail.adam.com.au> <1044169749.3e3cc4158d3d7@webmail.adam.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 02, 2003 at 05:39:09PM +1030, bastill@adam.com.au typed:
> Are we aiming at the wrong target, here?
> I used the fixit CD to examine ad0s3, where my missing files reside.
> 
> What I found was that (eg) /bin, /etc, /dev were full of files/directories, but
> /var and /usr were empty.  I didn't ask dump/restore to delete anything, and did
> not ask rm to remove the files from /var or /usr/everything.
>  The command I used to copy was:
> dump 0af - / | restore xf -
> Is it dump or restore that have been causing the problem?

This is not a problem. dump works one filesystem at a time and it looks 
like you have /usr and /var mounted on seperate filesystems. So, the 
commands to copy everything are:

cd /mnt/other
dump 0af - / | restore xf -
cd /mnt/other/var
dump 0af - /var | restore xf -
cd /mnt/other/usr
dump 0af - /usr | restore xf -

> 
> home@ on ad0s3 still links to /usr/home so that if I "mount /dev/ad0s3
> /mnt/other" in my working system on ad2, ls /mnt/other/home shows my working
> home directory - a bit startling when you first see it.  Don't see this as
> significant, but you gurus might.
> 
> --
> Brian
> 
> 
> -----------------------------------------------
> This message sent through Adam Internet Webmail
>           http://www.adam.com.au
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030202090721.GA91710>