Pawel Jakub Dawidek 90742659d7 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
2006-01-18 11:00:34 +00:00
..
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-11-18 10:36:29 +00:00
2005-06-14 11:24:56 +00:00
2005-01-18 10:09:38 +00:00
2005-01-17 13:56:46 +00:00
2005-04-08 10:32:22 +00:00
2004-07-28 05:59:22 +00:00
2005-03-11 22:07:04 +00:00
2005-11-18 10:36:29 +00:00
2005-11-18 10:36:29 +00:00
2005-11-20 10:35:46 +00:00
2005-04-14 20:27:30 +00:00
2006-01-15 19:17:13 +00:00
2005-11-18 10:36:29 +00:00
2005-02-13 22:25:33 +00:00
2005-12-30 11:56:57 +00:00
2005-11-18 10:36:29 +00:00
2005-11-18 10:36:29 +00:00
2005-02-09 22:06:16 +00:00
2005-11-13 01:47:04 +00:00
2005-05-02 10:13:38 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2004-10-24 14:25:53 +00:00
2005-12-01 22:03:34 +00:00
2004-12-30 01:48:12 +00:00
2005-02-13 23:45:54 +00:00
2005-12-01 21:59:24 +00:00
2005-02-13 22:25:33 +00:00
2004-12-21 09:59:45 +00:00