01-16-2008
That is a character special file. By convention, it should be in /dev. When you copy from it, you are trying to read from a device driver. A file system object like that is created with the mknod command, although HP-UX provides insf and mksf which really need to be used except in certain special cases. The 64 is the major number and this id's which driver you are trying to use. The HP-UX command lsdev will list all drivers with thier special numbers. lssf might also be able to tell you about it if it is valid. Be careful with special files. If you write to one, you could scribble on a disk.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I've got a corrupted tar file with some filename being like ?a=n is it possible to get them repaired? (1 Reply)
Discussion started by: klintsovi
1 Replies
2. Shell Programming and Scripting
Hello,
Newbie question:
How can I detect a corrupted file from a script (ksh)?
Thank you,
Martin (6 Replies)
Discussion started by: starless
6 Replies
3. HP-UX
Good Day
Our HP box was hacked and the passwd file has been altered,there are only 2 user accounts active,and these dont have any administrative rights.I need to edit the passwd file to correct the su and root entries.
Does any body have any suggestions as to how i can do this with out the root... (10 Replies)
Discussion started by: cantona7
10 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am new to UNIX, and have recently installed Suse 9.3. I have been experimenting with all of the commands and have somehow managed to modify the default shell of the root user to an invalid file. Consequently I cannot su to the root user as I receive the 'no such file or directory' error... (2 Replies)
Discussion started by: Tony Montana
2 Replies
5. UNIX for Dummies Questions & Answers
Preparing for a move to a new server, I needed to offload about somewhat over a gigabyte of newsfeeds that my website collects, and that I had been saving on the server. I tarred them and zipped them into about a dozen smaller files of about 150Mb each. All seemed well. I downloaded them onto my... (3 Replies)
Discussion started by: JohnTinker
3 Replies
6. UNIX for Advanced & Expert Users
Hello. I`m writing a bash script who archive log files and send them to backup server. I need some kind of checking mechanism for *.tar.gz files.
I found something like: gunzip -t file.tar.gz //Not output from it.
And for tar: tar tf file.tar.gz //Only lists archive
1.) I need make a... (3 Replies)
Discussion started by: jabalv
3 Replies
7. Solaris
Hi All
I work on solaris 8, 9 and 10 platforms and have encountered an error which is my wtmpx files appear to be corrupted as all entries contain the date 1970 (the birth of unix).
Now this is obviously not the case, so my query is:
1 - Can the existing wtmpx files be manipulated to... (6 Replies)
Discussion started by: drestarr96
6 Replies
8. Linux
hi,
yesterday I made something wrong and deleted daemon.log file. Then created a new file with the same name under the same path but now, it seems that file constructed has been corrupted .
In earlier times, it was including regex name. Now there is no regex name.
This is the current... (0 Replies)
Discussion started by: baris35
0 Replies
9. Red Hat
Hi,
Unexpectedly i entered wrong entries in .bash_profile for my user which has administrative permissions. So, i am getting errors for every command. I dont have backup file also, so any body can help me how to recover it.
Regards,
Mastan (7 Replies)
Discussion started by: mastansaheb
7 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies
LEARN ABOUT HPUX
io_redirect_dsf
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)