Comment 10 for bug 897176

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote : Re: [Bug 897176] Re: SD card not accessible(checked via Gallery app)

On Mon, 2011-12-19 at 10:50 +0000, Botao Sun wrote:
> For iMX53 11.12 final RC: https://android-build.linaro.org/builds
> /~linaro-android/staging-imx53-11.12-release/#build=7
>
> I can enter the "/sdcard" directory, and even can create a file there.
> But I can't test this because there is totally no display out. My
> monitor always shows "no signal" after I connected it to the iMX53 board
> with the VGA cable.
>
> Use busybox vi test.txt to ceate a file named test.txt:
>
> root@android:/sdcard # pwd
> /sdcard
> root@android:/sdcard # ls -l
> -rw-rw-rw- root log 1 1970-01-04 11:34 test.txt
> root@android:/sdcard #
>

Just creating a file might succeed even if the card isn't mounted, you
would just be writing a file to the directory where the mount should be.

A better test to see if sdcard is mounted is with the "df" command and
see if a filesystem on /mnt/sdcard is listed.

--
Tixy