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 free space #3

Open
justinledwards opened this issue Nov 8, 2013 · 0 comments
Open

Check free space #3

justinledwards opened this issue Nov 8, 2013 · 0 comments

Comments

@justinledwards
Copy link

Need to make a check in bb-get-rcn-kernel-source.sh to check free space first.

I'm running this before hand.

apt-get clean

root@arm:/usr/share/locale# rm -rf [a-d]*

root@arm:/usr/share/locale# rm -rf [f-k]*

root@arm:/usr/share/locale# rm -rf [m-z]*

root@arm:/usr/share/locale# rm -rf el/ eo/ es/ et/ et_EE/ eu/ lg/ lt/ lv/

I ran watch du -sh /tmp and saw the size get up to
702M

I started with 1005M free and in the end I had 296M free

You can use this to check for freespace

df -h | awk '$1=="rootfs"{print$4}' | sed 's/\M//'

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