[NTLUG:Discuss] detect disk in cdrom
Zac Brown
zb at rufius.com
Sat Jul 10 08:24:24 CDT 2004
Maybe try to mount the disk? If it doesn't mount, that means there's no
disk in there for it to burn to. Thats the only thing I can think of.
On Sat, 2004-07-10 at 00:18, joseph beasley wrote:
> Is there a way to detect a disk in a cdrom? I'm writing a script to
> backup to my CDRW each night, but I need the script to abort if I
> forget to put a cd in before I leave.
>
> The script is just a shell script using mkisofs and cdrecord.
>
> =====
> Joe Beasley
> CNE, CCNP, MCSE, CCNA, AEIOU....
> PGP/GPG key -- http://home.comcast.net/~joe.beasley/joebeasley.txt
> AOL Messenger joebeasley3rd
> Yahoo Messenger joe_beasley
> MSN Messenger joebeasley3rd
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
--
Zac Brown - Student
Registered Linux User 356244.
Proud *NIX user since Aug. 2000.
More information about the Discuss
mailing list