[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ramfs problem... (unlink of sparse file in "D" state)
    On Mon, Jan 08, 2001 at 02:40:45PM +0000, Alan Cox wrote:
    > > > Why not start to fix this problem outside the funny switch/case in glibc ?
    > > > The filesystem itself should able to handle this.
    > >
    > > Sigh... And the API would be?
    > In SuS its pathconf()

    I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf();

    IMHO like sysconf - which is clearly a userland (libc) thing - fpathconf
    should be also a userland thing.

    long int fpathconf(int fildes, int name);
    long int pathconf(const char *path, int name);

    I still think that ioctl is the easiest and best way and to add
    another syscall is a bad idea.


    ciao -

    " ( cd /lib ; ln -s ) "

    Stefan Traby Linux/ia32 fax: +43-3133-6107-9
    Mitterlasznitzstr. 13 Linux/alpha phone: +43-3133-6107-2
    8302 Nestelbach Linux/sparc
    Austria mailto://
    Europe mailto://
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.020 / U:37.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site