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
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-22-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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...
Reply With Quote
Forum Sponsor
  #2  
Old 01-22-2002
Registered User
 

Join Date: Jan 2002
Posts: 3
I have that kind of problem ,too

Please help us.
Reply With Quote
  #3  
Old 01-25-2002
Registered User
 

Join Date: Jan 2002
Location: Georgia and Florida
Posts: 64
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
Reply With Quote
  #4  
Old 01-29-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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.
Reply With Quote
  #5  
Old 01-29-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
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
Reply With Quote
  #6  
Old 01-30-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Ah ha!
Right on...

It might seem silly to some, but I missed /dev/zero...

Thanks perderabo!
Reply With Quote
  #7  
Old 02-04-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
/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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:58 PM.


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