From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 21 Oct 2008 10:26:47 +0200 From: "Rudolf Sykora" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [9fans] mount followed by srvfs needs a sleep? Topicbox-Message-UUID: 23626f6a-ead4-11e9-9d60-3106f5b1d025 2008/10/21 Micah Stetson : >> local mount /srv/penelopa $home/shared/penelopa >> #sleep 1 # --- see the text bellow; this pertains to my main >> question >> local srvfs CALC $home/shared/penelopa/home/ruda/CPA-CALC #**** >> local mount /srv/CALC $home/shared/CALC > > I haven't actually tried this, so I probably shouldn't be writing it, > but.... How about this: > > local 'rc -c ''mount blah blah && srvfs blah blah && mount blah blah''' Well, this seems really nice. I wonder why this did not come to my mind too... :) I guess sth like this will work... Thanks >> login&password. Only then I execute my 'local mount ...' command. If I >> executed this right away (without mount & unmount) I would end in a >> situation when the plumber shell needs to talk to me. But this shell writes >> to the /dev/kprint... >> What is the better way? > > I think this is the problem auth/fgui is supposed to solve. See factotum(4). > >> (and, actually, is this kind of authentication any safe?) > > In what way? Have you read /sys/doc/auth.ps? > > Micah I read auth.ps some time ago, I will read it again as well as factotum(4). Hopefully I will find the answers. Thanks Ruda