Bug#463769: Fails on files (ie disk images)

Neil Brown neilb at suse.de
Tue Apr 29 06:59:08 UTC 2008


On Friday April 11, madduck at debian.org wrote:
> also sprach Wakko Warner <wakko at animx.eu.org> [2008.04.11.1802 +0200]:
> > That wasn't the point.  The point was I wasn't able to "examine"
> > the "file". There's absolutely no reason that one has to attach it
> > to a loopback device just to examine the md superblock.
> 
> md is "multi-device". A file is not a device. Of course, mdadm
> could work on files, it could also implicitly gunzip them and do
> character translation and all the like. But it doesn't, and it
> won't.
> 
> Now, at least this is my interpretation. I CC'd upstream and if he
> disagrees, I'll take it all back. Neil, the bug report is at
> http://bugs.debian.org/463769.

It don't entirely disagree with Martin, but then I don't entirely
disagree with the patch either... conceptually at least.

The O_LARGEFILE changes are not needed as the _FILE_OFFSET_BITS
change makes them unnecessary.  And there is some bad indenting...

That fixed patch will appear in my .git shortly.

NeilBrown






More information about the pkg-mdadm-devel mailing list