From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 29 Jan 2015 06:36:33 -0800 To: 9fans@9fans.net Message-ID: <7f6d0c6854415a715816e0fe020868c4@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] A few questions about 9p Topicbox-Message-UUID: 3dd277f0-ead9-11e9-9d60-3106f5b1d025 > > What's the proper message sequence to delete a file? And to delete a non > > empty directly? > > > You point a fid at the file, then remove it: Twalk* ... Tremove > A non-empty directory can't be removed. > Tremove implies Tclunk the current on-disk file servers do follow this rule, but i don't see it mentioned in remove(5) and at least nupas, if not the original, will allow a rm of a message directory, with the expected sematics of removing the message. aoe(3) allows target directories to be removed with rm. if a sentence were added to remove(5), it might be "removing non-empty directories may be disallowed by the file server." i'm not sure that clarifies things, though. - erik