Page MenuHomeFreeBSD

libbe: attempt to remove autocreated mountpoints at unmount time
ClosedPublic

Authored by kevans on Oct 17 2023, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 16, 6:17 AM
Unknown Object (File)
Sep 6 2025, 10:37 PM
Unknown Object (File)
Sep 4 2025, 8:43 AM
Unknown Object (File)
Sep 3 2025, 12:04 PM
Unknown Object (File)
Aug 28 2025, 12:08 AM
Unknown Object (File)
Aug 15 2025, 12:35 AM
Unknown Object (File)
Aug 13 2025, 2:36 PM
Unknown Object (File)
Aug 12 2025, 8:37 AM
Subscribers

Details

Summary

We use a be_mount.XXXX pattern to mkdtemp(3) when creating these, which
seems reasonably unique enough to just continue using that. Record the
mountpoint of the root dataset and check the dirname of that for the
auto-creation trait. There's no sense in this bubbling up an error to
callers, so we'll just ignore an error for now.

Requested by: manu

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable