Skip to content
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

Check SD card before mounting #23

Open
foxbunny opened this issue Apr 10, 2016 · 0 comments
Open

Check SD card before mounting #23

foxbunny opened this issue Apr 10, 2016 · 0 comments
Assignees
Milestone

Comments

@foxbunny
Copy link
Contributor

Currently, the init script for ORx's mount job looks like this:

mount_start() {
  if ! ismounted /mnt/sdcard; then
    /bin/mkdir -p /mnt/sdcard
    /bin/mount /dev/mmcblk0p1 /mnt/sdcard
  fi
  ....
}

fsck.fat should be performed on /dev/mmcblk0p1 before it is mounted. The mount command should use the errors=continue option so that the card is always mounted, even if it has errors.

@foxbunny foxbunny self-assigned this Apr 10, 2016
@foxbunny foxbunny added this to the 4.0 milestone Apr 10, 2016
@foxbunny foxbunny added the init label Apr 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant