RFC: filesystem-specific pathconf replies

2012-10-04 Thread Pino Toscano
Hi, there are filesystem-specific options (e.g. _PC_2_SYMLINKS) which cannot expressed currently with variables of libdiskfs (that is, which libdiskfs does not know). My proposal is to add a new function, optionally overridable by filesystems-specific implementation, to return custom pathconf

Re: RFC: filesystem-specific pathconf replies

2012-10-04 Thread Roland McGrath
I think you need to explain the rationale more thoroughly. If the only pathconf parameters that might vary by filesystem implementation are ones that libdiskfs has (or can easily have) other information about, then I think it's better not to add this new flexibility. It's just an opportunity for