From: hedrick@dartagnan.rutgers.edu (Charles Hedrick) Subject: Re: Problems with extfs (a way to find the max file name length) Date: 5 Aug 1992 00:49:11 GMT
card@masi.ibp.fr (Remy CARD) writes:
| I think that using stat()/fstat() would lead to add several fields
|to the stat structure (and again break the stat() system call - this would
|create a new_new_stat ;-) and we would only make stat() do the stat *and*
|the pathconf system call. So, I think that it is worth moving pathconf()
|and fpathconf() to system calls. Of course, I can make a mistake and it is
|perhaps very easy to keep pathconf()/fpathconf() as library functions and
|to use other system calls to retrieve the fs dependent informations
|(_PC_LINK_MAX, _PC_NAME_MAX, _PC_PATH_MAX, _PC_CHOWN_RESTRICTED,
|_PC_NO_TRUNC).
Again, let me suggest that we use the vfsstat system call from SVr4,
and make pathconf and fpathconf subroutines.