mount_devfs - don't unconditionally clear rules
authorAlex Hornung <ahornung@gmail.com>
Sun, 21 Nov 2010 10:03:39 +0000 (10:03 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sun, 21 Nov 2010 10:03:39 +0000 (10:03 +0000)
commit84dcbb7594edee2f15bdaa91d1ca7de55c6a7d58
tree952cc2e3b88ecae3f7d958fa43c3af666df07b0f
parentcc1526433fd7a12b472c32347038cfd6ed7d63ec
mount_devfs - don't unconditionally clear rules

* mount_devfs was unconditionally clearing all rules of a mountpoint
  after mounting.

* According to the man page (and my original intentions, I'd presume),
  mount_devfs should only clear the rules of a mountpoint if it was
  already mounted. So fix mount_devfs accordingly.

Dragonfly-bug: http://bugs.dragonflybsd.org/issue1885
sbin/mount_devfs/mount_devfs.c