Re: umount2

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 11 Aug 1998 03:53:22 +0100 (BST)


> With both umount and umount2 present, one can write
> if (umount2(path, flags) == -1 && errno == ENOSYS)
> umount(path);
> so that if one has a brandnew libc and boots a stable 2.0.29 kernel,
> things still work. Without knowing the effect of the various bits

Indeed

I will send Linus a umount/umount2 patch. How its presented to user space
Ulrich and friends can decide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html