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)
Apr 30 2024, 6:08 AM
Unknown Object (File)
Apr 30 2024, 5:10 AM
Unknown Object (File)
Apr 29 2024, 10:10 PM
Unknown Object (File)
Apr 22 2024, 2:58 AM
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
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