Messages in this thread | | | From | "Ulrich Windl" <> | Date | Wed, 20 Mar 1996 09:46:58 +0100 | Subject | Re: rmdir system call |
| |
On 20 Mar 96 at 8:39, Nick Randell wrote:
> > > If Linux is wrong, what can I do about it? > > > > Remove the trailing '/', and it will work on every machine. > > > > I can do that but why is the linux rmdir different? > > Should you be able to call rmdir with a trailing '/'?
Traditionally its invalid, but I think POSIX allows it to support more stupid programs; therefore "//bin", "/usr//bin", and "/etc/" should all be valid directory names; maybe even combinations of these. While this makes it easier for application programs, it makes it more difficult (inefficient) for the kernel (I think). ------------ Ulrich Windl Klinikum der Universitaet Regensburg Rechenzentrum DV-med Franz-Josef-Strauss-Allee 11 Tel: +49 941 944-5879 D-93053 Regensburg FAX: +49 941 944-5882 Just imagine my mail address were <Ulrich.Windl@rz.uni.r.de>...
| |