Project

General

Profile

Actions

Feature #2433

closed

mount: allow relative path

Added by Dan Kruchinin over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2012-03-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

/sbin/mount utility doesn't apply relative path as a mount point. That's very annoying.

Example:

% 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


Files

mnt.patch (609 Bytes) mnt.patch Dan Kruchinin, 2012-03-21 01:35 PM
Actions #1

Updated by Gordon Ross over 9 years ago

  • Status changed from New to Resolved
changeset:   13644:e48bbfe444bf
tag:         tip
user:        Dan Kruchinin <dan.kruchinin@nexenta.com>
date:        Wed Mar 21 19:44:57 2012 +0200
description:
    2433 mount: allow relative path
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Gordon Ross <gwr@nexenta.com>
Actions

Also available in: Atom PDF