Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 20:19:28 +1100
From:      Mark Hannon <markhannon@optusnet.com.au>
To:        hackers@freebsd.org
Subject:   Re: Backup/restore of bootable w2k fat32 part from freebsd
Message-ID:  <3DDDF6A0.4090202@optusnet.com.au>
In-Reply-To: <20021120085533.D14569-100000_nihil@ns.sol.net>
References:  <20021120085533.D14569-100000_nihil@ns.sol.net> <1037841002.624.40.camel_chowder.gsoft.com.au@ns.sol.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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




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