rm -f :-(

Alain Schroeder alain at mini.gt.owl.de
Sat Apr 7 21:39:06 CEST 2001


On Sat, Apr 07, 2001 at 07:25:06PM -0000, tobias at enke.net wrote:
> Hallo,
> 
> nach 2w?chiger Bastelpause wollte ich jetzt all die guten Ratschl?ge von neulich
> umsetzen, damit ich endlich auch mit dem PC ins Netz komme:
> 
> -LINUX Mandrake 7.2 (Download-Edition von der CD neulich)
> -Mit kisdn hatte ich ihn so weit, dass Root schonmal telefonieren konnte
> -http://www.powered-by-linux.de/ws-isdn-1.html liefert eine sch?ne
> Schritt-f?r-Schritt-Anleitung, f?r Mandrake 7.1 und (meine) Fritz!Card PCI,
> darin steht u.A.:
> 
> "Sollte ISDN f?r Linux die devices "/etc/isdnctrl" und/oder "/dev/isdninfo"
> nicht finden, so sollte man diese mit
>                     folgenden Befehlen l?schen und neu erstellen: 
> 
>                     "rm -f /dev/isdnctrl" 
>                     "rm -f /dev/isdninfo" 
>                     "mknod c 45 255 /dev/isdninfo" 
>                     "mknod c 45 64 /dev/isdnctrl" 
> 
> Leider kommt auf die beiden mknod - Zeilen nur die lapidare Meldung:
> 
> "Versuchen Sie "mknod --help" f?r weitere Informationen"
> 
Warum tust du es nicht?

> Aber auch "man mknod" erkl?rt mir nicht, was es mit den Zahlen darin auf sich
> hat. Ich war wohl ein bischen blau?ugig mit dem "rm -f"...:-(
> 
gateway:/dev# mknod c 45 64 test
Try `mknod --help' for more information.
gateway:/dev# mknod --help
Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR]
Create the special file NAME of the given TYPE.

  -m, --mode=MODE   set permission mode (as in chmod), not a=rw - umask
      --help        display this help and exit
      --version     output version information and exit

MAJOR MINOR are forbidden for TYPE p, mandatory otherwise.  TYPE may be:

  b      create a block (buffered) special file
  c, u   create a character (unbuffered) special file
  p      create a FIFO

Report bugs to <bug-fileutils at gnu.org>.
gateway:/dev# mknod test c 45 64     
gateway:/dev# ls -la test
crw-r--r--    1 root     root      45,  64 Apr  7 21:36 test
gateway:/dev# rm -f test 

---

Du mußt also nur den namen zuerst benutzen:

mknod /dev/isdninfo c 45 255 

	Bye,
	  - -- Alain -- -

-- 
"If you can't make it good, make it LOOK good." 
					-- Bill Gates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20010407/af26eb35/attachment.sig>


More information about the Linux mailing list