[Pkg-sysvinit-devel] Copying input file descriptor

Thomas Hood jdthood at yahoo.co.uk
Wed Dec 28 15:38:41 UTC 2005


I just made this change so that checkroot.sh copies input file descriptors
using the same syntax as mountvirtfs uses.  I thought I would draw your attention
to this change in case there is something I'm missing.

--- debian/initscripts/etc/init.d/checkroot.sh  (revision 456)
+++ debian/initscripts/etc/init.d/checkroot.sh  (working copy)
@@ -53,7 +53,7 @@
        # 3) The mount parameters for a devfs filesystem.
        #

-       exec 9>&0 </etc/fstab
+       exec 9<&0 </etc/fstab

        fstabroot=/dev/root
        rootdev=none
@@ -106,7 +106,7 @@
                esac
        done

-       exec 0>&9 9>&-
+       exec 0<&9 9<&-

        #

-- 
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20051228/ee261734/signature.pgp
-------------- next part --------------
_______________________________________________
Pkg-alsa-devel mailing list
Pkg-alsa-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-alsa-devel



More information about the Pkg-sysvinit-devel mailing list