WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: detection usb disk disks by label  (Read 1641 times)

Offline neorej

  • Newbie
  • *
  • Posts: 16
detection usb disk disks by label
« on: September 09, 2009, 06:03:49 AM »
Hi,

i want to find a way to mount a usb disk by looking to the disklabel.
So i have a usb disk with a disklabel set to "USBDISK".
Now i want to somehow search for that disk label, en find out with sdX device that is, without mounting it.
On My fedora 11 laptop i can look into /dev/disk/by-label
Unfortunately this is not available om tc2.2.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: detection usb disk disks by label
« Reply #1 on: September 09, 2009, 10:39:05 AM »
blkid | grep USBDISK
10+ Years Contributing to Linux Open Source Projects.

Offline neorej

  • Newbie
  • *
  • Posts: 16
Re: detection usb disk disks by label
« Reply #2 on: September 10, 2009, 01:57:12 AM »
Thank you very very much!!!!