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