linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use blkid for getting USB partition name???
@ 2010-05-06  9:45 chinnathambi
  2010-05-06 13:39 ` Karel Zak
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chinnathambi @ 2010-05-06  9:45 UTC (permalink / raw)
  To: linux-hotplug

Hai,
	I have enable hotplug for detecting USB. I am having muti partition
in my USB hard disc. I am trying to recover the parttion name by using
blkid. But I cant get any response. I want to know whether I have to enable
anything in my kernel. Or after executing blkid command where to check for
the output ?

Shown below is how I used blkid.

root:/> hotplug: usb inserted
hotplug: usb inserted
hotplug: usb inserted
hotplug: usb inserted
hotplug: usb inserted

root:/> cat /proc/partitions
major minor  #blocks  name

  31        0        256 mtdblock0
  31        1        384 mtdblock1
  31        2       7552 mtdblock2
  31        3       7680 mtdblock3
  31        4        512 mtdblock4
   8        0  244198584 sda
   8        1          1 sda1
   8        5   33551721 sda5
   8        6   33551721 sda6
   8        7   33551721 sda7
   8        8   33551721 sda8
   8        9   33551721 sda9
   8       10   33551721 sda10
   8       11   33551721 sda11
   8       12    9325701 sda12
root:/> blkid /dev/sda5
root:/> blkid -c -o /dev/sda5
root:/>

Please clarify me how to use this command blkid?

Regards,
Chinnathambi M
 



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-08 12:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06  9:45 How to use blkid for getting USB partition name??? chinnathambi
2010-05-06 13:39 ` Karel Zak
2010-05-07  4:36 ` chinnathambi
2010-05-11  4:47 ` chinnathambi
2010-05-14 15:01 ` chinnathambi
2010-07-08  5:07 ` chinnathambi
2010-07-08 10:08 ` 'Karel Zak'
2010-07-08 12:18 ` chinnathambi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).