Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8a12c
)
Avoid trying to mount the root device if it is an NFS device.
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 11 Dec 2005 03:57:05 +0000
(22:57 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 11 Dec 2005 03:57:05 +0000
(22:57 -0500)
Addresses Debian Bug #310428
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/initrd.ext3-add-journal
patch
|
blob
|
history
diff --git
a/debian/initrd.ext3-add-journal
b/debian/initrd.ext3-add-journal
index
557fc18
..
4def7b1
100644
(file)
--- a/
debian/initrd.ext3-add-journal
+++ b/
debian/initrd.ext3-add-journal
@@
-7,7
+7,7
@@
mount -nt proc proc proc
rootdev=$(cat proc/sys/kernel/real-root-dev)
cmdline=$(cat /proc/cmdline)
umount -n proc
-if [ $rootdev != 256 ]; then
+if [ $rootdev != 256
-a $rootdev != 255
]; then
mount -nt tmpfs tmpfs /dev2
get_device
roottype=`/bin/e2initrd_helper -r /dev2/root2`