Subject says it...
Just a thought I had, not really critical.
Q: How come "probepart" shows partitions to be 2X size?
Re: Q: How come "probepart" shows partitions to be 2X size?
Hmmm. I see 8-bit's results. Looks like it's using two different standard unit sizes, depending on whether you run it with or without an argument. (And it doesn't seem to matter what the argument is.)sunburnt wrote:Subject says it...
Just a thought I had, not really critical.
Update: It's a script in /sbin, and takes -k or -m as parameters.
______
Dennis
Correct. I haven't tried to analyze it to see what it defaults to if a parm isn't provided. Offhand, I'd guess it defaults to 512 bytes, which would be the disk block size.8-bit wrote:Thank you! I assume the -k parameter is for displaying value as kilobytes and the -m parameter is for displaying megabytes.
______
Dennis
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
You mean, set the default value to 1,024?technosaurus wrote:block size is set to 512 maybe it should be 1024?
I can see the value in having it report in disk block sizes, but it ought to state what unit size it's using. And it ought to return a meaningful usage message in response to a -h parameter.
______
Dennis