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 Filesystem Before mounting it #783

Closed
isjerryxiao opened this issue May 13, 2017 · 6 comments
Closed

Check Filesystem Before mounting it #783

isjerryxiao opened this issue May 13, 2017 · 6 comments

Comments

@isjerryxiao
Copy link

isjerryxiao commented May 13, 2017

Running fsck before mounting (if img and partition installation type is used) is essential to prevent damage to the file system.
Please add this function in the cli. At least there should be an option to toggle it.

@Somebodyhura
Copy link

I have been using Kali Linux as partition for long time now and I got no problems with damages to filesystem.
Never heard of it anyway...
How about using "fuck" command it in the Linux terminal?

@Somebodyhura
Copy link

I meant "fsck"

...

Sorry

@isjerryxiao
Copy link
Author

Sometimes I shut down the phone without stopping the container. (or shut down but didn't unmount.)
However, fsck should only be executed before the partition is mounted.
Adding one line in the script can solve the problem.
e2fsck -p /dev/loop0

@isjerryxiao
Copy link
Author

#785 @meefik Please check if it is compatible with all the devices.
For me, it works like a charm.

@isjerryxiao
Copy link
Author

@Somebodyhura Actually there is a fuck command.
https://github.com/nvbn/thefuck

@Somebodyhura
Copy link

@jerry981028
😂 LOL
That command is useful for me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants