lkml.org 
[lkml]   [1996]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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>...


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.030 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site