Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

devinfo(1m) [v7 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)

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)
Man Page

7 More Discussions You Might Find Interesting

1. Solaris

pseudo device?

sometimes I see this message in dmesg: what does it mean? thanks. (5 Replies)
Discussion started by: orange47
5 Replies

2. Solaris

Machine is not booting

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)
Discussion started by: abohmeed
25 Replies

3. Solaris

/var/adm/messages (interface turned off/restored) and link up & link down message.

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)
Discussion started by: javeedkaleem
0 Replies

4. Shell Programming and Scripting

Unknown fs on usb?

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)
Discussion started by: 1in10
17 Replies

5. Shell Programming and Scripting

Need help the sum from loop

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)
Discussion started by: ranjancom2000
10 Replies

6. Slackware

NFSd problem

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)
Discussion started by: dimples
2 Replies

7. Shell Programming and Scripting

How to run simple single command on multiple Linux servers?

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)
Discussion started by: darling
9 Replies