Re: NTFS-like streams?

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


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 : Tue Aug 15 2000 - 21:00:28 EST