From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 20:41:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E286E16A4CF for ; Fri, 28 Jan 2005 20:41:47 +0000 (GMT) Received: from dexter.starfire.mn.org (starfire.skypoint.net [66.93.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07E0543D1F for ; Fri, 28 Jan 2005 20:41:45 +0000 (GMT) (envelope-from john@dexter.starfire.mn.org) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id j0SKfVM31115; Fri, 28 Jan 2005 14:41:31 -0600 (CST) (envelope-from john) Date: Fri, 28 Jan 2005 14:41:31 -0600 From: John To: RYAN vAN GINNEKEN Message-ID: <20050128144131.C30793@starfire.mn.org> References: <41FA969C.1030504@computerking.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <41FA969C.1030504@computerking.ca>; from maillist@computerking.ca on Fri, Jan 28, 2005 at 12:46:36PM -0700 cc: freebsd-questions@freebsd.org Subject: Re: dumping a samba directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 20:41:48 -0000 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