On Sat, 12 Jul 2003, Szakacsits Szabolcs wrote:
> On Fri, 11 Jul 2003, Szakacsits Szabolcs wrote:
> > I'm trying to merge with the ntfsprogs repositories to send more patches
> > but it seems the official repositories are quite broken. ntfsresize also
> > doesn't work:
> >
> > ntfsresize -ff -s70M test-100M.img
> > [...]
> > Schedule chkdsk for NTFS consistency check at Windows boot time ...
> > ERROR(30): Failed to set $Volume dirty: Read-only file system
> >
> > Apparently the disk_io virtualisation broke this too.
>
> It broke ntfsfix also and probably everything else that wants to
> open a device read-write. None of these works in either ntfsprogs
> or ntfsprogs-devel.
Indeed. I had a relatively quick look yesterday but I didn't spot it. I
assumed it would be a simple logic inversion bug, but this doesn't seem to
be the case. )-: I will look for it when I have a bit of time hopefully
I will have some time later today or tomorrow... If any one else looks
and finds it please let me know!
I am guessing that the ro flag is being set when mounting rw and quite
possibly vice versa so you might find that mounting ro will suddenly allow
you to do writes (but I wouldn't be too sure about that).
Cheers,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|