From mboxrd@z Thu Jan 1 00:00:00 1970 From: "'Karel Zak'" Date: Thu, 08 Jul 2010 10:08:34 +0000 Subject: Re: How to use blkid for getting USB partition name??? Message-Id: <20100708100834.GA15652@nb.net.home> List-Id: References: <20100506093216.D2E411F105E@zimbra.jasmin-infotech.com> In-Reply-To: <20100506093216.D2E411F105E@zimbra.jasmin-infotech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jul 08, 2010 at 10:25:34AM +0530, chinnathambi wrote: > root:/> blkid -p -o udev /dev/sda5 > root:/> BLKID_DEBUG=0xffff blkid -p -o udev /dev/sda5 > root:/> > root:/> > > I need to extract the USB name. But I cant get it. I don > know whether I am doing anything wrong in the basic level. So please clarify > in this regard. What do you mean with "USB name"? The blkid command returns details about filesystems. Karel -- Karel Zak http://karelzak.blogspot.com