WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to find device path for USB  (Read 3370 times)

Offline enoch

  • Full Member
  • ***
  • Posts: 122
how to find device path for USB
« on: October 02, 2009, 12:37:21 PM »
I would like to access / mount my USB drive, how do I find the path or command?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to find device path for USB
« Reply #1 on: October 02, 2009, 12:40:10 PM »
Plug in the USB drive.
Go to a root shell.
look in /mnt for the partition - EX: sda1
mount the partition - EX: mount /mnt/sda1

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: how to find device path for USB
« Reply #2 on: October 02, 2009, 01:56:58 PM »
We have a GUI tool. Control Panel -> Mount Tool
Clicking top button cycles through devices, clicking bottom button will change status mount/unmount.
10+ Years Contributing to Linux Open Source Projects.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to find device path for USB
« Reply #3 on: October 02, 2009, 08:46:05 PM »
Well, I am a command line guy, so sometimes I forget.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: how to find device path for USB
« Reply #4 on: October 02, 2009, 08:52:20 PM »
That's cool. But some are not ! We try to please both.
10+ Years Contributing to Linux Open Source Projects.

Offline enoch

  • Full Member
  • ***
  • Posts: 122
Re: how to find device path for USB
« Reply #5 on: October 03, 2009, 07:29:30 AM »
Thanks the mount tool worked,  /mnt gave Permission Denied even at root.

Offline 3rail

  • Full Member
  • ***
  • Posts: 113
Re: how to find device path for USB
« Reply #6 on: October 03, 2009, 11:27:03 PM »
I find that after inserting my usb stick

Code: [Select]
sudo fdisk -l
usually helps me find what I'm looking for

hth

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12060
Re: how to find device path for USB
« Reply #7 on: October 03, 2009, 11:35:43 PM »
..or:
Code: [Select]
$ dmesg | tail -20