lkml.org 
[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Not very portable at all...

hpux = HP/UX 10.2

hpux:~$ mkdir foo
hpux:~$ cd foo
hpux:~/foo$ rmdir "`pwd`"
rmdir: /home/blc/foo: Cannot remove mountable directory
hpux:~/foo$ rmdir .
rmdir: cannot remove .. or .
hpux:~/foo$ rmdir /home/blc/foo
rmdir: /home/blc/foo: Cannot remove mountable directory
hpux:~/foo$ rmdir ./
rmdir: ./: Cannot remove mountable directory
hpux:~/foo$

Maybe HP/UX is messed up as well.

But anyway I'll try to step out of the building that i'm trying to blow
up, regardless of whether or not it will work on a particular OS will
hold onto a floor of it till it's done with it...

-bc

On Mon, 8 Jan 2001, Stefan Traby wrote:

> Date: Mon, 8 Jan 2001 22:54:51 +0100
> From: Stefan Traby <stefan@hello-penguin.com>
> To: Alexander Viro <viro@math.psu.edu>
> Cc: Andrea Arcangeli <andrea@suse.de>, linux-kernel@vger.kernel.org
> Subject: Re: `rmdir .` doesn't work in 2.4
>
> On Mon, Jan 08, 2001 at 12:58:20PM -0500, Alexander Viro wrote:
>
> > Shell equivalent is rmdir `pwd`. Also portable.
>
> Very portable - not.
>
> rmdir "`pwd`" !!!
>
> --
>
> 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/
>




-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.079 / U:13.100 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site