This script is designed to make it easy for people to mount cd and dvd drives. The script will mount the device if not mounted and open the KDE file manager. If it is mounted, it will unmount the device and eject it.
1) save this as script
#! /bin/sh
if mount | grep iso9660
then umount /cdrom
echo "\"unmounting cd-rom now... \""
eject /dev/hdc
else mount -t iso9660 /dev/hdc /cdrom
echo "\"mounting cd-rom now...\""
kfmclient openURL /cdrom
fi
Hey, woher haste das schon wieder?
Klingt gut!
Nur eine kleine Frage: Da steht ja, dass er das ganze als iso9660 mountet, wo kann ich nachlesem welches Format mein Zip hat?
Aber ich glaub ich werd das Skript auch gleich mal für mein CD-Laufwerk hernehmen!
Vielen Dank!!!
Das Leben: hasse oder ignoriere es, lieben kannst du es nicht.
Dr. Glastonbury hat geschrieben:Hey, woher haste das schon wieder?
Klingt gut!
Nur eine kleine Frage: Da steht ja, dass er das ganze als iso9660 mountet, wo kann ich nachlesem welches Format mein Zip hat?
Aber ich glaub ich werd das Skript auch gleich mal für mein CD-Laufwerk hernehmen!
Vielen Dank!!!
der Test für zip richtet sich ja nachdem was du auf deine ZIP-Disks packst (vfta, ext2, ext3, reiserfs ..). Ich würde das device des zip-drives testen.