Package: e2fsprogs
Version: 1.37-2
Severity: wishlist
Tags: patch

I submitted a patch to initrd-tools that stops the initrd /sbin/init script 
from trying to mount the root device if it is 
an NFS device.  This patch has been accepted. see:
    http://bugs.debian.org/307471 

An NFS root setup can be identified as rootdev=255. The initrd script from 
e2fsprogs would work better with 
netboot-initrd-tools package if a simmilar test could be included in the 
ext3-add-journal script.
A two line patch to trap this in the same manner as initrd-tools is attached.

Regards

Alex Owen



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages e2fsprogs depends on:
ii  e2fslibs                    1.37-2       ext2 filesystem libraries
ii  libblkid1                   1.37-2       block device id library
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libcomerr2                  1.37-2       common error description library
ii  libss2                      1.37-2       command-line interface parsing lib
ii  libuuid1                    1.37-2       universally unique id library

-- no debconf information
--- ./debian/initrd.ext3-add-journal.orig       2004-09-18 17:08:59.000000000 
+0100
+++ ./debian/initrd.ext3-add-journal    2005-05-23 15:08:09.000000000 +0100
@@ -8,6 +8,7 @@
 cmdline=$(cat /proc/cmdline)
 umount -n proc
 if [ $rootdev != 256 ]; then
+  if [ $rootdev != 255 ]; then
     mount -nt tmpfs tmpfs /dev2
     get_device
     roottype=`/bin/e2initrd_helper -r /dev2/root2`
@@ -24,4 +25,5 @@
     fi
     umount -n /dev2
     umount -n /proc > /dev/null 2>&1
+  fi
 fi

Reply via email to