9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Keith Nash <kjn9@citizenearth.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bind -c
Date: Sat,  8 Mar 2003 13:22:05 +0000	[thread overview]
Message-ID: <20030308132205.1201.qmail@mail.dirac.net> (raw)

It might be useful to have a 'bind -w' option, that would cause a union member to capture all write operations that would otherwise go to members that are 'after' it.  I suppose the problem is that if a file is opened for reading *and* writing, then the file would first have to be copied to the '-w' member; also the response to file deletion would have to be decided.

'bind -w' might cause more problems than it solves; but it seems sub-optimal that at present, if we want modified files to go to one union member, leaving the originals unchanged in another, we have to perform the 'copy-on-write' operation by manually copying files to a '-c' member - and we must do this (or at least create a file with the right name) even if only write access is required to the file, not read-and-write.  Also, it is obvious that we can only do this manual preparation if we know in advance the names of the files that will be written.

Another useful option might be 'bind -r', to switch off all types of write access to a member, not just file creation.


Keith.



             reply	other threads:[~2003-03-08 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-08 13:22 Keith Nash [this message]
2003-03-08 20:12 ` Sam
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 21:02 Sam
2003-03-07 21:07 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030308132205.1201.qmail@mail.dirac.net \
    --to=kjn9@citizenearth.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).