|
|
How do I list all my drives in Solaris 10?
Hello.
Normally in Linux one can do a "fdisk -l" to see what disks they have
in their system and what the system calls them (e.g. c0d01) so one can
mount them. If I don't know what the disk is called how can I mount
them? Not all my disks are in /etc/vfstab. What is the command in
Solaris?
Also, how does one list devices that they have but are not
configured? I have an ethernet card I'd like to configure but I have
no clue what solaris 10 is calling it so I cannot do an ifconfig.
I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
command?
Regards,
karen
P.S. Has there been any discussion about porting OpenBSD's
"pf" (packet filter) to Solaris?
|
|
0
|
|
|
|
Reply
|
karen_hill22 (79)
|
4/24/2007 7:35:16 PM |
|
Karen Hill <karen_hill22@yahoo.com> wrote:
> Hello.
>
> Normally in Linux one can do a "fdisk -l" to see what disks they have
> in their system and what the system calls them (e.g. c0d01) so one can
> mount them. If I don't know what the disk is called how can I mount
> them? Not all my disks are in /etc/vfstab. What is the command in
> Solaris?
format
>
> Also, how does one list devices that they have but are not
> configured? I have an ethernet card I'd like to configure but I have
> no clue what solaris 10 is calling it so I cannot do an ifconfig.
prtdiag
prtconf -v
To see all possible network interfaces try
ifconfig -a plumb
then
ifconfig -a
(this assumes that you have suitable drivers installed.)
>
> I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
> one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
> command?
Depends what you want to do.
> P.S. Has there been any discussion about porting OpenBSD's
> "pf" (packet filter) to Solaris?
ipfilter is there to use.
--
Geoff Lane, Airstrip One
Today's Excuse: Your mail is being routed through Germany ... and they're
censoring us.
|
|
0
|
|
|
|
Reply
|
news
|
4/24/2007 7:45:34 PM
|
|
Karen Hill wrote:
> Hello.
>
> Normally in Linux one can do a "fdisk -l" to see what disks they have
> in their system and what the system calls them (e.g. c0d01) so one can
> mount them. If I don't know what the disk is called how can I mount
> them? Not all my disks are in /etc/vfstab. What is the command in
> Solaris?
>
> Also, how does one list devices that they have but are not
> configured? I have an ethernet card I'd like to configure but I have
> no clue what solaris 10 is calling it so I cannot do an ifconfig.
>
> I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
> one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
> command?
>
>
> Regards,
> karen
>
> P.S. Has there been any discussion about porting OpenBSD's
> "pf" (packet filter) to Solaris?
>
Try
# iostat -xnp
This command dumps the disk statistic, but it also gives you the disk
name at the same time.
HTH
|
|
0
|
|
|
|
Reply
|
Anonymous
|
4/25/2007 12:56:04 AM
|
|
Karen Hill wrote:
> Hello.
You are again making the mistake to believe that Solaris is some kind of
Linux distro. It's not, it's UNIX.
|
|
0
|
|
|
|
Reply
|
ISO
|
4/25/2007 3:04:11 PM
|
|
On Tue, 24 Apr 2007 12:35:16 -0700, Karen Hill wrote:
> Normally in Linux one can do a "fdisk -l" to see what disks they have
> in their system and what the system calls them (e.g. c0d01) so one can
> mount them. If I don't know what the disk is called how can I mount
> them? Not all my disks are in /etc/vfstab. What is the command in
> Solaris?
First you need to generate the alias names for the drives. devfsadm(1M)
Then you can format(1M), label and partition them.
> Also, how does one list devices that they have but are not
> configured? I have an ethernet card I'd like to configure but I have
> no clue what solaris 10 is calling it so I cannot do an ifconfig.
Again the device alias must be created, devfsadm(1M). Then execute
sys-unconfig(1M) to configure the ethernet controllers.
> I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
> one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
> command?
As Thommy has clearly pointed out, Solaris ain't Linux. See system(4).
|
|
0
|
|
|
|
Reply
|
Dave
|
4/25/2007 3:26:12 PM
|
|
On Apr 24, 9:35 pm, Karen Hill <karen_hil...@yahoo.com> wrote:
> Hello.
>
> Normally in Linux one can do a "fdisk -l" to see what disks they have
> in their system and what the system calls them (e.g. c0d01) so one can
> mount them. If I don't know what the disk is called how can I mount
> them? Not all my disks are in /etc/vfstab. What is the command in
> Solaris?
>
> Also, how does one list devices that they have but are not
> configured? I have an ethernet card I'd like to configure but I have
> no clue what solaris 10 is calling it so I cannot do an ifconfig.
>
> I've also wondered why seemingly Solaris 10 lacks a "sysctl" command
> one finds in OS X, Linux and the BSDs. What is the Solaris 10 sysctl
> command?
>
> Regards,karen
>
> P.S. Has there been any discussion about porting OpenBSD's
> "pf" (packet filter) to Solaris?
http://bhami.com/rosetta.html
|
|
0
|
|
|
|
Reply
|
Thommy
|
5/2/2007 2:13:04 PM
|
|
|
5 Replies
1118 Views
(page loaded in 0.097 seconds)
|
|
|
|
|
|
|
|
|