Try suing the "mount" command that will surely provide you with the desired results.
Thanks, Sandeep. On Thu, Sep 11, 2008 at 12:12 PM, ravikumar <[EMAIL PROTECTED]>wrote: > > Sandeep K Sinha wrote: > > Hi Ravi, > > On Thu, Sep 11, 2008 at 11:43 AM, ravikumar <[EMAIL PROTECTED]>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 > > I think it will give devices present in the system. I need mount point for > my usb storage device. > df command will give the mount point. > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 35740376 24229296 9666244 72% / > /dev/hda1 101086 10879 84988 12% /boot > tmpfs 516940 0 516940 0% /dev/shm > /dev/sda1 31652 13377 18275 43% /media/USB DISK > From above output i knew that my usb-storage device attached to /dev/sda1 > and mounted on /media/USB DISK . > To find out mount using df command i need , to whcih file system my > usb-storage device is attached. > Atleast please tell me how find find to which filesystem my usb-storage > device is attached. > > > You will see an entry for your usb device. > > >> >> Regards, >> Ravikumar. >> >> >> -- >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to [EMAIL PROTECTED] >> Please read the FAQ at http://kernelnewbies.org/FAQ >> >> > > > -- > Regards, > Sandeep. > > > > > > > "To learn is to change. Education is a process that changes the learner." > > > -- Regards, Sandeep. "To learn is to change. Education is a process that changes the learner."