[Pkg-alsa-devel] Copying input file descriptor

Thomas Hood jdthood at yahoo.co.uk
Tue Dec 27 22:51:32 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.

--- checkroot.sh        (revision 456)
+++ 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<&-

        #



More information about the Pkg-alsa-devel mailing list