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

Improve how to determine if filesystem is expanded #143

Open
jcapona opened this issue Jul 9, 2021 · 1 comment
Open

Improve how to determine if filesystem is expanded #143

jcapona opened this issue Jul 9, 2021 · 1 comment

Comments

@jcapona
Copy link
Contributor

jcapona commented Jul 9, 2021

We should replace the FS expand breadcrumb with something more robust. One possible option would be to check the filesystem size, though I'm sure there are other ways to detect.

@jcapona
Copy link
Contributor Author

jcapona commented Jul 19, 2021

raspi-config provides means to determine if the FS can be expanded: raspi-config nonint get_can_expand

https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config#L141

pi-topOS has a different partition layout, but some version of the above can be used.

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

1 participant