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