Unfortunately what I am writing is a filesystem... But I went browsing through /proc and found /proc/partitions, when I cat that it shows partitions and sizes in blocks (1024 bytes each I believe) Is this standard and reliable from linux system to linux system?
I think something changed between 2.4 and 2.6, but I wouldn't take my own word as the ultimate Truth™ as I'm far from being an expert...
In reply to Re^3: get the size of a special device (drive)
by blazar
in thread get the size of a special device (drive)
by exodist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |