creating device with mknod

creating device with mknod

Post by Mark Ramo » Mon, 24 Feb 1997 04:00:00



Recently I accidently deleted "scd0" that pointed to my scsi card.  How
do I use mknod to recreate that file?  

Thanks,

Mark Ramos

 
 
 

creating device with mknod

Post by Dick Altenber » Fri, 28 Feb 1997 04:00:00



> Recently I accidently deleted "scd0" that pointed to my scsi card.  How
> do I use mknod to recreate that file?

> Thanks,

> Mark Ramos


Mark,
   On my system scd0 is major 11, minor 0.  To get this with mknod,
say mknod scd0 b 11 0.  By the way, there is a shell script that I have
called MAKEDEV that will generate these device files.  You can say
MAKEDEV scd0 for example and it will generate the correct file.  I
picked this up off the inernet somewhere, probably sunsite.  If you
would like a copy of it, send me an e-mail and I'll send it to you.
   Dick Altenbern

 
 
 

1. Missing piece creating null device with mknod

Hello:

Well, I've read the FAQs for netatalk, printing, etc. etc. etc.
and have my appletalk laserwriter working just fine using /dev/null
as the lp printcap entry.  BUT, when I mknod /var/spool/laser/null
with what seems like all the correct directory permissions and
ownerships (similar to /dev/null) all I get from lpq is

        "waiting for lp to become ready (offline?)".

I've tried various combinations of major/minor arguments to mknod
with no difference.

What does it take to bring a null device to life????

I've spent so much time beating my head against the wall I'm ready
to give up and ask for help.

If you could email me I'd be glad to post the correct answer(s) when
all is well in null-ville.

This is for iNTEL based Linux, Redhat 4.1 updated to 4.2 and still
this persists.  Seems like it's an omission on my part more than a
kernel/system bug.

Thanks!

Neal Sedell

--

2. Using UMAX scanner with RedHat 5.0 ?

3. mknod - misbehaving when creating a null device

4. Large font when printing from Knode, Kmail, konqueror etc

5. How to use mknod to create /dev/one

6. Parallel ZIP Drives

7. creating tty's, mknod, stuck after boot with wrong tty - help

8. problems compiling gaim

9. mknod prob. Can't create tty8 and 9

10. mknod: No space on device during installation

11. Char device drivers and mknod

12. Need (mknod) device files for FTAPE.

13. Using mknod to add IDE HD devices 3+4