« Previous | Next » 

Revision 7834cf77

ID7834cf77be7e3e301177c6ab98a3d7f1bf73f28f

Added by Aneesh Kumar K.V almost 13 years ago

hw/9pfs: add 9P2000.L unlinkat operation

unlinkat - Remove a directory entry

size4 Tunlinkat tag2 dirfid4 name[s] flag4
size4 Runlinkat tag2

older Tremove have the below request format

size4 Tremove tag2 fid4

The remove message is used to remove a directory entry either file or directory
The remove opreation is actually a directory opertation and should ideally have
dirfid, if not we cannot represent the fid on server with anything other than
name. We will have to derive the directory name from fid in the Tremove request.

NOTE: The operation doesn't clunk the unlink fid.

Signed-off-by: Aneesh Kumar K.V <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences