HomeFreeBSD

libbe: attempt to remove autocreated mountpoints at unmount time

Description

libbe: attempt to remove autocreated mountpoints at unmount time

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

(cherry picked from commit d6fbae084a2a0e07805633ca46935963357f1efa)

Details

Provenance
kevansAuthored on Mon, Apr 21, 3:47 AM
Parents
rG8b42f57eebde: time: switch to fences for siginfo_recvd
Branches
Unknown
Tags
Unknown