Bug 278437 - umount(8) doesn't support partitions & slices
Summary: umount(8) doesn't support partitions & slices
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 15:43 UTC by Ricardo Branco
Modified: 2024-04-27 19:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Branco 2024-04-18 15:43:10 UTC
When I submitted PR I missed adding support for partitions and slices.

To reproduce:

$ sudo mdconfig ~/FreeBSD-14.0-RELEASE-arm64-aarch64-RPI.img
md0
$ sudo umount -d /mnt
umount: invalid md device: /dev/md0s2a

Fix:
https://github.com/freebsd/freebsd-src/pull/1183
Comment 1 Ricardo Branco 2024-04-27 19:49:55 UTC
Fix was merged.