Messages in this thread | | | Date | Sat, 12 Aug 2000 19:36:08 -0400 (EDT) | From | Alexander Viro <> | Subject | 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/
| |