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 <[email protected]>
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ