Actions
Feature #2450
closedbeadm umount should support mountpoint name
Start date:
2012-03-24
Due date:
% Done:
50%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
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).
Updated by Alexander Eremin about 11 years ago
- Status changed from New to In Progress
- Assignee set to Alexander Eremin
- % Done changed from 0 to 50
Updated by Gordon Ross about 11 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