Page MenuHomeFreeBSD

libbe: attempt to remove autocreated mountpoints at unmount time
Needs ReviewPublic

Authored by kevans on Oct 17 2023, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 8:18 AM
Unknown Object (File)
Jan 18 2024, 1:20 PM
Unknown Object (File)
Dec 23 2023, 3:00 AM
Unknown Object (File)
Dec 15 2023, 12:35 AM
Unknown Object (File)
Dec 9 2023, 10:56 PM
Unknown Object (File)
Oct 22 2023, 2:53 AM
Unknown Object (File)
Oct 18 2023, 11:59 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 54020
Build 50910: arc lint + arc unit