HomeFreeBSD

libbe(3): Add be_mounted_at to check a mount point

Description

libbe(3): Add be_mounted_at to check a mount point

At a bare minimum, this function will return 0 if a BE is mounted at the
given path or non-zero otherwise. If the optional 'details' nvlist is
supplied, it is filled with an nvpair containing just the information about
the BE mounted at the path. This nvpair is structured just as it is for
be_get_bootenv_props, except limited to just the single mount point.

Details

Provenance
kevansAuthored on
Parents
rS336728: Introduce test program for auditpipe(4)
Branches
Unknown
Tags
Unknown