SPECS: udev.spec - /dev/pts hacks no longer (hopefully) needed aft...

glen glen at pld-linux.org
Sat Sep 10 22:51:35 CEST 2005


Author: glen                         Date: Sat Sep 10 20:51:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- /dev/pts hacks no longer (hopefully) needed after start_udev update

---- Files affected:
SPECS:
   udev.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: SPECS/udev.spec
diff -u SPECS/udev.spec:1.89 SPECS/udev.spec:1.90
--- SPECS/udev.spec:1.89	Wed Sep  7 14:52:10 2005
+++ SPECS/udev.spec	Sat Sep 10 22:51:30 2005
@@ -142,19 +142,9 @@
 # need to kill and restart udevd as after obsoleting dev package the
 # /dev tree will remain empty. umask is needed as otherwise udev will
 # create devices with strange permissions (udev bug probably)
-have_pts=$(awk '$2 == "/dev/pts"{print "yes"}' /proc/mounts)
-
 umask 000
 /sbin/start_udev
 
-# we also need to remount /dev/pts as the /dev/pts directory could be
-# removed in certain circumstances.
-if [ "$have_pts" = "yes" ]; then
-	umount /dev/pts >/dev/null 2>&1
-	mount /dev/pts >/dev/null 2>&1
-fi
-exit 0
-
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog FAQ HOWTO-udev_for_dev README TODO
@@ -203,6 +193,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2005/09/10 20:51:30  glen
+- /dev/pts hacks no longer (hopefully) needed after start_udev update
+
 Revision 1.89  2005/09/07 12:52:10  glen
 - rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/udev.spec?r1=1.89&r2=1.90&f=u




More information about the pld-cvs-commit mailing list