tech-kern archive

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

Re: openat/fstatat functions implementation

>> The right thing would be to replace pathnames with something more
>> general, and in particular with something which can include
>> representations for things like "start at the directory at fd N",
>> akin to the current "start at my cwd" (spelled "") or "start at my
>> current rootdir" (spelled "/").
> This is not a good way to go.  (As usual, BTDT, not quite that but
> something pretty close.)

Anything you can share with us?  I'd be interested in what your
experience is and what happened to indicate that this is not a good way
to go.

> Maybe the right approach is to extend or clone fdfs so you can use
> the prefix "/dev/fddirs/6/" to specify this behavior? :-)

If it's done via something fdfsish, I have trouble imagining how that
would work internally; namei is too complicated already....

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index