The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
may a corrupted .gz file be repaired? JohnTinker UNIX for Dummies Questions & Answers 3 03-19-2008 12:03 PM
Help! passwd file corrupted Tony Montana UNIX for Dummies Questions & Answers 2 05-21-2005 05:45 AM
passwd file corrupted cantona7 HP-UX 10 03-21-2005 12:06 PM
detecting corrupted file starless Shell Programming and Scripting 6 09-24-2003 07:03 PM
corrupted tar file klintsovi UNIX for Dummies Questions & Answers 1 07-21-2001 06:50 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-16-2008
Registered User
 

Join Date: Jan 2008
Posts: 4
Could be a corrupted file?

Hello!

Do you know the meaning of...

"crw-rw---- 1 informix informix 64 0x020001 Jan 21 2004 rifxroot"

I don't know what the first "c" means. Furthermor, if I try to copy this file (rifxroot) it appears a message:

"cp: cannot open rifxroot: No such device or address"

I don't know why? Could be a corrupted file? Can you help me?
Thx in advance!
Reply With Quote
Forum Sponsor
  #2  
Old 01-16-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,653
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0