mount: allow relative path
cmd - userland programs
/sbin/mount utility doesn't apply relative path as a mount point. That's very annoying.
% pwd /rpool/ws/illumos-gate % mkdir mnt % sudo mount -F nfs -o rw loki.local:/tank/work mnt mount: Mount point mnt is not an absolute pathname.
The attached patch fixes the problem:
% sudo ./proto/root_i386/sbin/mount -F nfs -o rw loki.local:/tank/work mnt % echo $? 0
Updated by Gordon Ross over 9 years ago
- Status changed from New to Resolved
changeset: 13644:e48bbfe444bf tag: tip user: Dan Kruchinin <email@example.com> date: Wed Mar 21 19:44:57 2012 +0200 description: 2433 mount: allow relative path Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Gary Mills <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>