[Fwd: Re: impossible to restore MBR using dd]
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue May 3 17:45:00 GMT 2005
On May 3 19:10, Matthias Bertschy wrote:
> Maybe I should recall you that on Linux, we can safely write 446 bytes
> blocks to a raw device. Indeed, the command dd if=boot.MBR of=/dev/sda
> bs=446 count=1 works under Linux.
> I also don't understand why you are using NTSF raw devices to access the
> MBR... after all the MBR isn't formatted at all !
What is an "NTFS raw device" for you?
> I think I will fill a bug report for the dd command under Cygwin. Could
> you point me where to do it?
There's no point in that. I removed the buffering in writing to raw
devices last year because the buffering created more problems than it
helped when it came to writing multiple-volume archives to, e.g, floppy.
Windows calls OTOH only support writes to raw devices in module blocksize
chunks. I don't think that's too hard a restriction.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list