![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passthrough devices vs. named devices | thumper | UNIX for Dummies Questions & Answers | 1 | 06-04-2008 06:13 PM |
| what is /devices/pseudo/ ?? | wrapster | SUN Solaris | 3 | 03-20-2008 02:54 PM |
| URI Devices issue | saveka | Linux | 0 | 08-22-2007 01:13 AM |
| /dev/rmtx.x devices | backslash | AIX | 0 | 07-08-2006 03:47 PM |
| USB Devices | davidkretsch | Linux | 2 | 02-21-2005 03:32 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
HP-UX 10.20 devices
Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a printer device. I may be going about this all wrong, since I'm very new with HP-UX / hp9000's, but I can't seem to get the major/minor/driver/etc. correct...
Also, I think I already know the answer to this, but is it possible to create /dev/zero and /dev/(u)random on an HP-UX system? I didn't see anything in Sam's kernel config, so I doubt it, but it's worth a try, I suppose... |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I have that kind of problem ,too
Please help us.
|
|
#3
|
|||
|
|||
|
I think what you are asking for is not possible for HP UX platform. I am not sure, but I don't think there are drivers built in the O/S for what you are wanting. We have 10 HP UX-9000 series K and M and L class servers, and they all have built in CD-ROM drives that are attached via SCSI controller.
__________________
:D |
|
#4
|
||||
|
||||
|
Yeah, I thought not... After all, would we really want PC hardware on a specialized Unix workstation? Heck, we might as well just use peecees for everything in that case.
I was able to find a device driver for Linux systems, however, and that will do just fine. Thanks for the reply. |
|
#5
|
||||
|
||||
|
One part of your question is easy... I just made a /dev/zero on an HP-UX 10.20 box:
cd /dev mknod zero c 3 3 chmod 444 zero |
|
#6
|
||||
|
||||
|
Ah ha!
Right on... It might seem silly to some, but I missed /dev/zero... Thanks perderabo! |
|
#7
|
||||
|
||||
|
/dev/zero vs /dev/null
Since yall brought this up, I have a question.
What is the difference between. These two commands 1) cat /dev/null > somefile 2) cat /dev/zero > somefile 3) > somefile Zeroing out a file. I know that "dd can be used to create a file of X bytes for testing and to "hold" space in a filesytem and for doing "disk dumps" an d for destroying data on a disk ( not the prescribed method). I think I know another reason for /dev/zero. That would be to zero out a disk for reuse. Any insight would be informative.
__________________
My brain is your brain |
||||
| Google The UNIX and Linux Forums |