cvs commit: src/sbin/mount mount.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Jan 24 07:27:30 PST 2006


pjd         2006-01-24 15:27:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sbin/mount           mount.c 
  Log:
  MFC:    sbin/mount/mount.c      1.80
  
  Resolve the mount point's path with realpath(2) before checking if file
  system is mounted. This prevevents duplicated mounts.
  
  The change I made against the original patch is to fall back to the given
  path on realpath(2) failure instead of exiting with an error.
  
  Submitted by:   Andreas Kohn <andreas at syndrom23.de>
  PR:             bin/89782
  
  Revision  Changes    Path
  1.69.2.1  +8 -1      src/sbin/mount/mount.c


More information about the cvs-src mailing list