HomeFreeBSD

Make root_mount_hold() work after boot. This is important for two

Description

Make root_mount_hold() work after boot. This is important for two
reasons. First is rerooting into USB-mounted device that happens
to be not yet enumerated. The second is when mounting with (non-root)
filesystem on USB device on a hub that's enumerated later than the root
mount: the rc scripts explicitly mount for the root mount holds to be
released, but each USB bus takes the hold asynchronously, and if that
happens after root mount, it would just get ignored.

Reviewed by: marcel
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9388

Details

Provenance
traszAuthored on
Reviewer
marcel
Differential Revision
D9388: Make root_mount_hold() work after boot.
Parents
rS313350: In r290196 the root mount hold mechanism was changed to make it not wait
Branches
Unknown
Tags
Unknown