beadm umount should support mountpoint name
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 Gordon Ross almost 10 years ago
- Status changed from In Progress to Resolved
changeset: 13663:a64c8d17c8f4 tag: tip user: Alexander Eremin <firstname.lastname@example.org> 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 <email@example.com> Reviewed by: Michael Schuster <firstname.lastname@example.org> Reviewed by: Gary Mills <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>