Re: How to find my usb storage device mount point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 12, 2008 at 12:33:18PM +0530, ravikumar wrote:
> My question is how can i get the mount point. I can get using df  
> command, for that i need device file to which my storage device atatched.

 Use filesystem LABELs, "mount -l" returns mountpoints and labels, for
 example (look up label ABCD):

 # mount -l | gawk '/\[ABCD\]/ { print $3 }'
 /mnt/test

   Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux