timmy/rq/scripts/blkid-o-list
2016-07-29 14:47:00 +00:00

3 lines
238 B
Plaintext

blkid -o list | perl -pe 's/[^[:print:]\r\n]//g'
# perl cleanup is necessary to workaroud corrupt output of blkid with long mount points (docker mount points have garbage in the end) - this at least prevents our Python code from crashing