.hy 0 .ad l .nf

Prev, Top | Notes, Next

# Strange and Interesting System Calls
EROFS, Read-only file system

File systems name the mount point: `fopen(pathname = "/media/disk/booboo", flags = "w") failed, Read-only file system (30, EROFS) because write access was requested and pathname refers to a file on a read-only file system ("/media/disk", 42% full)` Devices are slightly different: `open(pathname = "/dev/fd0", O_RDWR, 0666) failed, Read-only file system (30, EROFS) because the floppy disk has the write protect tab set`