You are not logged in.

#1 2009-03-30 18:02:23

wench
Member
From: Newcastle
Registered: 2009-02-28
Posts: 11
Website

Locating & Mounting a USB stick from the CLI

Hi all, apologies for the newb question, but how would I go about locating my USB stick from the command line. My wireless drivers are on it, and as such need to get access to it pretty sharpish... I'm happy with how to mount it manually once I've located it, etc..

Cheers in advance..

/Ed


Arch64/Xmonad | @mo6020 on Identica

Offline

#2 2009-03-30 18:16:23

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Locating & Mounting a USB stick from the CLI

ls /dev/sd*, insert drive, wait a while and ls /dev/sd* again, and more than likely, that new sd* device that showed up is your flash drive.

Last edited by Wintervenom (2009-08-03 14:39:07)

Offline

#3 2009-03-30 18:17:31

wench
Member
From: Newcastle
Registered: 2009-02-28
Posts: 11
Website

Re: Locating & Mounting a USB stick from the CLI

Sweet, thanks very much.


Arch64/Xmonad | @mo6020 on Identica

Offline

#4 2009-03-30 18:21:46

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Locating & Mounting a USB stick from the CLI

Another way to do this is to

$ watch dmesg

then plug in the usb drive.  The device name should show up soon after plugging the device in.

Last edited by rson451 (2009-03-30 18:22:12)


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2009-03-30 18:32:03

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Locating & Mounting a USB stick from the CLI

- and yet another way ...
dmesg|tail

Offline

#6 2009-03-30 19:19:11

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Locating & Mounting a USB stick from the CLI

yet another way :
plug in the drive and then issue

 fdisk -l

given without sudo, will list drives not owned by root (mostly external). Give it with sudo and it will list both(internal and external).

Last edited by Inxsible (2009-03-30 19:20:23)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2009-03-30 19:50:52

wench
Member
From: Newcastle
Registered: 2009-02-28
Posts: 11
Website

Re: Locating & Mounting a USB stick from the CLI

Awesome, thanks very much guys.


Arch64/Xmonad | @mo6020 on Identica

Offline

Board footer

Powered by FluxBB