• Brandon Duffany's avatar
    Lazily init /dev/null fd · b5c46276
    Brandon Duffany authored
    Fixes an issue that the init() func in splice.go panics if
    /dev is not yet mounted.
    
    This allows supporting go-based init binaries which set up all the
    filesystems on the machine, including both /dev as well as
    FUSE-mounted dirs.
    
    Change-Id: I74dab18effe4df410689ae7a2ef43670fcab7bd8
    b5c46276
pair_linux.go 1.33 KB