devinfo(7D) Devices devinfo(7D)NAME
devinfo - device information driver
DESCRIPTION
The devinfo driver is a private mechanism used by the libdevinfo(3LIB) interfaces to access kernel device configuration data and to guar-
antee data consistency.
FILES
/devices/pseudo/devinfo@0:devinfo
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Stability Level |Private |
+-----------------------------+-----------------------------+
SEE ALSO libdevinfo(3LIB), attributes(5)
Writing Device Drivers
SunOS 5.10 9 Jan 1998 devinfo(7D)
Check Out this Related Man Page
devinfo(1M) System Administration Commands devinfo(1M)NAME
devinfo - print device specific information
SYNOPSIS
/usr/sbin/devinfo -i device
/usr/sbin/devinfo -p device
DESCRIPTION
The devinfo command is used to print device specific information about disk devices on standard out. The command can only be used by the
superuser.
OPTIONS -i Prints the following device information:
o Device name
o Software version (not supported and prints as 0)
o Drive id number (not supported and prints as 0)
o Device blocks per cylinder
o Device bytes per block
o Number of device partitions with a block size greater than zero
-p Prints the following device partition information:
o Device name
o Device major and minor numbers (in hexadecimal)
o Partition start block
o Number of blocks allocated to the partition
o Partition flag
o Partition tag
This command is used by various other commands to obtain device specific information for the making of file systems and determining parti-
tion information. If the device cannot be opened, an error message is reported.
OPERANDS
device Device name.
EXIT STATUS
0 Successful operation.
2 Operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO prtvtoc(1M), attributes(5)SunOS 5.10 8 May 1997 devinfo(1M)
Dear all
Any help would be greatly appreciated, I have Solaris 10 installed on an M5000 SPARC machine. While rebooting it, we are faced with the following message then the OK prompt:
SPARC Enterprise M5000 Server, using Domain console
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All... (25 Replies)
Hi All
I am facing an issue with our new solaris machine.
in /var/adm/messages
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp# cat /var/adm//messages
Apr 20 03:10:01 Prod-App1 syslogd: line 25: WARNING: loghost could not be resolved
Apr 20 08:24:18 Prod-App1... (0 Replies)
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or soThis happens when I try... (17 Replies)
Hi all,
I have one host i need to run in loop to check the capacity from different frame and get the output to one file and sum it and convert to TB
this is Code
#!/bin/ksh
DATE=`date '+%d%m%y'`
for f in `cat /home/esx-capacity/esx-host.txt`
do
for g in `cat /home/esx-capacity/frame`... (10 Replies)
Hi.
Using debian 8.0 on a raspberryPI SERVER, accessing nfs from another raspberry gives quick reply.
But from a slackware 14.1 SERVER on a Celeron 2Ghz dual core, is painfully slow and i cannot figure out why.
Can anyone guide me? (2 Replies)
Hi All,
How can i run a single command on multiple servers with or without giving credentials.
I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server.
I tried below code... (9 Replies)