9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard C Bilson <rcbilson@plg2.math.uwaterloo.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bind -c[ab] -- what am I doing wrong?
Date: Thu, 17 Jul 2003 13:30:54 -0400	[thread overview]
Message-ID: <200307171730.NAA16848@plg2.math.uwaterloo.ca> (raw)

> From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
>
> given the man page i expect 'bind -ac new /something/i/can/write/to' to
> allow me to continue to write to '/something/i/can/write/to'.

Here's my guess.  To quote bind(1):

	When a new file is created in a union directory, it is placed
	in the first element of the union that has been bound or
	mounted with the -c flag. If that directory does not have write
	permission, the create fails.

In your example, you're creating a new union directory by binding "new"
with the -c flag.  The union has two directories, and only "new" has
been bound with -c.  If you don't have write permission to "new", the
create will fail.

One might expect some other result in the case where the second
argument is not already a union directory, but then again one might
expect the current behavior.


             reply	other threads:[~2003-07-17 17:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-17 17:30 Richard C Bilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-17 20:09 northern snowfall
2003-07-17 16:13 andrey mirtchovski
2003-07-17 17:42 ` northern snowfall
2003-07-17 17:10   ` andrey mirtchovski
2003-07-17 17:18     ` boyd, rounin
2003-07-17 17:34       ` andrey mirtchovski
2003-07-17 17:37         ` David Presotto
2003-07-17 17:45         ` boyd, rounin
2003-07-17 18:07           ` andrey mirtchovski
2003-07-17 17:35       ` David Presotto

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=200307171730.NAA16848@plg2.math.uwaterloo.ca \
    --to=rcbilson@plg2.math.uwaterloo.ca \
    --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).