Sponsored Content
Full Discussion: how to deal with hardware
Top Forums Programming how to deal with hardware Post 302171134 by hgphsf on Wednesday 27th of February 2008 04:08:34 PM
Old 02-27-2008
how to deal with hardware

hi

how to deal with hardware in c or c++?

i need to learn how open CD and close any hard >>> and control hardware

Smilie
 

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

Great deal!

Okay, I don't know how this is funny, but it is. I found this while searching for Linux (please don't ask). :o (0 Replies)
Discussion started by: gnerd
0 Replies

2. Shell Programming and Scripting

How to deal with long records (> 8k)??

Still working on manipulating SQL statements. Some are very long (10-20k). I'm using a shell script to read the SQL statements that are stored in a DB2 table and writing the records out to a file on Unix. The records appear to be getting truncated at 8k. Is there any way for me to avoid the... (1 Reply)
Discussion started by: bradtri2
1 Replies

3. Shell Programming and Scripting

Need Help to deal with empty string

Hi one to All i have written the code for searching the string in the file for specified path. its working fine, but my req:if the string is not available in the file , it should display the Message saying that , string is not available in the file. code is: echo "give the path where... (12 Replies)
Discussion started by: saic
12 Replies

4. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

5. Hardware

Which desktop computer is the better deal?

I wasn't sure where to post this. Please move this as is fitting. My 10yr old laptop's (Dell, Latitude E5530, 4G ram, 2.5Ghz x 2 CPU) spin drive has died (currently running TinyCore Linux on USB in ram). I would be running Linux, compiling the kernel, and programming in C++. I do not do... (0 Replies)
Discussion started by: bedtime
0 Replies
io_redirect_dsf(1M)													       io_redirect_dsf(1M)

NAME
io_redirect_dsf - redirect the persistent device special file from one device to a different device SYNOPSIS
old_hw_path new_hw_path old_dsf new_dsf DESCRIPTION
The command reassigns a persistent device special file (DSF) to a new device when both devices belong to the same class. If the new device does not already exist, before reassigning it you must create the DSF by running either or (see insf(1M) and mksf(1M)). In the first form, the command accepts as input the lun hardware paths of the device to be replaced and the new device. In the second form, the command accepts as input the persistent DSFs of the device to be replaced and the new device. Note: The device is inaccessible while the redirection is taking place. Options recognizes the following options: Specify the hardware path of the device that is being replaced. returns an error if old_hw_path is not a lun hardware path. Specify the hardware path of the new device. returns an error if new_hw_path is not a lun hardware path. Specify the device special file of the device that is being replaced. returns an error if old_dsf is not a persistent DSF. Specify the device special file of the new device. returns an error if new_dsf is not a persistent DSF. RETURN VALUE
Exit values are: Successful completion. An error condition occurred. EXAMPLES
Redirect the DSF with the hardware path at to point to the hardware path at Both disks belong to the class. Redirect the DSF to point to the device with DSF Both DSFs represent devices that belong to the class WARNINGS
You must be superuser to execute the command. SEE ALSO
insf(1M), mksf(1M), intro(7). io_redirect_dsf(1M)
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy