in reply to Re^3: get the size of a special device (drive)
in thread get the size of a special device (drive)
Personally, I'd go with `du -h` or `du -B 1` (for bytes)
But AFAICT du is for mounted filesystems. He was asking about raw devices. I suppose the answer is somewhere in the docs for sysfs. (The kernel's?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: get the size of a special device (drive)
by Joost (Canon) on May 30, 2007 at 22:41 UTC | |
by blazar (Canon) on May 31, 2007 at 07:58 UTC |