Skip site navigation (1)Skip section navigation (2)
Date:      27 Dec 1998 04:43:47 -0000
From:      woju@bbs.ee.ntu.edu.tw
To:        freebsd-questions@FreeBSD.ORG
Subject:   Howto re-probe hardware in multiuser mode?
Message-ID:  <19981227044347.14182.qmail@bbs.ee.ntu.edu.tw>

next in thread | raw e-mail | index | archive | help
Hi:
In SunOS, the "format" command probe and show info about online disks.
Is there any tool in FreeBSD that can do similar thing?

<SunOS "format">
Searching for disks...done

AVAILABLE DISK SELECTIONS:
        0. sd3 at esp0 slave 0
           sd3: <Quantum_1.08G cyl 2110 alt 2 hd 16 sec 63>
Specify disk (enter its number):
</SunOS "format">

Furthermore, is it possible to "re-probe hardware" in multiuser-mode
like kernel do in boot-stage? I wish to get hardware info in multiuser-
mode.

<some-tool>
CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 129781760 (126740K bytes)
Probing for devices on PCI bus 0:
...
</some-tool>

Although dmesg/syslog can show/log the info, the info would very likely
fade out after long uptime.

If anyone know the "some-tool" mentioned above, please let me know,
thanks.

- woju
FreeBSD.org Search Engine               http://doc.wj.o3.net
FreeBSD Ports Search Engine             http://ports.wj.o3.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981227044347.14182.qmail>