bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#149309: generic target in MAKEDEV


From: Robert Millan
Subject: Bug#149309: generic target in MAKEDEV
Date: Fri, 7 Jun 2002 12:20:25 +0200
User-agent: Mutt/1.3.28i

Package: hurd
Severity: normal
Tags: patch

Hello!

while porting I found some packages that assume MAKEDEV will
have a 'generic' target. I made up one basing on the description
from the GNU/Linux MAKEDEV manpage:

       generic
              Create  a  generic  subset of devices.  This is the
              standard devices, plus floppy drives, various  hard
              drives,  pseudo-terminals,  console  devices, basic
              serial devices, busmice, and printer ports.

(leaving mouse and printer)

--- MAKEDEV.sh.old      Fri Jun  7 18:48:30 2002
+++ MAKEDEV.sh  Fri Jun  7 19:03:22 2002
@@ -84,7 +84,13 @@
         lose "Device names cannot contain directories" \
             "Change to target directory and run $0 from there."
        ;;
-
+      generic)
+       mkdev std ptyp ptyq
+       for i in 0 1 ; do mkdev fd$i ; done
+       for i in 0 1 2 3 4 ; do for j in '' s1 s2 s3 s4 s5 s6 s7 s8 s9 ; do \
+                                               mkdev hd$i$j ; done ; done
+       for i in 0 1 2 3 4 ; do mkdev com$i ; done
+       ;;
       std)
        mkdev console tty null zero full fd time mem klog shm kbd
        ;;

cheers,

-- 
Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992




reply via email to

[Prev in Thread] Current Thread [Next in Thread]