When I put a DVD into the DVD drive, it appears in Nautilus Places, but is not automatically mounted. (this is by personal choice).
In this unmounted state, mount (of course) reports nothing, and likewise for df..
but Nautilus is aware of the DVD hardware unit and has read the Label; which it shows in Places
So it seems to me that Nautilus has already accessed the DVD devices (Did it temporarily mount it?)...
The main point of my question was to determine how to find the device Id of an unmounted device .. but as I've been writing this, I now think it may not be as simple as that...
This issue came up because I wanted to test this command
cat iso-pieces.* | growisofs -Z /dev/dvd=/dev/stdin,
but then realized that I didn't know how to get my DVD's device Id.
... and does the above command requires a mounted device, or does it write directly to the device? ... as you can see, I'm a bit vague about devices :)
Come to think of it maybe Nautalus read the DVD device directly, because when all is said and done, something has to read/write directly to it.
info growisofs says:
Under Linux it will most likely be an ide-scsi device such as "/dev/scd0
How can I find this Id via a script?
mountanddfas/dev/sr0this is what I mean by the device Id. By device Id, I meant/dev/sr0(which is what mine is).. and maybe "address" is a better word.. I didn't realize that /dev/dvd was a symlink, because when I looked for it, it didn't show up withlocateorNautilus Search, sudo or otherwise (maybe that's because it is a symlink).. I see now.. /dev/dvd and /dev/dvd1 for my second DVD drive. Problem solved (make an answer and I'll accept it).. readlink found them – Peter.O Feb 16 '11 at 11:15