From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] bind -c[ab] -- what am I doing wrong?
Date: Thu, 17 Jul 2003 10:13:56 -0600 [thread overview]
Message-ID: <Pine.LNX.4.44.0307171007500.7478-100000@fbsd.cpsc.ucalgary.ca> (raw)
It is my understanding that a bind() should be "commutative" with respect to
before/after, i.e.:
bind -cb new old <==> bind -ca old new
why does the following create fail?
plan9% bind -cb $home/kern/cmd /sys/src/cmd
plan9% touch /sys/src/cmd/blah # expected to succeed
plan9% ls -l $home/kern/cmd/blah
--rw-rw-r-- M 159 andrey andrey 0 Jul 17 10:06 /usr/andrey/kern/cmd/blah
plan9% unmount /sys/src/cmd
plan9% rm $home/kern/cmd/blah
plan9% bind -ca /sys/src/cmd $home/kern/cmd
plan9% touch $home/kern/cmd/blah # expected to succeed
touch: /usr/andrey/kern/cmd/blah: cannot create: permission denied
plan9% touch /sys/src/cmd/blah # expected to fail
touch: /sys/src/cmd/blah: cannot create: permission denied
plan9%
who's to blame?
next reply other threads:[~2003-07-17 16:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-17 16:13 andrey mirtchovski [this message]
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 19:29 ` [9fans] Laptop and VM software vdharani
2003-07-17 18:34 ` jmk
2003-07-18 4:21 ` Adrian Tritschler
2003-07-18 9:07 ` vdharani
2003-07-18 8:24 ` Adrian Tritschler
2003-07-18 11:52 ` C H Forsyth
2003-07-19 17:28 ` Russ Cox
2003-07-17 17:35 ` [9fans] bind -c[ab] -- what am I doing wrong? David Presotto
2003-07-17 17:30 Richard C Bilson
2003-07-17 20:09 northern snowfall
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=Pine.LNX.4.44.0307171007500.7478-100000@fbsd.cpsc.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.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).