HP-UX 10.20 devices

Thread Tools Search this Thread
Operating Systems HP-UX HP-UX 10.20 devices
# 1  
Old 01-22-2002
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...
# 2  
Old 01-22-2002
I have that kind of problem ,too

Please help us.
# 3  
Old 01-25-2002
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.
# 4  
Old 01-29-2002
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  
Old 01-29-2002
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  
Old 01-30-2002
Ah ha!
Right on...

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

Thanks perderabo!
# 7  
Old 02-04-2002
/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.

Smilie Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Raw Devices

Can you please modify my script. This script is not working for i in /dev/sdf do /bin/raw /dev/raw/`/bin/basename ${i}` ${i} /bin/sleep 2 /bin/chown orasm:ordba /dev/raw/`/bin/basename ${i}` /bin/chmod 660... (9 Replies)
Discussion started by: karthik9358
9 Replies

2. Programming

Raw devices in C

Hi guys. what is the benefits of using raw devices in programming? which applications mostly use raw devices? how can i use raw devices in C programs? is there any system calls or library functions? (1 Reply)
Discussion started by: majid.merkava
1 Replies

3. HP-UX

list of devices

Hi, I need to rediracte all the names of the devices (only disks) to a file. Thanks:confused: (3 Replies)
Discussion started by: yoavbe
3 Replies

4. UNIX for Dummies Questions & Answers

/dev X /devices

Hi folks, I am trying to learn Unix based in Linux... In Linux, in /Dev are files related to cards, mouse, etc.. how about Unix? What is the difference between /Dev and /Devices? Thanks, Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies

5. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

6. Solaris

what is /devices/pseudo/ ??

Hi all, what does this mean? if then <something> fi here is what i know.. it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop. However am not understand what lofi@0:means? also is there... (3 Replies)
Discussion started by: wrapster
3 Replies

7. Solaris

devices in solaris 10

i want to use the devfsadm command and understand its function (3 Replies)
Discussion started by: bondoq
3 Replies

8. Solaris

Meta Devices

I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies

9. Red Hat

USB Devices

I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work. In trying to get it to work, I typed cat /proc/scsi/scsi and got this: # cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies

10. UNIX for Dummies Questions & Answers

Unix devices

Hi I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access. kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem ->... (2 Replies)
Discussion started by: GW01
2 Replies
Login or Register to Ask a Question