Whamcloud - gitweb
b=9501
authornathan <nathan>
Thu, 27 Oct 2005 23:20:19 +0000 (23:20 +0000)
committernathan <nathan>
Thu, 27 Oct 2005 23:20:19 +0000 (23:20 +0000)
r=adilger
automatically create /dev/lnet, /dev/obd when needed.

build/lustre-kernel-2.4.spec.in
build/lustre.spec.in

index 1477916..8cef7d4 100644 (file)
@@ -849,12 +849,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %post -n lustre-lite-utils
-if [ ! -e /dev/obd ]; then
-   mknod /dev/obd c 10 241
-fi
-if [ ! -e /dev/lnet ]; then
-   mknod /dev/lnet c 10 240
-fi
 if [ -f /etc/init.d/lustre ] ; then
        /sbin/chkconfig --add lustre
        /sbin/chkconfig --add lustrefs
index 4b13804..583c895 100644 (file)
@@ -162,12 +162,6 @@ fi
 rm -f %{_libdir}/lustre/python/Lustre/*.pyc
 
 %post modules
-if [ ! -e /dev/obd ]; then
-   mknod /dev/obd c 10 241
-fi
-if [ ! -e /dev/lnet ]; then
-   mknod /dev/lnet c 10 240
-fi
 if [ -f /boot/System.map-%{kversion} ]; then
        depmod -ae -F /boot/System.map-%{kversion} %{kversion} || exit 0
 else