*BSD News Article 13369


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!uunet!pipex!marble.uknet.ac.uk!uknet!edcastle!richard
From: richard@castle.ed.ac.uk (Richard Tobin)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: patch for bin/rm/rm.c
Message-ID: <33469@castle.ed.ac.uk>
Date: 25 Mar 93 12:22:56 GMT
References: <1oligtINN6mj@ftp.UU.NET> <f0Yl6J8@quack.kfu.com> <CGD.93Mar23164609@erewhon.CS.Berkeley.EDU>
Organization: Edinburgh University
Lines: 14

In article <CGD.93Mar23164609@erewhon.CS.Berkeley.EDU> cgd@erewhon.CS.Berkeley.EDU (Chris G. Demetriou) writes:
>which, it should be obvious is an impossibility; you can't delete a
>dir that you're holding busy, and you "enter" it with the trailing /.

What is the justification for this "holding busy" concept?  This kind
of argument from kernel algorithm to user interface is just what makes
people think Unix is user-unfriendly.

It's completely clear what "rmdir foo/" should mean and there's no reason
but laziness that it doesn't work.

-- Richard
-- 
Safe when used as directed