|Summary:||Can't mount write-protected ext2 floppies|
|Product:||[Retired] Red Hat Linux||Reporter:||hargrove|
|Component:||autofs||Assignee:||Cristian Gafton <gafton>|
|Status:||CLOSED WORKSFORME||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||1999-03-19 18:50:46 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description hargrove 1998-12-11 09:00:13 UTC
As configured the autofs module for ext2 filesystems will try to run e2fsck on the filesystem before mounting and will refuse to mount the filesystem if e2fsck returns an error code. However, the current e2fsck (from e2fsprogs-1.12-2) returns an error if run on write-protected device. This means that autofs will fail to mount write proteted floppies when using a line line: ext2-floppy -fstype=ext2 :/dev/fd0 but will quite happily do the right thing for: dos-floppy -fstype=vfat :/dev/fd0 or auto-floppy -fstype=auto :/dev/fd0 This last one, however is less than ideal because it fails for DOS floppies and doesn't run fsck on ext2 floppies. The fix would seem to be to check if the device is read-only before invoking e2fsck, and using the -n option if it is.
Comment 1 Jay Turner 1998-12-11 14:48:59 UTC
Yes indeed, when a write-protected disk is attempted to be mounted with autofs, one gets the error that the mount point does not exist. Confirmed in test lab.
Comment 2 David Lawrence 1998-12-11 16:46:59 UTC
This bug has been assigned to a developer.
Comment 3 Anonymous 1999-05-03 20:44:59 UTC
The two most recent comments (by jturner and dkl on 12/11/1998) describe the bug as "VERIFIED" and then as "ASSIGNED". And yet bugzilla shows a status of "RESOLVED". Why? I've just verified that this bug is still present in RHL 6.0 (autofs-3.1.3-2 and e2fsprogs-1.14-4) so I'd not call that resolved.
Comment 4 openshift-github-bot 2015-10-15 02:25:25 UTC
Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/0aee001f803e1565c37adc66a7acb61f81086c64 Merge pull request #1068 from bfallonf/issue_385 GH issue #385: added para on logoutURL