Bug#358649: initramfs-tools: Allow passing nfs root mount options on kernel cmdline
Package: initramfs-tools
Version: 0.56
Severity: normal
Tags: patch
Here is a suggested patch.
Might also be worth documenting that the klibc nfsmount takes "udp"
instead of "proto=udp" arguments.
--- /usr/share/initramfs-tools/init-dist 2006-03-23 13:06:34.000000000 +0000
+++ /usr/share/initramfs-tools/init 2006-03-23 13:06:53.000000000 +0000
@@ -58,6 +58,9 @@
nfsroot=*)
NFSROOT=${x#nfsroot=}
;;
+ nfsopts=*)
+ NFSOPTS="-o ${x#nfsopts=}"
+ ;;
boot=*)
BOOT=${x#boot=}
;;
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2-xfs-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.01-4 Tiny utilities for small and embed
ii cpio 2.6-10 GNU cpio -- a program to manage ar
ii klibc-utils 1.2.4-1 small statically-linked utilities
ii udev 0.087-2 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
Reply to: