Subject: mount_nfs with non-standard port number
To: Olaf Seibert <rhialto@polderland.nl>
From: Alan Barrett <apb@cequrux.com>
List: tech-kern
Date: 06/08/2001 18:41:21
On Fri, 8 Jun 2001, Olaf Seibert wrote:
> + case 'n':
> + num = strtol(optarg, &p, 10);
> + if (*p || num < 0)
> + errx(1, "illegal -n value -- %s", optarg);
> + nfsport = num;
> + break;
FreeBSD's mount_nfs has long understood -o port=<port_number>. It
would be nice if NetBSD could be compatible with them instead of using
-n <port_number>
--apb (Alan Barrett)