SD-Card mounted and accesible, but not listet as mountpoint
Moderators: Hacker, petermad, Stefan2, white
SD-Card mounted and accesible, but not listet as mountpoint
Hi,
i have a strange issue with an external sd-card. as i need some screenshots to display, i'll do a second post here tomorrow. (restrictions for new users ...)
i have a strange issue with an external sd-card. as i need some screenshots to display, i'll do a second post here tomorrow. (restrictions for new users ...)
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately there is no function on Android to find external SD-Cards. TC therefore looks in the following two files:
/system/etc/vold.fstab
/proc/mounts
Only mount points listed in BOTH files will be listed on the TC home screen. However, you can still go to a folder manually if it is mounted in a different way. For example, the tool "Stickmount" does not use the normal Linux mount method, so it's not possible to find out programmatically where the mount points are.
In your case, the sd-card is either not listed in the above two files, or the format of one of the files have changed. Could you post the content of these two files here in the forum, please?
/system/etc/vold.fstab
/proc/mounts
Only mount points listed in BOTH files will be listed on the TC home screen. However, you can still go to a folder manually if it is mounted in a different way. For example, the tool "Stickmount" does not use the normal Linux mount method, so it's not possible to find out programmatically where the mount points are.
In your case, the sd-card is either not listed in the above two files, or the format of one of the files have changed. Could you post the content of these two files here in the forum, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm trying to find a solution, but there is no other official way to find the active mount points than to look in these two files. 
One user told me that the file is now named fstab.smdk4210 and located in the root "/" of the file system. Could you please check whether it is there on your system? I cannot find any information about this change in Cyanogenmod. My Nexus 7 with stock Android 4.3 does not have this problem.

One user told me that the file is now named fstab.smdk4210 and located in the root "/" of the file system. Could you please check whether it is there on your system? I cannot find any information about this change in Cyanogenmod. My Nexus 7 with stock Android 4.3 does not have this problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi,
I am using Total Commander on a CM 10.2 Galaxy S3 device.
I am having a fstab.smdk4x12 file in root folder.
I pasted content of that file and mounts file on pastebin.
mounts
http://pastebin.com/BcuTCgUk
fstab.smdk4x12
http://pastebin.com/JgRPN86n
If you need any other file or need me to test anything I am here
I am using Total Commander on a CM 10.2 Galaxy S3 device.
I am having a fstab.smdk4x12 file in root folder.
I pasted content of that file and mounts file on pastebin.
mounts
http://pastebin.com/BcuTCgUk
fstab.smdk4x12
http://pastebin.com/JgRPN86n
If you need any other file or need me to test anything I am here

- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, please try beta 2:
http://ghisler.ch/board/viewtopic.php?t=37745
I'm now getting the external SD-Cards from /proc/mounts alone when no /system/etc/vold.fstab is found. The fstab.smdk4x12 file is unfortunately not word-readable.
Please test it! It's possible that on some devices the cards will not be found, while on others TC will show cards which are actually internal file systems. Please let me know here or by e-mail (support at ghisler dot com) IMMEDIATELY if you have one of these problems. Please report the exact path of the external SD-Card.
http://ghisler.ch/board/viewtopic.php?t=37745
I'm now getting the external SD-Cards from /proc/mounts alone when no /system/etc/vold.fstab is found. The fstab.smdk4x12 file is unfortunately not word-readable.
Please test it! It's possible that on some devices the cards will not be found, while on others TC will show cards which are actually internal file systems. Please let me know here or by e-mail (support at ghisler dot com) IMMEDIATELY if you have one of these problems. Please report the exact path of the external SD-Card.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Nice to hear that! Let's see how it works for other users.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I have the same issue. I can see both internal and external memories only if the internal memory is set as the default one. but if I choose sd-card as the default memory I can't see the internal memory, only sd-card is listed
in framework-res.apk I have two files with mountpoints: storage_list.xml and storage_list_sdcard_is_default.xml
storage_list.xml
storage_list_sdcard_is_default.xml
in framework-res.apk I have two files with mountpoints: storage_list.xml and storage_list_sdcard_is_default.xml
storage_list.xml
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/mnt/sdcard" android:storageDescription="@string/storage_internal" android:primary="true" android:removable="false" android:emulated="true" />
<storage android:mountPoint="/mnt/sdcard2" android:storageDescription="@string/storage_sd_card" android:primary="false" android:removable="true" android:emulated="false" />
<storage android:mountPoint="/mnt/usb" android:storageDescription="@string/storage_usb" android:primary="false" android:removable="true" android:emulated="false" />
</StorageList>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/mnt/sdcard" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:emulated="false" />
<storage android:mountPoint="/mnt/sdcard2" android:storageDescription="@string/storage_internal" android:primary="false" android:removable="false" android:emulated="true" />
<storage android:mountPoint="/mnt/usb" android:storageDescription="@string/storage_usb" android:primary="false" android:removable="true" android:emulated="false" />
</StorageList>
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Could you post your /proc/mounts file while the internal is not the default one, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Code: Select all
rootfs / rootfs ro,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,noatime,mode=755 0 0
devpts /dev/pts devpts rw,noatime,mode=600 0 0
proc /proc proc rw,noatime 0 0
sysfs /sys sysfs rw,noatime 0 0
none /acct cgroup rw,noatime,freezer,cpuacct,cpu 0 0
tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p21 /persist ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p15 /cust ext4 ro,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p20 /system ext4 ro,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p23 /tmpdata ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p22 /cache ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p27 /data ext4 rw,nosuid,nodev,noatime,user_xattr,acl,commit=15,barrier=1,nodelalloc,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p24 /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/sdcard2 fuse rw,nosuid,nodev,noexec,relatime,user_id=1000,group_id=1015,default_permissions,allow_other 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:97 /mnt/sdcard vfat rw,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /mnt/secure/asec vfat rw,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem seems to be the /dev/fuse device - TC currently only looks for:
/dev/block/vold/*
/dev/block/mmcblk*
/dev/block/sd*
I will include /dev/fuse in the search.
/dev/block/vold/*
/dev/block/mmcblk*
/dev/block/sd*
I will include /dev/fuse in the search.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com