From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] u9fs
Date: Fri, 31 Jan 2003 19:23:03 +0100 [thread overview]
Message-ID: <200301311823.h0VIN3i04754@zamenhof.cs.utwente.nl> (raw)
In-Reply-To: Your message of "Fri, 31 Jan 2003 11:39:29 -0500." <389f7c6be0fd771d00fd464fe5c95a37@plan9.bell-labs.com>
> The new u9fs doesn't have
> a -r flag because we don't use it,
> so I didn't implement it. Same for
> chroot and some other things that
> have made their way back.
That's the reason I expected. Good.
> While I'd be happy to pick up a -r flag, I'm
> hesitant about having a per-directory .u9fs file.
(one per-user (in the user's unix home directory))
> That seems too specific to your particular case.
Probably it is. One the one hand I like the idea
of giving the unix user a choice; on the other hand,
it's a bit (too?) much.
> I'm torn about the uid mappings. I feel like
> there should be a more general solution.
That would be great.
> With real authentication, factotum just does
> the right thing. (For example, I have an account
> called bozo on sources. I run 9fs sources and it
> automatically uses that name because it's the only
> key I have for the machine.)
... because you have only one account at the machine,
or, at least, only one that is `interesting enough'
to have a key for in factotum.
The nice behaviour in your example immediately
illustrates the disadvantage of my overloading-of-
attach-name hack: you not only can, but also have
to specify the unix user name. If you want to
(be able to) choose, you need (a way) to `voice'
your choice. So, the problem seems to start with
the possibility of having a one-to-many mapping,
because then a choice has to be made, and voiced.
But isn't this problem similar to the problem of
having multiple remote accounts on a single machine,
and then having to choose/identify one of them,
when making a connection to that host (e.g.) via ssh?
In this respect, the idea of the (one-to-one) mapping
file (which, I think, was suggested by Forsyth in an
earlier discussion about u9fs) is better, because it
just specifies a fixed one-to-one (or maybe many-to-one
but not one-to-many) plan9->unix name mapping that is
just slightly different from the also fixed one-to-one
(identity function) plan9->unix name mapping in the
unmodified u9fs. You just have one name at the unix
system (either identical to your plan 9 name, or
different from it, but then automated via the
mapping file so it is out of your hands anyway),
which allows the same automation as in your example.
W.r.t. ~/.u9fs files:
If you don't have the general flexible -lunixuser
attach name hack (and you trust the maintainer of
the mapping file if it's there), and you trust your
plan 9 administrator not to add plan 9 users just
to get at unix files, there probably is no need for
the ~/.u9fs files.
> When there's no authentication, it's a little harder.
> I'm having the same problem with an NFS client I'm
> writing. I'm not sure what to do.
Axel. (who wonders when he will learn to write concisely)
next prev parent reply other threads:[~2003-01-31 18:23 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 15:50 Russ Cox
2003-01-31 15:35 ` Axel Belinfante
2003-01-31 16:07 ` Nigel Roles
2003-01-31 16:39 ` Russ Cox
2003-01-31 18:23 ` Axel Belinfante [this message]
2003-01-31 18:45 ` Russ Cox
2003-01-31 22:54 ` Axel Belinfante
-- strict thread matches above, loose matches on Subject: below --
2008-03-30 11:36 arisawa
2008-03-30 12:25 ` arisawa
2003-10-09 14:24 [9fans] U9FS Lucio De Re
2003-02-18 16:38 [9fans] u9fs Ronald G. Minnich
2003-02-18 16:42 ` Russ Cox
2003-02-18 17:12 ` Ronald G. Minnich
2003-02-18 17:18 ` Russ Cox
2003-02-18 16:49 ` nigel
2002-12-09 8:09 Russ Cox
2002-12-09 7:51 YAMANASHI Takeshi
2002-12-05 17:49 David Swasey
2002-05-05 23:24 [9fans] Bug report Russ Cox
2002-05-05 23:33 ` arisawa
2002-05-05 23:39 ` [9fans] u9fs arisawa
2002-03-24 6:42 Russ Cox
2002-03-23 18:45 nigel
2002-03-23 18:12 Russ Cox
2002-03-24 5:44 ` Martin C.Atkins
2002-03-26 10:45 ` Christopher Nielsen
2002-03-23 10:43 nigel
2002-03-22 13:42 Jean Mehat
2002-03-21 16:19 Russ Cox
2002-03-23 0:40 ` Christopher Nielsen
2002-03-20 22:00 forsyth
2002-03-20 19:31 Russ Cox
2002-03-20 19:31 markp
2002-03-20 19:05 Russ Cox
2002-03-20 19:42 ` skipt
2002-03-21 11:02 ` Peter Canning
2002-03-20 18:40 markp
2002-03-20 9:27 Fco.J.Ballesteros
2002-03-20 7:10 Geoff Collyer
2002-03-20 7:23 ` Lucio De Re
2002-03-20 8:10 ` Dean Prichard
2002-03-20 7:01 forsyth
2002-03-20 5:15 Russ Cox
2002-03-19 22:33 Russ Cox
2002-03-19 17:19 Russ Cox
2002-03-19 16:39 forsyth
2002-03-19 16:18 anothy
2002-03-19 16:46 ` Dharani Vilwanathan
2002-03-19 22:00 ` Dharani Vilwanathan
2002-03-19 14:03 [9fans] long long warning nigel
2002-03-19 16:07 ` [9fans] u9fs Dharani Vilwanathan
2002-03-19 16:15 ` William Josephson
2002-03-20 4:46 ` Steve Kotsopoulos
2001-01-07 6:08 rob pike
2001-01-07 5:54 rob pike
2001-01-07 6:00 ` Boyd Roberts
2000-07-07 16:16 ianb
2000-07-07 14:46 Ish Rattan
2000-07-07 15:26 ` Steve Kotsopoulos
1999-04-23 11:05 [9fans] U9FS
1999-04-22 16:31 Russ
1999-04-22 8:32
1999-03-18 11:30 Jean
1999-03-17 23:47 Ed
1999-03-17 19:48 Markus
1999-03-17 19:16 Scott
1999-03-17 16:26
1999-03-17 15:07
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=200301311823.h0VIN3i04754@zamenhof.cs.utwente.nl \
--to=axel.belinfante@cs.utwente.nl \
--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).