[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] 1024 file handles now supported !!



/dev/fd/* should be limited (I'm not sure it is) to a per process view IMHO, i.e. each process should see its own _open_ file descriptors _only_, nothing else.

That behaviour is nearly identical on any UNIXish system I know of.


Am 29.12.2013 um 14:55 schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:

> On 29/12/2013 11:59, Helmut Karlowski wrote:
>> But is it really necessary to have all possible fds in /dev/fd, wouldn't
>> it be better to only list the used (i.e. opened) ones?
>> 
>> This was always wrong IMHO.
> 
> Indeed, that's a nonsense.
> 
> Things are different on Linux. /dev/fd is a symlink to /proc/self/fd, then again this one contains symlinks to other stuff.
> 
> But in all cases, those pseudo-files seem to belong to opened handles.
> 
> I wonder how it looks on BSD-like systems.
> 
> -- 
> Vincent Rivière
> 
>