Hats,
I have made a little change in
ls -1d mmcblk* >> /tmp/mountables
to
ls -1d mmcblk?p* >> /tmp/mountables
so in the mount tool there is only mmcblk0p1, and not both mmcblk0 and mmcblk0p1
like there is sda1, and not sda1 and sda
Curaga,
this is the result of cat /proc/partitions:
major minor #blocks name
7 0 3924 loop0
7 1 26848 loop1
7 2 108 loop2
7 3 1022 loop3
7 4 532 loop4
7 5 68 loop5
7 6 372 loop6
7 7 112 loop7
22 0 7880544 hdc
22 1 6827593 hdc1
22 2 1052257 hdc2
8 0 1024000 sda
8 1 1020096 sda1
7 8 668 loop8
7 9 600 loop9
7 10 772 loop10
7 11 3384 loop11
7 12 120 loop12
7 13 584 loop13
7 14 1032 loop14
7 15 714 loop15
7 16 1382 loop16
7 17 444 loop17
179 0 15694336 mmcblk0
179 1 15690240 mmcblk0p1
Roberts,
When I see the mount tool before exec monta.sh there are two drives: hdc1 and sda1
if I put a new usb-pendrive, in a few moments appear in the mount tool: hdc1, sda1 and sdb1, but is not incorporated the mmcblk. Only when I exec the monta.sh it appears.