[Lunar-commits] r23837 - moonbase/trunk/filesys/e2fsprogs/init.d
Jaime Buffery
nestu at lunar-linux.org
Tue Mar 27 20:50:28 CEST 2007
Author: nestu
Date: 2007-03-27 20:50:28 +0200 (Tue, 27 Mar 2007)
New Revision: 23837
Modified:
moonbase/trunk/filesys/e2fsprogs/init.d/mount
Log:
Adding the /dev/std{in,out,err} nodes as symlinks to /proc/self/fd/{0,1,2}, since some programs seem to need them. Should close bugreport #0000194
Modified: moonbase/trunk/filesys/e2fsprogs/init.d/mount
===================================================================
--- moonbase/trunk/filesys/e2fsprogs/init.d/mount 2007-03-27 12:35:56 UTC (rev 23836)
+++ moonbase/trunk/filesys/e2fsprogs/init.d/mount 2007-03-27 18:50:28 UTC (rev 23837)
@@ -204,6 +204,10 @@
if [ ! -h /dev/fd ]; then
ln -sf /proc/self/fd /dev/fd
fi
+
+ ln -snf /proc/self/fd/0 /dev/stdin
+ ln -snf /proc/self/fd/1 /dev/stdout
+ ln -snf /proc/self/fd/2 /dev/stderr
fi
# or do we want to explicitly _not_ fsck at all
More information about the Lunar-commits
mailing list