09-25-2006
Thanks how do i found out what the CDROM physical device name is...sorry to be a pain. My /devices/pci@0,0 floder has the folowing content
pci-ide@7,1
pci1022,7450@1:devctl
pci1022,7450@2:devctl
pci1022,7460@6:devctl
pci1022,7450@1
pci1022,7450@2
pci1022,7460@6
which one is my cd-rom ??, Is there an easy way to work this out (ps i dont have physical access to the box)
cheers
Last edited by hcclnoodles; 09-25-2006 at 06:57 AM..
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I have to suggest that we turn HTML back off. The problem is that angle brackets are used in code and this is causing stuff to get dropped from posts.
I know that we can use the constructs that PxT mentions in this thread. But look how hard it is to educate folks about code tags and the search... (4 Replies)
Discussion started by: Perderabo
4 Replies
2. Solaris
Hi there
I have a box that at 4pm started recieving soft errors on a DIMM, normally this is ok and we have time to swap it out. But I got the following error which caused the box to reboot
NOTE: there were abount 6 or 7 normal "soft error encountered" messages before this one
Nov 7... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
3. UNIX for Dummies Questions & Answers
Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC.
The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1 )
Anyway I was wondering if... (2 Replies)
Discussion started by: Browser
2 Replies
4. Shell Programming and Scripting
Hi all, Just want to say thanks for the great forum you have here, the old topics and posts have helped tremendously. So much so that I have managed to figure a lot out just by researching. However, I'm having a small issue that I simply can't find the answer to. (4 Replies)
Discussion started by: whyte_rhyno
4 Replies
5. Shell Programming and Scripting
I have a long busybox ash script that has 3 stages.
1. Identify and Capture information on variable data sources, output the information to text file on each data source.
2. Using data from 1 above now actually do data processing on each individual dataset.
3. Produce report.
So... (6 Replies)
Discussion started by: tesser
6 Replies
6. Shell Programming and Scripting
Hi All,
Please hav a look at the below peice of script and let me know if there are any syntax errors.
i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
Discussion started by: mahi_mayu069
1 Replies
7. AIX
Hello
On one of our systems (AIX 5) I am seeing (vmstat) paging intermittently
I want to know which process is causing the paging?
I understand that first I would need to find out which process is consuming most memory
1) Is that right?
2) How to find it out?
3) By googling I found... (8 Replies)
Discussion started by: Chetanz
8 Replies
8. AIX
I do have a friend who have this script already but lost it. Can you please help to give me a script that can capture the closed_wait on the stack and identify which process using it. I am thinking of using netstat and rmsock. (2 Replies)
Discussion started by: depam
2 Replies
9. Shell Programming and Scripting
Hi
I am quite new to scripting and cannot work out how to do the following -
I want to pipe to a log file and then use the "last statement error" in an if statement after, and this doesn't work because it checks the pipe statement instead of the script.
Example:
executteTheScript $var |... (4 Replies)
Discussion started by: erjorgito
4 Replies
10. UNIX for Dummies Questions & Answers
Hi
How to see the first instance of an error in explorer log ?
In this case I want to know the first time error "SCSI transport failed" was populated in messages
Thanks
Amani (2 Replies)
Discussion started by: amani
2 Replies
LEARN ABOUT OPENSOLARIS
devctl
DEVCTL(4) BSD Kernel Interfaces Manual DEVCTL(4)
NAME
devctl -- device event reporting and device control interface
DESCRIPTION
The devctl device is used to report device events from the kernel. Future versions will allow for some device control as well.
IMPLEMENTATION NOTES
This design allows only one reader for /dev/devctl. This is not desirable in the long run, but will get a lot of hair out of this implemen-
tation. Maybe we should make this device a clonable device.
Also note: we specifically do not attach a device to the device_t tree to avoid potential chicken and egg problems. One could argue that all
of this belongs to the root node. One could also further argue that the sysctl(3) interface that we have now might more properly be an
ioctl(2) interface.
SIGIO support is included in the driver. However, the author is not sure that the SIGIO support is done correctly. It was copied from a
driver that had SIGIO support that likely has not been tested since FreeBSD 3.4 or FreeBSD 2.2.8!
The read channel for this device is used to report changes to userland in realtime. We return one record at a time. If you try to read this
device a character at a time, you will lose the rest of the data. Listening programs are expected to cope.
The sysctl and boot parameter hw.bus.devctl_disable is used to disable devctl when no devd(8) is running.
PROTOCOL
The devctl device uses an ASCII protocol. The driver returns one record at a time to its readers. Each record is terminated with a newline.
The first character of the record is the event type.
Type Description
! A notify event, such as a link state change.
+ Device node in tree attached.
- Device node in tree detached.
? Unknown device detected.
Message Formats
Except for the first character in the record, attach and detach messages have the same format.
Tdev at parent on location
Part Description
T + or -
dev The device name that was attached/detached.
parent The device name of the parent bus that attached the device.
location Bus specific location information.
The nomatch messages can be used to load devices driver. If you load a device driver, then one of two things can happen. If the device
driver attaches to something, you will get a device attached message. If it does not, then nothing will happen.
The attach and detach messages arrive after the event. This means one cannot use the attach message to load an alternate driver. The attach
message driver has already claimed this device. One cannot use the detach messages to flush data to the device. The device is already gone.
SEE ALSO
devd(8)
BSD
February 11, 2003 BSD