summaryrefslogtreecommitdiffstats
path: root/sys/geom/label
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-01-18 11:00:34 +0000
committerpjd <pjd@FreeBSD.org>2006-01-18 11:00:34 +0000
commit4f41f4bf9d6fe6cd1d586600a43d988edd5c6def (patch)
tree1799d97f97f90ceeb42525a4ef96a72a1effee4a /sys/geom/label
parent3b2388f51bbda41bef5331055e5c3ab3d974722c (diff)
downloadFreeBSD-src-4f41f4bf9d6fe6cd1d586600a43d988edd5c6def.zip
FreeBSD-src-4f41f4bf9d6fe6cd1d586600a43d988edd5c6def.tar.gz
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
Diffstat (limited to 'sys/geom/label')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud