I finally script this in rc.securelevel:

if disklabel 888; then
  mount 888.i /pathto/mcdonald
  mount -t msdos 888.j /pathto/minny
fi

n.b: 888 = disk uuid; the disklabel is a bit more elegant
and less stichy as it reports about the found disk and it exits.

Dan

------
Blog: http://bsd.gaoxio.com - Repo: https://code.5mode.com

Please reply to the mailing-list, leveraging technical stuff.

Nov 7, 2025 21:29:04 Dan <[email protected]>:

> Janne Johansson <[email protected]>:
>> 
>> Then put the fsck and mount commands in /etc/rc.securelevel which
>> checks if disk is in, and skips mount if not.
> 
> Investigating, thx

Reply via email to