N
N
nano_e_t_42016-02-23 16:35:08
Debian
nano_e_t_4, 2016-02-23 16:35:08

How to determine media type (hdd/usb/cd/dvd/dvd-ram/hd dvd/blue ray/ssd)?

Hello everyone
How to determine the media type (hdd/usb/cd/dvd/dvd-ram/hd dvd/blue ray)?
Google suggested options, but something is not right
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Al, 2016-03-04
@palkokrut

No specifics. Why and where do you need to define the media type?
partly by device name - hard drives and flash drives will be called sdX; cdrom usually / dev / sr0
to distinguish cd from dvd and other things, it seems to me that you can only mount sr0 and look at the size, file system type

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question