burner read script

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Michael Havens
Datum:  
To: plug-discuss
Betreff: burner read script


I figured out how to read from my burner. Somebody decided to name it /dev/hdd
(which to me says /dev/HardDriveD) instead of something like /dev/cd0. Oh
well. Anyways I am writing a script for it and need some advise: could I write
the script so that if I click the icon once it will mount the drive but if the
drive is already mounted and I click the icon it will umount the drive?
What I have so far allows me to mount the drive and list the contents with
konqueror:

    [Desktop Entry]
    Encoding=UTF-8
    Exec=sudo mount -t iso9660 /dev/hdd /mnt/burner;konqueror file:/mnt/burner
    Icon=cdwriter_mount.xpm
    Name[en_US]=Burner.Reader
    Type=Application



--
<:-)Mike(-:>






This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spam or viruses.
Please report spam to . If you would like 98.9 % spam blocked from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE with every account.


http://www.vei.net/

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss