Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #168005
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Something never understood: see USB storage in CLI & mc |
| Date | 2016-05-18 13:50 +0200 |
| Message-ID | <rA89b-1Ai-7@gated-at.bofh.it> (permalink) |
| References | <rA67n-eQ-7@gated-at.bofh.it> <rA6h3-ix-13@gated-at.bofh.it> <rA7Ga-1nu-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 18 May 2016 at 12:14:00 +0100, Ron Leach wrote: > On 18/05/2016 10:40, Felix Miata wrote: > >Ron Leach composed on 2016-05-18 10:30 (UTC+0100): > >>I'd be grateful for any advice on where to find the physical device to > >>use in a mount command. > > > ># lsscsi > >... > >[9:0:0:0] disk FLASH Drive SM_USB20 1100 /dev/sdg... > > > ># blkid /dev/sdg > > > ># mount -t auto (or the type reported by blkid) > > Felix, thank you for the (very) prompt reply. It didn't quite work, for me. > > wheezy2:/home/ron# lsscsi > bash: lsscsi: command not found > wheezy2:/home/ron# lsusb > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 004: ID 0781:a7c1 SanDisk Corp. > > As you see, lsscsi does not seem to exist on his machine. One alternative > I've used in other usb contexts, lsusb, sees the device, but without a > /dev/sd... > > Another reply suggested using dmesg output, which I'll try now - and reply > to in a moment. You have to install lsscsi to use it. However, what is on every Debian system is the utils-linux package and it has lsblk. At its simplest: brian@desktop:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 16.8G 0 part / ├─sda2 8:2 0 5.6G 0 part /var ├─sda3 8:3 0 1.9G 0 part [SWAP] └─sda4 8:4 0 124.9G 0 part /home sdb 8:16 1 964M 0 disk ├─sdb1 8:17 1 315M 0 part └─sdb2 8:18 1 320K 0 part sr0 11:0 1 1024M 0 rom sr1 11:1 1 466.7M 0 rom Or: brian@desktop:~$ lsblk -S NAME HCTL TYPE VENDOR MODEL REV TRAN sda 0:0:0:0 disk ATA SAMSUNG HD160JJ 0-33 sata sdb 47:0:0:0 disk PEAK III Flash Drive 0.00 usb sr0 3:0:0:0 rom MATSHITA CD-ROM CR-587 7S13 ata sr1 4:0:0:0 rom PIONEER DVD-RW DVR-110 1.22 ata
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Something never understood: see USB storage in CLI & mc Ron Leach <ronleach@tesco.net> - 2016-05-18 11:40 +0200
Re: Something never understood: see USB storage in CLI & mc <tomas@tuxteam.de> - 2016-05-18 11:50 +0200
Re: Something never understood: see USB storage in CLI & mc Felix Miata <mrmazda@earthlink.net> - 2016-05-18 11:50 +0200
Re: Something never understood: see USB storage in CLI & mc Ron Leach <ronleach@tesco.net> - 2016-05-18 13:20 +0200
Re: Something never understood: see USB storage in CLI & mc Lisi Reisz <lisi.reisz@gmail.com> - 2016-05-18 13:30 +0200
Re: Something never understood: see USB storage in CLI & mc Brian <ad44@cityscape.co.uk> - 2016-05-18 13:50 +0200
Re: Something never understood: see USB storage in CLI & mc Brian <ad44@cityscape.co.uk> - 2016-05-18 14:00 +0200
Re: Something never understood: see USB storage in CLI & mc "Martin McCormick" <martin.m@suddenlink.net> - 2016-05-18 14:30 +0200
Re: Something never understood: see USB storage in CLI & mc Felix Miata <mrmazda@earthlink.net> - 2016-05-18 15:00 +0200
Re: Something never understood: see USB storage in CLI & mc Gene Heskett <gheskett@shentel.net> - 2016-05-18 15:40 +0200
Re: Something never understood: see USB storage in CLI & mc Dominique Dumont <dod@debian.org> - 2016-05-18 12:00 +0200
Re: Something never understood: see USB storage in CLI & mc Jonas Hedman <jonas.hedman@fripost.org> - 2016-05-18 12:00 +0200
Re: Something never understood: see USB storage in CLI & mc Jude DaShiell <jdashiel@panix.com> - 2016-05-18 14:00 +0200
Re: Something never understood: see USB storage in CLI & mc Gene Heskett <gheskett@shentel.net> - 2016-05-18 15:40 +0200
Re: Something never understood: see USB storage in CLI & mc Brian <ad44@cityscape.co.uk> - 2016-05-18 18:30 +0200
Re: Something never understood: see USB storage in CLI & mc Ron Leach <ronleach@tesco.net> - 2016-05-18 20:20 +0200
Re: Something never understood: see USB storage in CLI & mc Jonas Hedman <jonas.hedman@fripost.org> - 2016-05-18 21:10 +0200
csiph-web