cvs commit: src/sbin/mount mount.c

Ruslan Ermilov ru at FreeBSD.org
Tue Oct 24 22:02:30 UTC 2006


ru          2006-10-24 22:02:29 UTC

  FreeBSD src repository

  Modified files:
    sbin/mount           mount.c 
  Log:
  Revert rev. 1.86 by jmallett@ as it breaks "ro" mounts specified
  in /etc/fstab.
  
  This has been happening due to the priority inversion; options
  specified on the command line should take precedence over options
  from fstab over default "noro" option, but since both the default
  "noro" and options specified on the command line (-w, -r, -o ...)
  were put into the same "options" variable, "noro" took precedence
  over fstab "ro" (this is easily visible with "mount -d").
  
  PR:             bin/100164
  
  Revision  Changes    Path
  1.89      +32 -6     src/sbin/mount/mount.c


More information about the cvs-all mailing list