freebsd-dev/sbin/mount
Mike Pritchard d48b626da3 Do not allow the caller to specify the same path for the special
device file and the mount point.  This prevents the "unexpected recursive
lock" panic from happening.

This is a temporary fix.  A kernel fix would be much much more ugly than
this, and still wouldn't be the "right" way to fix it.  After some
of Terry's file system rework is installed, it will be possible to
properly fix this problem in a clean manner.  Until then,
this change should prevent use from getting a problem report
on this every month or so (and I just noticed that someone in
one of the freebsd news groups was complaining about this problem, too).
1996-03-10 00:20:28 +00:00
..
getmntopts.3 Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
getmntopts.c Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
Makefile Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mntopts.h The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO 1995-08-26 05:39:53 +00:00
mount_ufs.c Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount.8 Another round of various man page cleanups. 1996-02-09 17:25:57 +00:00
mount.c Do not allow the caller to specify the same path for the special 1996-03-10 00:20:28 +00:00
pathnames.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00