Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Auto mount< Next Oldest | Next Newest >
spajder Offline





Group: Members
Posts: 2
Joined: Aug. 2005
Posted: Aug. 23 2005,14:03 QUOTE

Does DSL auto mount my HDD´s ?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 23 2005,14:18 QUOTE

No.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
spajder Offline





Group: Members
Posts: 2
Joined: Aug. 2005
Posted: Aug. 24 2005,06:45 QUOTE

Quote (mikshaw @ Aug. 23 2005,10:18)
No.

How do i make it so DSL auto mount my HDD´s as read only?
Back to top
Profile PM 
friedgold Offline





Group: Members
Posts: 122
Joined: Mar. 2005
Posted: Aug. 24 2005,13:43 QUOTE

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
Back to top
Profile PM 
3 replies since Aug. 23 2005,14:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Auto mount

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code