HD icons on desktopForum: Other Help Topics Topic: HD icons on desktop started by: sonica Posted by sonica on Aug. 02 2005,08:30
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 Posted by mikshaw on Aug. 02 2005,15:39
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) |