Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Man Page | 11 comments | Create New Account
Click here to return to the 'Man Page' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Man Page
Authored by: JohnnyMnemonic on Jun 25, '02 09:07:01AM

I've read the manpage on pdisk, but can't quite get it to show the list like in the parent comment. Assuming my drive is at /dev/disk0, what is the exact command string? I'm more curious than attempting to edit my partitions.



[ Reply to This | # ]
Man Page
Authored by: gvitale on Jun 25, '02 09:30:59AM

% sudo pdisk
Password:
Top level command (? for help): ?
Notes:
Base and length fields are blocks, which vary in size between media.
The name of a partition is descriptive text.

Commands are:
h print help
v print the version number and release date
l list device's map
L list all devices' maps
e edit device's map
r toggle readonly flag
a toggle abbreviate flag
p toggle physical flag
q quit the program
Top level command (? for help): e /dev/disk0
/dev/disk0
Command (? for help): p



[ Reply to This | # ]
Man Page
Authored by: houchin on Jun 25, '02 11:31:07AM

At least on my system, the man page for pdisk does not match the usage given by the application.

Try "sudo pdisk /dev/disk0 -dump"
(pdisk needs root access to read the partition map)



[ Reply to This | # ]