9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9p questions
@ 2003-07-23 11:13 steve.simon
  2003-07-23 14:59 ` rog
  0 siblings, 1 reply; 3+ messages in thread
From: steve.simon @ 2003-07-23 11:13 UTC (permalink / raw)
  To: 9fans

Hi,

two questions about 9p semantics:

1/
Netware will not let me rename a file which is open.

So, when wstat updates a file's name does 9p place a
restriction on wether the file is open or not?

Do I have to do a close, rename and reopen on rename
or is just close safe? I guess the answer is reopen
the file - more races :-(

Netware has similar restrictions on deleteing files/dirs so
I am closing then also,  but I cannot imagine any side
effects from this.

2/
Netware changes its file ID (which I map to Qid) when
a file is renamed.

Using lib9p is it OK to change fid->qid in wstat, under the
libraries feet so to speak?

Also, will it mess up plan9 clients?

-Steve



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-23 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <599525253@snellwilcox.com>
2003-07-23 15:15 ` [9fans] 9p questions steve.simon
2003-07-23 11:13 steve.simon
2003-07-23 14:59 ` rog

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).