--- a/usr/lib/byobu/disk_io
|
|
+++ b/usr/lib/byobu/disk_io
|
|
@@ -53,6 +53,7 @@ __disk_io() {
|
|
/dev/*) part="${mount_point}";;
|
|
*) part=$(awk '$2 == mp { print $1 ; exit(0); }' "mp=$mount_point" /etc/mtab);;
|
|
esac
|
|
+ [ -e "$part" ] || return
|
|
getdisk "$part"
|
|
local disk=${_RET}
|
|
local t2=$(date +%s) t1=
|