Hi,
On Fri, Jul 30, 2010 at 7:28 AM, Jan Stary <hans@stare.cz> wrote:
Without touching rc, I use this tiny bits in rc.securelevel:
for TRY in 1 2 3; do
bioctl -c C -l /dev/sd0m softraid0
if [ $? -eq 0 ]; then
DRIVE=$( expr "$(sysctl -n
hw.sensors.softraid0.drive0)" : 'online (\(sd[0-9]\)), OK' )
fsck -p /dev/${DRIVE}d \
&& mount -o softdep /dev/${DRIVE}d /home
break
fi
done
Ciao,
D.
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]