From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 16:36:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52FEC16A417 for ; Wed, 30 Jan 2008 16:36:47 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1A89013C4D3 for ; Wed, 30 Jan 2008 16:36:46 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m0UGXkv3079841; Wed, 30 Jan 2008 11:33:46 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m0UGXkBL079840; Wed, 30 Jan 2008 11:33:46 -0500 (EST) (envelope-from jerrymc) Date: Wed, 30 Jan 2008 11:33:46 -0500 From: Jerry McAllister To: Martin Boulianne Message-ID: <20080130163346.GD79702@gizmo.acns.msu.edu> References: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Dump and restore for Windows partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 16:36:47 -0000 On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote: > Hi, > Maybe this is a dumb question, but I was wondering if I could use > dump (and restore) on Windows NTFS partitions. > > Say I have a NTFS partition, ad0s1. Could I use: > # dump -b 4 -f /backups/winxp.dump /dev/ad0s1 Well, I htink it would work for a FATnn slice, but I don't know about NTFS. > Or after a restore, Windows would be able to read the files? What about dd, > with something like: > # dd if=/dev/ad0s1 of=/backups/winxp.bck bs=4k The problem is that dd copies essentially byte-by-byte and so it might not restore in the fashion you wish. Label blocks and file links would all have to be identical - which they might not be in a real life situation. But, give it a try. Copy it with dd and then restore it with dd back to a different slice and see what happens. ////jerry > > Thanks!! =) > _______________________________________________ > 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"