Project

General

Profile

Actions

Feature #2450

closed

beadm umount should support mountpoint name

Added by Jim Klimov about 10 years ago. Updated about 10 years ago.

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

50%

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

Description

Currently, "beadm umount" only supports the BE name as an argument. I see little reason why it can't also accept the mountpoint used for that BE (determine the BE name if it must) and unmont the thing.
When doing repetitive routines on the command line it is much more convenient to "umount /a" than "umount ABENAME" for different values of ABENAME.
This would also make "beadm umount" more aligned with "umount", "lofiadm -d" and other similar utilities which accept any of the pointers to the mounted resource (mountpoint or resource name).

Actions #1

Updated by Alexander Eremin about 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Alexander Eremin
  • % Done changed from 0 to 50
Actions #2

Updated by Gordon Ross about 10 years ago

  • Status changed from In Progress to Resolved
changeset:   13663:a64c8d17c8f4
tag:         tip
user:        Alexander Eremin <a.eremin@nexenta.com>
date:        Mon Apr 09 13:29:54 2012 +0400
description:
    2451 beadm umount should report if there is nothing to unmount
    2450 beadm umount should support mountpoint name
    Reviewed by: Dan Kruchinin <dkruchinin@acm.org>
    Reviewed by: Michael Schuster <michaelsprivate@gmail.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Gordon Ross <gwr@nexenta.com>
Actions

Also available in: Atom PDF