Where do the optical drive files show in the directory tree?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Where do the optical drive files show in the directory tree?

Post by Netherprovinc3 »

Linux Mint 19.3 xfce

I am trying to create a .iso file using the files that are on my DVD drive. The DVD drive is external, connected through USB.

I am trying to follow these instructions but the instructions seem to be a little outdated or maybe are for a non-Debian based distro.
https://www.cyberciti.biz/tips/linux-cr ... image.html

Using the GUI, I did not see anything in
/dev/
even when the disc in the drive was mounted.

I do see
/cdrom/
but there is nothing in there

I unmounted the disc using disks (a GUI program).

I don't know what directory I should use for "if" (input file) in the command

Code: Select all

sudo dd if=/dev/cdrom of=/tmp/cdimg1.iso
Linux Mint 19.1 Cinnamon unless otherwise noted.

decrepit
Level 4
Level 4
Posts: 296
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: Where do the optical drive files show in the directory tree?

Post by decrepit »

That looks like a generic linux instruction, different flavours do stuff differently so don't take it for granted that anything there applies to XFCE

Do you have GUI file browser? When mounted the DVD should show up in that, you should be able to check it's mount point in the "location" space at the top of the browser.
With my system a USB device is auto mounted in /media/mike/
I think an external USB drive, should be in /dev/usb
worth a look

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Where do the optical drive files show in the directory tree?

Post by Netherprovinc3 »

decrepit wrote:
Thu Mar 26, 2020 11:01 pm
That looks like a generic linux instruction, different flavours do stuff differently so don't take it for granted that anything there applies to XFCE

Do you have GUI file browser? When mounted the DVD should show up in that, you should be able to check it's mount point in the "location" space at the top of the browser.
With my system a USB device is auto mounted in /media/mike/
I think an external USB drive, should be in /dev/usb
worth a look
I see it in
/media/netherprovinc3
However, when I unmount the drive, it disappears from there.

It's not in
/dev/usb
I checked when it was mounted and once I unmounted it.
There was no such folder showing at all.
Linux Mint 19.1 Cinnamon unless otherwise noted.

decrepit
Level 4
Level 4
Posts: 296
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: Where do the optical drive files show in the directory tree?

Post by decrepit »

With it plugged in but not mounted, try

Code: Select all

lsusb
That will show if it's in there or not. If it automounts, I'm assuming it must be in /dev somewhere.

Well that's weird my laptop has /dev/usb but my desktop doesn't, and they are both 19.3 mate.
I'll see if I can find where usb is.

OK so in this desktop it's in /dev/bus/usb. but I'm not convinced this going to help you as if I mount or unmount a usb stick it shows up in there as a "0 bytes character device"

decrepit
Level 4
Level 4
Posts: 296
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: Where do the optical drive files show in the directory tree?

Post by decrepit »

May be I've found the discrepancy, this desktop has virtual box, the laptop doesn't.
With an unmounted USB memory stick inserted, this desktop has /dev/vboxusb/001/004

And lsusb comes up with this.

Code: Select all

decrep@PCSSD:~$ lsusb
Bus 002 Device 006: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 002 Device 005: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 002 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 003: ID 046d:0802 Logitech, Inc. Webcam C200
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0930:1400 Toshiba Corp. Memory Stick 2GB
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So the memory stick is Bus 001 device 004

If this doesn't help, I'm completely out of my depth, we'll need a real expert to step in.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Where do the optical drive files show in the directory tree?

Post by Netherprovinc3 »

When I unmount the USB DVD drive, and run

Code: Select all

lsusb
, here are some of the things that I see, which I am not certain about:

Intel Corp Integrated Rate matching hub
Linux foundation 2.0 root hub
Genesis Logic Inc Sata Adapter
Linux Foundation 2.0 Root HUB
Linux Foundation 3.0 Root HUB

I think maybe the DVD drive is the Genesis Logic Inc Sata Adapter. This is because the external USB is connected using a USB to sata adapter (because the drive is actually an internal DVD drive).

I also did get an error today when I was booting the computer. I was not able to catch the exact error message as I didn't act fast enough to write it down.

In /dev/bus/usb
I see folders 001, 002, 003, and 004. In those folders, there just seems to be text files.
Linux Mint 19.1 Cinnamon unless otherwise noted.

decrepit
Level 4
Level 4
Posts: 296
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: Where do the optical drive files show in the directory tree?

Post by decrepit »

well you can make sure of that assumption by unplugging it and then see what you get.
I think you'll be better off starting a new thread, asking how to do what you want to do with you're internal/external usb/sata drive.
The current title doesn't really describe your problem. That way you may get somebody that knows how to do it.

Netherprovinc3
Level 4
Level 4
Posts: 298
Joined: Mon Feb 04, 2019 9:29 pm

Re: Where do the optical drive files show in the directory tree?

Post by Netherprovinc3 »

decrepit wrote:
Sat Mar 28, 2020 9:58 am
well you can make sure of that assumption by unplugging it and then see what you get.
I think you'll be better off starting a new thread, asking how to do what you want to do with you're internal/external usb/sata drive.
The current title doesn't really describe your problem. That way you may get somebody that knows how to do it.
Ok. Thank you for the suggestion. I think that I will do just that. But first I am trying to finish up with another problem that I was working on on the computer (unrelated to this question). Once that problem is finished then I can focus on the "project" that inspired this thread (and I will be able to implement the suggestions without impediments).
Linux Mint 19.1 Cinnamon unless otherwise noted.

Post Reply

Return to “Newbie Questions”