HD Install :: Auto mount



Does DSL auto mount my HDD´s ?
No.
Quote (mikshaw @ Aug. 23 2005,10:18)
No.

How do i make it so DSL auto mount my HDD´s as read only?
One thing you could do to mount your drives is add something to /opt/bootlocal.sh. Try adding something like

Code Sample
mount -o ro /dev/hda1
mount -o ro /dev/hda2
etc....


(replacing the device names with the partitions you want mounted).

Or if you want everything mounted something like

Code Sample
while read device mountpoint fs relax; do
 mount -o ro -t $fs $device $mountpoint
done << EOF
`scanpartitions`
EOF


original here.