Skip to content

switch internal and external sdcard #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: jellybean
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ramdisk/init.sun4i.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import init.sun4i.usb.rc

on early-init

export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
export EXTERNAL_STORAGE /storage/sdcard1
export SECONDARY_STORAGE /storage/sdcard0
mkdir /storage 0050 system sdcard_r
mkdir /storage/sdcard0 0000 system system
mkdir /storage/sdcard1 0000 system system
mkdir /storage/sdcard2 0000 system system
symlink /storage/sdcard1 /extsd
symlink /storage/sdcard1 /sdcard
symlink /storage/sdcard2 /usbdisk
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
symlink /storage/sdcard0 /extsd
symlink /storage/sdcard1 /mnt/sdcard

on fs

Expand Down