I guess there are appropriate messages in /var/log/messages when you insert your USB drive.
tail -n 20 /var/log/message should give you the mount point;for example sda or sdb. Reading this file may be a good idea.
Regards
Mayur
tail -n 20 /var/log/message should give you the mount point;for example sda or sdb. Reading this file may be a good idea.
Regards
Mayur
On Thu, Sep 11, 2008 at 11:57 AM, Sandeep K Sinha <sandeepksinha@xxxxxxxxx> wrote:
Hi Ravi,On Thu, Sep 11, 2008 at 11:43 AM, ravikumar <ravikumar.vallabhu@xxxxxxxxx> wrote:
How to find out where is my usb storage device mounted on,I need to find out using some program.
I knew ,usb devices will usually mount on some directory on root file system with some directory name.
But need to identify it using some program.
try doing a cat /proc/devices
You will see an entry for your usb device.
Regards,
Ravikumar.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
Regards,
Sandeep.
"To learn is to change. Education is a process that changes the learner."