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: HD icons on desktop< Next Oldest | Next Newest >
sonica Offline





Group: Members
Posts: 3
Joined: Aug. 2005
Posted: Aug. 02 2005,08:30 QUOTE

hi, is there a boot option that where checked automatically mount all partitions dsl founds and place an icon on deskttop just like Knoppix?

otherwise, is there an extension to do that?

thanks

sonica
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 02 2005,15:39 QUOTE

Nothing builtin, but you can get some of it accomplish with /opt/bootlocal.sh.  Any Icons will have to be added yourself, and they will need to be scripted if you want to have them appear only when a device is mounted.

Put something like this in /opt/bootlocal.sh:
if egrep -q mountall /proc/cmdline 2>/dev/null; then
for DEVICE in /dev/{h,s}{a,b,c,d}{1,2,3,4} ; do
if grep $DEVICE /etc/fstab 2>/dev/null; then
mount $DEVICE
<whatever script for adding an icon>
fi
done
fi

Make sure opt/bootlocal.sh is in your backup

boot with "mountall"

As usual, this hasn't been tested =o)


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Aug. 02 2005,08:30 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: HD icons on desktop

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