USB disk automount not working!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB disk automount not working!

2,919 Views
Swamy
Contributor III

Hi,

I am using IMX53 QSB. When I insert the USB drive to the Target board it will mount into /dev/sdx, and I need to manually mount, using #mount /dev/sdb /mnt/usb.

Is it possible to detect the usb drive automatically whenever I connect the drive and unmount whenever it is removed.

Please suggest how to do it.

I tried adding following command to /etc/fstab, but now working

/dev/sdb            /mnt/usb       ext3    defaults          0       0

Please suggest.

Regards,

Swamy

Labels (1)
0 Kudos
8 Replies

1,644 Views
admin
Specialist II

I am hesitant to re-build LTIB at this time..  But since my target board boots as root user, could I just use 'mount' and 'umount' instead of 'pmount' and 'pumount'?

0 Kudos

1,644 Views
KrishnaPavan
Contributor II

Hi Jason,

Have you checked your packages in the ./ltib -c.

You can install any supporting package WRT mount.

Regards :: Krishna Pavan

0 Kudos

1,644 Views
admin
Specialist II

I am trying to auto mount USB stick upon insertion.

I tried following the steps given in the link, but I do not have pmount or pumount anywhere in my rootfs.

Any ideas?

0 Kudos

1,644 Views
KrishnaPavan
Contributor II

Hi, You should include those rules initially at configuration stage, only then it works!

Regards  Krishna Pavan

0 Kudos

1,644 Views
Swamy
Contributor III

It is Linux

0 Kudos

1,644 Views
SrikanthKotagir
Contributor I

Hi Swamy,

 

  What os are you using? Linux or Android?

0 Kudos

1,644 Views
Swamy
Contributor III

Thanks for the link..

I tried but it is not working...As I insert the USB, it fails to recognize the device.

Any suggestion?

0 Kudos

1,644 Views
KrishnaPavan
Contributor II

Hi

External Link  Here  should get some solution.


Regards  ::  Krishna Pavan

0 Kudos