L
linuxnutzer
Enthusiast
- 177
Kann man mit ES Datei Explorer (v4.0.2.3) unter Android: 4.1.2 mit Root-Rechten einen symbolischen Link erzeugen?
u0_a171@unknown:/storage $ ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 18:03 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
Ich hätte da also gerne einen Link zu external_SD, der sich sdcard1 nennt?
So hat es nicht funktioniert:
Mit anderen Worten, nach einem Reboot war der Link weg.
u0_a171@unknown:/storage $ ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 18:03 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
$ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatime,errors=continue,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nosuid,nodev,noatime,resuid=1000,errors=continue,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAL /cal ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/MLT /mpt ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/DRM /persist-lg ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:49 /storage/external_SD vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatime,errors=continue,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nosuid,nodev,noatime,resuid=1000,errors=continue,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAL /cal ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/MLT /mpt ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/DRM /persist-lg ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:49 /storage/external_SD vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Ich hätte da also gerne einen Link zu external_SD, der sich sdcard1 nennt?
So hat es nicht funktioniert:
u0_a171@unknown:/storage # mount -o rw,remount rootfs /
u0_a171@unknown:/storage # ln -s external_SD/ sdcard1
u0_a171@unknown:/storage # ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:23 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
lrwxrwxrwx 1 root root 12 Sep 27 20:23 sdcard1 -> external_SD/
u0_a171@unknown:/storage # mount -o ro,remount rootfs /
u0_a171@unknown:/storage # ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:23 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
lrwxrwxrwx 1 root root 12 Sep 27 20:23 sdcard1 -> external_SD/
u0_a171@unknown:/storage # reboot
u0_a171@unknown:/storage $ ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:25 .
drwxr-xr-x 18 root root 0 Sep 27 20:25 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 20:27 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
u0_a171@unknown:/storage # ln -s external_SD/ sdcard1
u0_a171@unknown:/storage # ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:23 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
lrwxrwxrwx 1 root root 12 Sep 27 20:23 sdcard1 -> external_SD/
u0_a171@unknown:/storage # mount -o ro,remount rootfs /
u0_a171@unknown:/storage # ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:23 .
drwxr-xr-x 18 root root 0 Sep 27 18:03 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 18:04 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
lrwxrwxrwx 1 root root 12 Sep 27 20:23 sdcard1 -> external_SD/
u0_a171@unknown:/storage # reboot
u0_a171@unknown:/storage $ ls -la
total 36
drwxrwxr-x 4 system sdcard_r 0 Sep 27 20:25 .
drwxr-xr-x 18 root root 0 Sep 27 20:25 ..
drwxrwxr-x 9 system sdcard_r 32768 Sep 27 20:27 external_SD
drwxrwxr-x 27 root sdcard_r 4096 Sep 27 19:53 sdcard0
Mit anderen Worten, nach einem Reboot war der Link weg.
Zuletzt bearbeitet: