This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm355 umount question

condition:use the dm355 development  board

#mount -t vfat /dev/sda1 /mnt/hda

# cd /mnt/hda            
# ls -l      
drwxr--r--   15 root     root        32768 Nov  7  2008 ???2008-07Directory bread(bloc                        
ptyab        ptyqc 
drwxr--r--   15 root     root        32768 Aug 26  2008 ???2008-08-26z1                                                                  
drwxr--r--    2 root     root        32768 Sep  2  200                                                    
ne
-rwxr--r--    1 root     root         1250 Nov 11  2008 VMware Workstation.lnk                                                                             
drwxr--r--   10 root     root        32768 Oct  7  2008 ZLG ARM???????????  ttyt4        ttyz5 device using musb_hdrc and address 9f network failed
drwxr--r--    2 root     root        32768 Oct  7  2008 arm&linux????                                                   
ptybf        pty
drwxr--r--    2 root     root        32768 Nov 12  2008 dm355????                                                              
drwxr--r--    2 root     root        32768 Oct 31  2008 redhat   ttyz8                                                     
drwxr--r--   21 root     root        32768 Mar 20  2007 software99872 512-byte hdwr u                                       
At
drwxr--r--    5 root     root        32768 Oct 22  2008 ti        ttyu0       

#umount  /mnt/hda 

umount: /mnt/hda: Device or resource busy

# fuser -m -v -i -k /mnt/hda

-sh: fuser: not found

question :

I use command:# fuser -m -v -i -k /mnt/hda.   why  can i not  umount   Device ?

how to umount  /mnt/hda?

 

tanglaibao

 

 

 

 

  • what type of device are you trying to mount?  Based on the log, my best guess would be a serial port USB device, in which case mount does not make much sense.  If you can confirm what type of device you are trying to mount, we can perhaps offer better advice.

  • Based on the log you are trying to umount a directory that your shell is still currently accessing, i.e. you are still in the /mnt/hda directory when you are trying to call the umount command, if you go up a directory (cd ..) you should be able to umount properly.

    As to fuser it looks like it is not finding the command, it exists on my DM355 EVM so perhaps you are not using the standard Monta Vista distribution?

    EDIT: FYI the image you posted is not coming through, looking at the link it is linking to your HDD, unfortunately this forum software will not automatically store images for you, so the image needs to be posted somewhere on the internet (such as your forum profile or an image hosting service) and linked into the post.

  • hi
       dm355 board mount u device and hdd device by a hub port .
     

    #umount  /mnt/hda 

    umount: /mnt/hda: Device or resource busy

  • it appears umount command failed; this is likely due to some application having a hanlde to this device open (e.g. open called without corresponding close, possibly due to ctrl-c...)