Crap
wouter@country:~$ mount /media/cdrom0; echo $?; mount /media/cdrom0/; echo $?; eject; mount /media/cdrom0/; echo $? 0 mount: /dev/hdc already mounted or /media/cdrom0 busy mount: according to mtab, /dev/hdc is already mounted on /media/cdrom0 32 mount: No medium found 32
I guess I'll have to parse mount's output, then.
RSS
Atom
Add a comment