]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts.
authorrmacklem <rmacklem@FreeBSD.org>
Mon, 8 May 2017 00:45:05 +0000 (00:45 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Mon, 8 May 2017 00:45:05 +0000 (00:45 +0000)
commit3c94c307c5ff6f1ad9bbc5a80f11ab8137018525
tree41d667524e0f0403606db9c4b306be581d5eb680
parent739cf46bfd0b99b825e9006ace2b6b9e9ec92cbc
Fix mount_nfs so that it doesn't create mounttab entries for NFSv4 mounts.

The NFSv4 protocol doesn't use the Mount protocol, so it doesn't make sense
to add an entry for an NFSv4 mount to /var/db/mounttab. Also, r308871
modified umount so that it doesn't remove any entry created by mount_nfs.
Reported on freebsd-current@.

Reported by: clbuisson@orange.fr
MFC after: 2 weeks
sbin/mount_nfs/mount_nfs.c