Auto mount


Forum: HD Install
Topic: Auto mount
started by: spajder

Posted by spajder on Aug. 23 2005,14:03
Does DSL auto mount my HDD´s ?
Posted by mikshaw on Aug. 23 2005,14:18
No.
Posted by spajder on Aug. 24 2005,06:45
Quote (mikshaw @ Aug. 23 2005,10:18)
No.

How do i make it so DSL auto mount my HDD´s as read only?
Posted by friedgold on Aug. 24 2005,13:43
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

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.