Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 01-10-2010, 06:24 AM   #1
Completely Clueless
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 821

Rep: Reputation: 69
Question fdisk in Solaris

Hi all,

I have got a spare box up and running with the latest stable OpenSolaris and have to say I'm pretty impressed with it. It's a relief to find there aren't too many significant differences to the more mainstream Linux flavors I'm used to. I'd sort of feared it might be as exotic as BSD, but fortunately not.

Anyway, one of my mainstay commands in the regular Linux world is "fdisk -l" (that's a lower-case L by the way) which shows all the volumes the system can detect whether mounted or not. However, when I run this in OpenSolaris I get a message telling me that the "l" switch is an "illegal option." What should I be inputting to get the info I want?


Last edited by Completely Clueless; 01-10-2010 at 06:25 AM.
Old 01-10-2010, 07:41 AM   #2
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137

Solaris uses format for partitioning/creating slices. You can run
, select your disk from the list and view the slices there. To only printout the partition table you can use
where is $DEVICENAME is something like


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing fdisk with gnu fdisk in busybox? Alkisx Slackware 5 10-23-2009 11:51 AM
LXer: Compiz on Solaris x86 - Eye Candy for Solarisís Desktop LXer Syndicated Linux News 1 05-30-2007 02:31 PM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
Viewing Partitions with fdisk - Solaris 10 hal8000b Solaris / OpenSolaris 3 04-02-2007 01:14 PM
LXer: Hp Puts Solaris on More X64 Servers, Partners for Solaris Emulation LXer Syndicated Linux News 0 02-07-2007 07:21 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration