Robert Citek
2013-01-30 18:44:26 UTC
I want to know the number of blocks used by a filesystem on partition
${part_slash}. Here's one way:
e2fsck -n ${part_slash} 2> /dev/null | grep blocks | cut -d, -f3 | cut -d/ -f1
However, I suspect that I will have difficulty understanding what that
does in 6 months. Anyone have a more elegant and readable suggestion?
Regards,
- Robert
--
--
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: ***@googlegroups.com
To subscribe: cwelug-***@googlegroups.com
To unsubscribe: cwelug-***@googlegroups.com
More options: http://groups.google.com/group/cwelug
---
You received this message because you are subscribed to the Google Groups "Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cwelug+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
${part_slash}. Here's one way:
e2fsck -n ${part_slash} 2> /dev/null | grep blocks | cut -d, -f3 | cut -d/ -f1
However, I suspect that I will have difficulty understanding what that
does in 6 months. Anyone have a more elegant and readable suggestion?
Regards,
- Robert
--
--
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: ***@googlegroups.com
To subscribe: cwelug-***@googlegroups.com
To unsubscribe: cwelug-***@googlegroups.com
More options: http://groups.google.com/group/cwelug
---
You received this message because you are subscribed to the Google Groups "Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cwelug+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.