How can find out the device Id of my unmounted DVD?
Posted
by
fred.bear
on Ask Ubuntu
See other posts from Ask Ubuntu
or by fred.bear
Published on 2011-02-16T02:25:29Z
Indexed on
2011/02/16
7:33 UTC
Read the original article
Hit count: 234
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?
© Ask Ubuntu or respective owner