Actions
Submit #2913
closedsbin/mount_nfs: Add -o retrycnt= from FreeBSD
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/12/2016
Due date:
% Done:
0%
Estimated time:
Description
Matt,
I'd like to bring in a /sbin/mount_nfs option "-o retrycnt=" from FreeBSD.
DragonFly's mount_nfs has -R which is the same as -o retrycount,
but automountd (userspace daemon of autofs port from FreeBSD) needs this.
Using non -o options requires userspace rewrite as the config file parser for automountd assumes mount options are passed via -o.
The parser part of automountd is 100% userspace stuff which means the code is basically 100% compatible with FreeBSD,
so adding this alias to mount_nfs makes more sense than touching the parser only to support non -o format.
https://leaf.dragonflybsd.org/~tkusumi/diff/0001-sbin-mount_nfs-Add-o-retrycnt-from-FreeBSD.patch
Actions