lkml.org 
[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    I fail to see why this is useful. you can't do anything in the directory
    afterwards.

    bash# mkdir foobar
    bash# cd foobar/
    bash# ls
    bash# rmdir .
    bash# touch foooooo
    touch: foooooo: Operation not permitted
    bash# ls

    Whats the point of it?

    On Mon, 8 Jan 2001, Andrea Arcangeli wrote:

    > Hello Al,
    >
    > why `rmdir .` is been deprecated in 2.4.x? I wrote software that depends on
    > `rmdir .` to work (it's local software only for myself so I don't care that it
    > may not work on unix) and I'm getting flooded by failing cronjobs since I put
    > 2.4.0 on such machine. `rmdir .` makes perfect sense, the cwd dentry remains
    > pinned by me until I `cd ..`, when it gets finally deleted from disk. I'd like
    > if we could resurrect such fine feature (adapting userspace is just a few liner
    > but that isn't the point). Comments?
    >
    > Andrea
    > -
    > 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/
    >

    --

    =====================================================================
    Mohammad A. Haque http://www.haque.net/
    mhaque@haque.net

    "Alcohol and calculus don't mix. Project Lead
    Don't drink and derive." --Unknown http://wm.themes.org/
    batmanppc@themes.org
    =====================================================================

    -
    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:4.513 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site