"Hoai Nguyen" <[EMAIL PROTECTED]> writes: > <html><div style='background-color:'><DIV>Do you know any java API > for linux that handles mount and umount cdrom.</DIV>
Please set your mailer to send in plain text only, no HTML, and wrap lines at 72 columns... ...but if I needed to do this, I'd use Runtime.exec() to shell out to the normal Unix 'mount' and 'umount' commands. Which is starting to require special permissions (either root permissions or 'user' mount permission on the device in /etc/fstab), and you need to know the path anyways. What are you really doing, and why are you doing it in Java? -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]