Messages in this thread | | | Date | Mon, 8 Jan 2001 15:00:11 +0100 | From | Stefan Traby <> | Subject | Re: ramfs problem... (unlink of sparse file in "D" state) |
| |
On Mon, Jan 08, 2001 at 08:35:10AM -0500, Alexander Viro wrote: > On Mon, 8 Jan 2001, Stefan Traby wrote: > > Try 'getconf LINK_MAX /ramfs'. > > While the result (127) is in some way SuS/POSIXLY_CORRECT, > > it's not the truth. > > > > 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?
Oh, IMHO that's not too important. API should be accepted by you and Ulrich Drepper. API should not be expected to return static values. (for example: reiserfs may return different values dependend on filesystem-version)
I think the easiest way would be to define ioctls for this. So VFS needs no changes; the only discussion would be about the standard name for "request-names", and Ulrich could fall back to his magic calculations if EINVAL is returned.
Because I have no knowledge on this I suggest that you and Ulrich fight together on a more flexible solution than the current one. I guess that Linus would accept this without thinking too much about it.
--
ciao - Stefan
" ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so ) "
Stefan Traby Linux/ia32 fax: +43-3133-6107-9 Mitterlasznitzstr. 13 Linux/alpha phone: +43-3133-6107-2 8302 Nestelbach Linux/sparc http://www.hello-penguin.com Austria mailto://st.traby@opengroup.org Europe mailto://stefan@hello-penguin.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |