From owner-freebsd-hackers Wed Nov 20 17:10:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49F4A37B401 for ; Wed, 20 Nov 2002 17:10:57 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EDA143E91 for ; Wed, 20 Nov 2002 17:10:41 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.6) with ESMTP id gAL1A3iX085588; Thu, 21 Nov 2002 11:40:25 +1030 (CST) (envelope-from doconnor@gsoft.com.au) X-Authentication-Warning: cain.gsoft.com.au: Host localhost [127.0.0.1] claimed to be [127.0.0.1] Subject: Re: Backup/restore of bootable w2k fat32 part from freebsd From: "Daniel O'Connor" To: Michael Reifenberger Cc: FreeBSD-Hackers In-Reply-To: <20021120085533.D14569-100000@nihil> References: <20021120085533.D14569-100000@nihil> Content-Type: text/plain Organization: Message-Id: <1037841002.624.40.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 21 Nov 2002 11:40:02 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 () IN_REP_TO X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-11-20 at 18:42, Michael Reifenberger wrote: > are there experiences with backup/restore of an bootable w2k > partition from within FreeBSD? > I've seen `newfs_msdos -B`, but how to extract the w2k bootblock (dd?) ? > Is it sufficient to get an bootable partition? I think you'll have trouble unless you backup and restore the extra bits (system, hidden, archive) as well. I wrote a patch for msdosfs which maps these to suid/sgid/sticky (yes, I know, gross, but it was useful at the time). You can have it if you want. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message