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
F115956019: D42243.diff
Wed, Apr 30, 8:54 PM
Unknown Object (File)
Mon, Apr 21, 5:11 AM
Unknown Object (File)
Mon, Apr 21, 5:04 AM
Unknown Object (File)
Tue, Apr 15, 1:27 AM
Unknown Object (File)
Mar 3 2025, 10:21 PM
Unknown Object (File)
Feb 13 2025, 1:09 AM
Unknown Object (File)
Nov 25 2024, 12:36 AM
Unknown Object (File)
Nov 24 2024, 2:51 PM
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