• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Skript für Ziplaufwerk

oc2pus

Ultimate Guru
noch eine ganz andere Lösung für dein Problem:
http://www.desktop-linux.net/ezmount.htm
Musst du nur anpassen für deinen zip-drive :)

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

2) make it executable
chmod +x ezcdmnt

3) create a desktop icon for calling this script
 
OP
Dr. Glastonbury

Dr. Glastonbury

Advanced Hacker
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!!!
 

oc2pus

Ultimate Guru
Dr. Glastonbury schrieb:
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.
 
Oben