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)
Sat, Jul 25, 4:54 AM
Unknown Object (File)
Wed, Jul 22, 6:36 PM
Unknown Object (File)
Jun 8 2026, 7:36 PM
Unknown Object (File)
Jun 8 2026, 1:50 AM
Unknown Object (File)
Jun 7 2026, 4:37 AM
Unknown Object (File)
May 20 2026, 11:55 AM
Unknown Object (File)
May 18 2026, 12:40 PM
Unknown Object (File)
May 18 2026, 11:14 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