Slackware-Makedev

Thomas 'Balu' Walter tw at itreff.de
Tue Mar 20 11:32:04 PST 2001


I've patched Slackware-MAKEDEV to work with id's and not names, even if
some groups/names were not known - I used the MAKEDEV-2.5-patched to set
those numbers.

Also I am not sure if that script would be better than the old one - a
quick look gives no big differences (very quick look though) :)

Attached is a diff -Naur Slackware-MAKEDEV Slackware-MAKEDEV-temp

      Balu
-- 
"Linux is like a fractal: No matter how deep you go, there's always
more!" [Casey Bralla, 24.01.2001 in lfs-discuss at linuxfromscratch.org]
-------------- next part --------------
--- Slackware-MAKEDEV	Thu Jan 11 00:00:54 2001
+++ Slackware-MAKEDEV-temp	Tue Mar 20 20:21:18 2001
@@ -10,28 +10,28 @@
 # system, and you may change the permissions to suit your preference.  These
 # lines _must_ be of the format "user group perm".
 
- public="  root root   0666"
-private="  root root   0600"
- system="  root root   0660"
-   kmem="  root kmem   0640"
-    tty="  root tty    0666"
-   cons="  root tty    0622"
-    vcs="  root root   0600"
-dialout="  root dialout 0660"
-  mouse="  root root   0660"
-printer="  root lp     0660"
- floppy="  root floppy 0660"
-   disk="  root disk   0660"
-   scsi="  root root   0600"
-  cdrom="  root disk   0660"
-   tape="  root tape   0660"
-  audio="  root audio  0660"
-  video="  root root   0660"
-  ibcs2="  root root   0666"
-scanner="  root root   0666"
-   coda="  root root   0600"
-  ipsec="  root root   0200"
-readable="  root root   0444"
+ public="  0 0   0666"
+private="  0 0   0600"
+ system="  0 0   0660"
+   kmem="  0 3   0640"
+    tty="  0 4    0666"
+   cons="  0 4    0622"
+    vcs="  0 0   0600"
+dialout="  0 5 0660"
+  mouse="  0 0   0660"
+printer="  0 6     0660"
+ floppy="  0 7 0660"
+   disk="  0 8   0660"
+   scsi="  0 0   0600"
+  cdrom="  0 8   0660"
+   tape="  0 8   0660"
+  audio="  0 2  0660"
+  video="  0 0   0660"
+  ibcs2="  0 0   0666"
+scanner="  0 0   0666"
+   coda="  0 0   0600"
+  ipsec="  0 0   0200"
+readable="  0 0   0444"
 
 MAXVT=63
 
@@ -973,7 +973,7 @@
 	dac960)
 		[ -d rd ] || {
 			mkdir rd
-			chown root.root rd
+			chown 0.0 rd
 			chmod 755 rd
 		}
 		for ctr in 0 1 2 3 4 5 6 7
@@ -996,7 +996,7 @@
 	ida)
 		[ -d ida ] || {
 			mkdir ida
-			chown root.root ida
+			chown 0.0 ida
 			chmod 755 ida
 		}
 		for ctr in 0 1 2 # 3 4 5 6 7


More information about the lfs-book mailing list