CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2012/07/08 08:30:59
Modified files: sbin/mount_msdos: mount_msdos.c sbin/mount_ext2fs: mount_ext2fs.c sys/scsi : sd.c Log message: Return EROFS when a read-write mount of a read-only sd(4) device is attempted. This is instead of the current EACCES and is intended to result in better error messages from mount(8). Tweak default EROFS error text to mention fsck'ing in mount_ext2fs and mount_msdos since they both have fsck's like ffs. ok deraadt@ aja@ ian@ phessler@