[cs615asa] display the partition table on OpenSolaris

Pengfei Liu pliu3 at stevens.edu
Wed Feb 2 19:49:00 EST 2011


 Hi everyone,

 I have a trouble with displaying the partition table on OpenSolaris.

 The command "fdisk -l" does not work on OpenSolaris.

 root at ip-10-113-21-96:~# fdisk -l
 fdisk: illegal option -- l
 Usage: fdisk
 [ -A id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]
 [ -b masterboot ]
 [ -D id:act:bhead:bsect:bcyl:ehead:esect:ecyl:rsect:numsect ]
 [ -F fdisk_file ] [ -h ] [ -o offset ] [ -P fill_patt ] [ -s size ]
 [ -S geom_file ] [ [ -v ] -W { creat_fdisk_file | - } ]
 [ -w | r | d | n | I | B | E | g | G | R | t | T ] rdevice

 Detailed help is available with the -h option.

 Here is the response of command "$ df" 

 root at ip-10-113-21-96:~# df
 Filesystem           1K-blocks      Used Available Use%
Mounted on
 rpool/ROOT/opensolaris
                        8324529   3082445  
5242084  38% /
 swap                   2188844       312  
2188532   1% /etc/svc/volatile
 /usr/lib/libc/libc_hwcap3.so.1
                        8324529   3082445  
5242084  38% /lib/libc.so.1
 swap                   2188536         4  
2188532   1% /tmp
 swap                   2188576        44  
2188532   1% /var/run
 rpool/export           5242105        21   5242084  
1% /export
 rpool/export/home      5242103        19   5242084   1%
/export/home
 rpool                  5242163        79  
5242084   1% /rpool
 mnt                  153796557        19
153796538   1% /mnt

 root at ip-10-113-21-96:~# fdisk -v rpool/ROOT/opensolaris
 fdisk: Cannot stat device rpool/ROOT/opensolaris.

 There is no the file named partitions in folder proc

 root at ip-10-113-21-96:/proc# ls -a
 .   1    15   246  3    336  361  398  427  435  451 
474  521  602  7    9
 ..  122  170  249  330  34   392  406  429  436  454  486 
523  603  74
 0   138  2    258  331  357  397  411  430  442  468  506 
60   606  894

 How to display the partition table on OpenSolaris?

 Thank you for your time!

 Sincerely,
 Pengfei Liu

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.stevens.edu/cgi-bin/mailman/private/cs615asa/attachments/20110202/290c754d/attachment.htm 


More information about the cs615asa mailing list