Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 11:00:34 +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:  <200601181100.k0IB0YRM047114@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2006-01-18 11:00:34 UTC

  FreeBSD src repository

  Modified files:
    sbin/mount           mount.c 
  Log:
  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
  MFC after:      3 days
  
  Revision  Changes    Path
  1.80      +8 -1      src/sbin/mount/mount.c



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