Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2006 15:27:25 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/mount mount.c
Message-ID:  <200601241527.k0OFRP0h027730@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@syndrom23.de>
  PR:             bin/89782
  
  Revision  Changes    Path
  1.69.2.1  +8 -1      src/sbin/mount/mount.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601241527.k0OFRP0h027730>