HomeFreeBSD

geom: Allow "load" command for already loaded modules.

Description

geom: Allow "load" command for already loaded modules.

I see more user-friendly to do nothing if the module is already
loaded, rather than returning quite confusing error message.

As side effect it allows to avoid std_list_available() call, using
quite expensive on large systems geom_gettree().

MFC after: 1 month

Details

Provenance
mavAuthored on Mar 8 2022, 5:04 PM
Parents
rG74c303e4ace2: gpioths(4): Correct the sysctl names in manual page
Branches
Unknown
Tags
Unknown