Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 14:41:31 -0600
From:      John <john@starfire.mn.org>
To:        RYAN vAN GINNEKEN <maillist@computerking.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dumping a samba directory
Message-ID:  <20050128144131.C30793@starfire.mn.org>
In-Reply-To: <41FA969C.1030504@computerking.ca>; from maillist@computerking.ca on Fri, Jan 28, 2005 at 12:46:36PM -0700
References:  <41FA969C.1030504@computerking.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 28, 2005 at 12:46:36PM -0700, RYAN vAN GINNEKEN wrote:
> does anyone know how to dump a samba directory i keep getting this error
> 
> dump: /usr/local/samba/export/classic: unknown file system
> Kilobytes Out 0

Hey, Ryan!

Dump is not able to work on directories.  The "atom" for dump is
an entire filesystem.  As a convenience, you can give dump the
mount point, but it actually bypasses the normal filesystem
code and talks to the device file directly - it just looks up
the mount point to get the device.  It understands
the filesystem datastructures on its own and interprets them
as much as necessary to build it's directory and datablock
list.

So - if a directory isn't a mount point - if it doesn't
show up in a "df" or "mount" list as a type "ufs" and "local",
dump can't operate on it.

Dump is create, really awesome at what it does - but it doesn't
do anything else. :)  It is really different from tar or cpio or
any of the other programs that go THROUGH the filesystem code
rather than bypassing it.

> ERROR: non-zero exit from:
> dump -0 -b 10 -a -f - /usr/local/samba/export/classic
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 

John Lind
john@starfire.MN.ORG



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