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

Also available in: Atom PDF