Re: NTFS-like streams?

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Aug 12 2000 - 19:36:08 EDT

  • Next message: Alexander Viro: "Re: NTFS-like streams?"

    On Sun, 13 Aug 2000, Andi Kleen wrote:

    > It is already implemented I think:
    >
    > sprintf(buf, "/proc/self/fd/%d", fd);
    > readlink(buf, yourbuf, size);

    That has some problems:
            * expects procfs in place
            * no reliable way to tell the unlinked files from the normal ones.
    Basically, the same problems as with procfs-based getcwd (readlink on
    /proc/self/cwd)...

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Aug 12 2000 - 19:41:27 EDT