Re: pdisk vs pdisk.8
Re: pdisk vs pdisk.8
- Subject: Re: pdisk vs pdisk.8
- From: Dan Markarian <email@hidden>
- Date: Thu, 2 Jun 2005 11:19:05 -0400
Hi Martin,
"pdisk -h" only talks about 2
It does talk about 1.
Please keep in mind that we do not compile entire man pages into
binaries, and aside from the arguably private interface that is 2,
pdisk is more or less the same as it is on other platforms, as is the
man page.
It was our intention to converge the various branches of pdisk in
Darwin, Linux, NetBSD, etc, which we have done in Tiger, however, we
are unable to undo the private interface for legacy reasons on Darwin.
Dan
On 2 Jun 2005, at 6:00 AM, Martin Costabel wrote:
Dan Markarian wrote:
Hi Walt,
It is in alignment on Tiger.
It is not in alignment on Panther.
Not so fast, it is more complicated. 'pdisk' was always two things
rolled in one, namely
1. an interactive utility similar to pdisk on linux
2. a non-interactive command specific to the Mac that takes
commands like -createPartition or -dump
The whole is complicated by the fact that the interactive utility
can be used non-interactively, too, so you can equivalently
say
pdisk -l /dev/rdisk1 (this is 1 and didn't work on pre-Tiger
OSX's)
or
pdisk /dev/rdisk1 -dump (this is 2)
The documentation never explained both of these and still doesn't
in Tiger. "man pdisk" only talks about 1 and "pdisk -h" only talks
about 2.
In addition there were bugs in both versions of the documentation.
Perhaps what you call "alignment" means that there are fewer bugs
in the Tiger documentation? In any case, "man pdisk" and "pdisk -h"
are still talking about different things.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden