using fdisk

how do i know my disk partion using fdisk

You need to read up about how to use the fdisk utility. Do "man fdisk". If man pages are not installed on your system, they can be accessed at docs.sun.com.

The fdisk manual page is unfortunately lacking examples that would help answering this simple question. Here are sample fdisk commands:

fdisk -v -W - /dev/rdsk/c0d0p0
echo 6 | fdisk /dev/rdsk/c0d0p0

Thanks jlliagre, As described in your response i tried but got the following error.

# fdisk -v -W - /dev/rdsk/c0d0p0
fdisk: Cannot stat device /dev/rdsk/c0d0p0.
# echo 6 | fdisk /dev/rdsk/c0d0p0
fdisk: Cannot stat device /dev/rdsk/c0d0p0.

Pls can someone help looks into this

You obviously need to adjust the device name to the one you use.