Skip to contentSkip to conversation

floppy vs. read-only

DISCUSSION Brad Midgley 1 participant 1 message Jan 15, 1999 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

on intel, mount attempts the mount read-write, the mount fails with EROFS, and then mount attempts it again ro.

brad

mount("/dev/fd0", "/mnt/floppy", "vfat", MS_NOSUID|MS_NODEV|0xc0ed0000, 0x80507d0) = -1 EROFS (Read-only file system)

write(2, "mount: block device /dev/fd0 is "..., 67mount: block device /dev/fd0 is write-protected, mounting read-only) = 67

write(2, "\n", 1 ) = 1

sigprocmask(SIG_BLOCK, ~[], NULL) = 0

mount("/dev/fd0", "/mnt/floppy", "vfat", MS_RDONLY|MS_NOSUID|MS_NODEV|0xc0ed0000, 0x8050818) = 0

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]