Add disk size information when it's not present #1

Merged
merged 2 commits into from May 30, 2012

Projects

None yet

2 participants

@calavera
Contributor

If the disk is not partitioned part --list doesn't show it and so we don't collect any data for that disk, showing in the view something like:

/dev/sdb ()
/dev/sdc ()

We should check du to get the size for those disks to show something like this:

/dev/sdb (10 MB)
/dev/sdc (5000 MB)

/cc @github/enterprise-devs

Contributor

looks good :shipit:

@calavera calavera merged commit 3dd7280 into master May 30, 2012
Contributor

Merged in master, @benburkert I don't have credentials to push the gem to rubygems though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment