mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/disk: fix disk units for <10GB disks
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
18d1fb78e3
commit
1913642dfc
2 changed files with 3 additions and 3 deletions
2
bin/disk
2
bin/disk
|
@ -31,4 +31,4 @@ case $MP in
|
|||
/dev/*) MP=`grep "$MP" /proc/mounts | awk '{print $2}'` ;;
|
||||
esac
|
||||
|
||||
df -h -P "$MP" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9 ]\)/ \1/g" | awk '{printf "\005{=b MW}%d\005{-}\005{= MW}%sB,\005{-}\005{=b MW}%d\005{-}\005{= MW}%%\005{-} ", $1, $2, $3}'
|
||||
df -h -P "$MP" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9\. ]\)/ \1/g" | awk '{printf "\005{=b MW}%d\005{-}\005{= MW}%sB,\005{-}\005{=b MW}%d\005{-}\005{= MW}%%\005{-} ", $1, $2, $3}'
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
byobu (2.29) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* bin/disk: fix disk units for <10GB disks
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 24 Aug 2009 15:25:15 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 24 Aug 2009 22:58:20 -0500
|
||||
|
||||
byobu (2.28-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue