/etc/fstab Lacks Mount Point For Floppy

David Zeuthen david at fubar.dk
Mon Oct 18 15:33:11 UTC 2004


On Sun, 2004-10-17 at 22:46 -0600, Michal Jaegermann wrote:
> Here I am not that convinced.  There is "exec" there now and
> automatically created /etc/fstab enteries have "exec" option clearly
> spelled out.  But if I put a floppy in suddenly it is mounted
> "noexec".  That is why I am talking about "magic".  OTOH if I had
> good reasons to mount floppies "exec" then what?  

As I've already tried to explain, mount(1) wants the 'pamconsole',
'user' and possibly 'users' option before the 'exec' option because the
way that the mount(1) program works is that "This option implies the
options noexec, nosuid, and nodev (unless overridden by  _subsequent_
options, as in the option line user,exec,dev,suid)" to quote from the
man page for mount(1). Emphasis for subsequent is mine.

Hence, this may be the magic you're talking about. Thus, fstab-sync
needs to learn about this, IMHO, intricate detail of mount(1).

David





More information about the fedora-test-list mailing list