lkml.org 
[lkml]   [1997]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.1.43 curious pipe-entries in / (root)
From
Date
Dieter Nuetzel <nuetzel@kogs.informatik.uni-hamburg.de> writes:
>
> After booting with 2.1.43 and starting X (XFree86 3.2) with and without
> AcceleratedX 3.1 (=> I think it has nothing todo with it) I get the
> below pipes in my root (/). After rebooting with 2.1.42 they are gone.
> What's wrong here?

New code in 2.1.43 (see "get_pipe_inode" in "linux/fs/inode.c") puts
entries for anonymous pipes into the root directory. The 6-digit
number in the filename is the inode of the pipe.

Anonymous pipes are created with the pipe(2) system call. Since
shells typically use anonymous pipes for piped commands (and all sorts
of other programs use them for miscellaneous process/subprocess
communication), there'll usually be a bunch of them sitting around.

If you're interested in finding out who's using these pipes, you can
poke around in the "/proc/*/fd" directories: there'll be links from
file descriptor numbers to the "/.anonymouse-pipe-*" pseudofiles.

Kevin <buhr@stat.wisc.edu>

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.427 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site