RENAME clarifications

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Spencer Shepler (shepler@eng.sun.com)
Date: 02/03/00-12:21:40 PM Z


Message-ID: <3899C734.96BF9456@eng.sun.com>
Date: Thu, 03 Feb 2000 12:21:40 -0600
From: Spencer Shepler <shepler@eng.sun.com>
Subject: RENAME clarifications


Two clarifications/mods for RENAME...

1)

It has been pointed out that the RENAME operation does not
make a statement about the value of the current filehandle
after successful completion.  I have added such a statement
and think it is appropriate but the requirement to have
the current filehandle set to the new file system object
is an additional piece of work for the server.

--

DESCRIPTION

  The RENAME operation renames the object identified by oldname in
  the source directory corresponding to the saved filehandle, as set
  by the SAVEFH operation, to newname in the target directory
  corresponding to the current filehandle.  The operation is required
  to be atomic to the client.  Source and target directories must
  reside on the same file system on the server.  On success, the       |
  current filehandle corresponds to the newname object.                |

--

2)

In the Implementation section, there is a statement that NFS4ERR_MLINK
may be returned upon successful completion to signify the server's
use of a sequence of "unlink/link/unlink" for the op.
Unfortunately, the way the results struct is currently defined,
the server is unable to return the NFS4ERR_MLINK and return
the results struct simultaneously.  I also believe that this
error is of limited use.

Therefore, I plan to remove this error code and statement unless
someone can justify keeping it and adjusting the result struct.

Spencer


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.2 : 03/04/05-01:48:01 AM Z CST