[lkml]   [2005]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Weirdness of "mount -o remount,rw" with write-protected floppy
    Rob Landley wrote:

    > It looks like one bug to me. The initial mount figures out that it's read
    > only, and the actual writes fail correctly, but remount isn't checking for
    > read only (and thus isn't failing).

    Right, but even after remount seemingly succeeds, an attempt to write to
    an unwritable media should return an error nevertheless, as the
    corresponding syscall should fail, obviously. And it indeed happens for
    e.g. CDROM or an NFS volume (if you repeat all the steps from my
    original post, "touch" will return an error). Yet for floppy, it
    doesn't. I suspect that a "readonly-ness" is defined at a different
    level for floppy (e.g. status of the device itself, not media). This is
    just a wild guess.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-10-28 15:20    [W:0.033 / U:12.676 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site