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.

direct remove usb disk without umount command

Hi Sir,

we work in OMAP 4470 platform.

We want to find solution for "user can remove usb disk directly without select /setting/storage/umount".

After some research we know mount commad with sync flag MAYBE can work.

in vold.fstab.

dev_mount <label> <mount_point> <partition> <sysfs_path> [flags]

BUT flasg only nonremovable/encryptable do not have "sync"

can you give us some information about how to find solution for this issue.

thanks

SAM

 

  • Sam,

    Unlike popular opinion some USB removable storage devices are not handling unexpected unplugging good. 

    I believe you need to "remove" USB storage in any system, no matter if it is PC or embedded. Looking for such feature is just wrong as you endanger user for lose of data and even damaging his storage device.

    Regards,
    Maciej