Subject: Re: dump - still have a problem
To: None <netbsd-users@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: netbsd-users
Date: 02/24/2001 11:57:46
On 24.02.01, 11:16:51, Takahiro Kambe wrote:
> In message <Pine.NEB.4.21.0102232108260.2917-100000@wojtek.from.pl>
> on Fri, 23 Feb 2001 21:10:27 +0100 (CET),
> <wojtek@wojtek.from.pl> wrote:
> > whats going wrong?!
> >
> > dump -h 0 -0 -B 5000000 -k 64 -L "root-backup" -u /
> Specify raw device file instead of root directory.
That doesn't makek a difference if the directory given is really the
fs's mount point and the filesystem is listed in fstab. Then dump
dumps the raw device instead.
However, this seems to fail for lfs. dump_lfs tries to read mount
points' devices as ffs file systems; giving the device name explicitly
to dump_lfs works.
I think dump should be smart enough to figure out the fs type from the
fstab file and start dump or dump_lfs accordingly. (Just like mount
and fsck do).
>
> --
> Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
>
--
Bernd Sieker
Anagrams for NetBSD core team:
Crested Boatmen
Resented Combat
Boast Decrement
Basement DEC rot
-- Julian Assange