floppy vs. read-only

Brad Midgley brad at pht.com
Fri Jan 15 16:25:26 EST 1999


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 linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list