From owner-freebsd-hackers Fri Nov 22 1:19:15 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 4609137B401 for ; Fri, 22 Nov 2002 01:19:14 -0800 (PST) Received: from mail009.syd.optusnet.com.au (mail009.syd.optusnet.com.au [210.49.20.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2361143E6E for ; Fri, 22 Nov 2002 01:19:13 -0800 (PST) (envelope-from markhannon@optusnet.com.au) Received: from doorway.homeip.net (c17030.sunsh3.vic.optusnet.com.au [211.28.121.143]) by mail009.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id gAM9JBF29149 for ; Fri, 22 Nov 2002 20:19:11 +1100 Received: from optusnet.com.au (tbird.home.lan [192.168.1.5]) by doorway.homeip.net (8.12.6/8.12.6) with ESMTP id gAM9JJhR019455 for ; Fri, 22 Nov 2002 20:19:19 +1100 (EST) (envelope-from markhannon@optusnet.com.au) Message-ID: <3DDDF6A0.4090202@optusnet.com.au> Date: Fri, 22 Nov 2002 20:19:28 +1100 From: Mark Hannon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Re: Backup/restore of bootable w2k fat32 part from freebsd References: <20021120085533.D14569-100000_nihil@ns.sol.net> <1037841002.624.40.camel_chowder.gsoft.com.au@ns.sol.net> In-Reply-To: <20021120085533.D14569-100000_nihil@ns.sol.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 > > 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. mtools has a command mattrib which can be used to store FAT attribs, I have used it like so: mattrib -/ -p c:/'*' > tempfile tempfile will be a shell script you can execute to recreate the attributes. /mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message