I am trying to write any file to usb (/mnt/udisk) on sabresd board
When dettaching usb memory stick.................
in init.rc
mkdir /mnt/udisk 0777 system system -> drwxrwxrwx system system 1970-01-02 20:49 udisk
symlink /mnt/udisk /udisk
root@sabresd_6dq:/mnt # ls -al
drwxr-xr-x root system 1970-01-02 20:49 asec
d--------- system system 1970-01-02 20:49 extsd
drwxr-xr-x root system 1970-01-02 20:49 obb
lrwxrwxrwx root root 1970-01-02 20:49 sdcard -> /storage/emulated/legacy
drwx------ root root 1970-01-02 20:49 secure
drwx------ shell shell 1970-01-02 20:49 shell
drwxrwxr-x system graphics 1970-01-02 20:49 shm
drwxrwxrwx system system 1970-01-02 20:49 udisk
When attaching usb memory stick.................
in fstab.freescale
/devices/platform/fsl-ehci /mnt/udisk vfat defaults voldmanaged=sdcard:auto
root@sabresd_6dq:/mnt # ls -al
drwxr-xr-x root system 1970-01-02 20:49 asec
d--------- system system 1970-01-02 20:49 extsd
drwxr-xr-x root system 1970-01-02 20:49 obb
lrwxrwxrwx root root 1970-01-02 20:49 sdcard -> /storage/emulated/legacy
drwx------ root root 1970-01-02 20:49 secure
drwx------ shell shell 1970-01-02 20:49 shell
drwxrwxr-x system graphics 1970-01-02 20:49 shm
d---rwxr-x system media_rw 1970-01-01 00:00 udisk
Which file do i modify to add +w at udisk permission?
Thank you in advance...
Hello,
As I understand the problem is automounting of an USB device, when inserted.
The following may be helpful.
http://linuxconfig.org/automatically-mount-usb-external-drive-with-autofs
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------