From: erik quanstrom <quanstro@quanstro.net>
To: ebo@sandien.com, 9fans@9fans.net
Subject: Re: [9fans] /sys/lib/newuser patch
Date: Sun, 11 Apr 2010 17:48:46 -0400 [thread overview]
Message-ID: <9dc0dfe5bab030f4649339c47d45ffc3@kw.quanstro.net> (raw)
In-Reply-To: <twig.1271019683.64317@swcp.com>
> When we try to cd to $home, it does not exist (as checked by the previous if),
> and $cwd is set to / by default... The following patch simply makes $home
> before cd'ing to it.
>
> Is this supposed to be the expected nehaviour?
>
> EBo --
>
> =========================
> --- a/sys/lib/newuser 2008-06-30 08:44:02.000000000 -0500
> +++ b/sys/lib/newuser 2010-04-11 15:36:41.865384817 -0500
> @@ -6,6 +6,7 @@
> echo user directories already made
> exit no
> }
> +mkdir $home
> cd $home
> x='$'
> mkdir bin bin/rc bin/mips bin/386
newuser assumes that your home directory exists, and on a
normal plan 9 install, it's likely not possible to create anything
in /usr without doing it on the fs console.
- erik
next prev parent reply other threads:[~2010-04-11 21:48 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 10:13 [9fans] how about intel D510MO Alex
2010-04-08 3:53 ` John Barham
2010-04-08 13:04 ` erik quanstrom
2010-04-11 17:06 ` [9fans] 9vx patch to read environment var PLAN9 EBo
2010-04-11 17:11 ` erik quanstrom
2010-04-11 17:24 ` Devon H. O'Dell
2010-04-11 17:30 ` erik quanstrom
2010-04-11 17:48 ` Devon H. O'Dell
2010-04-11 17:52 ` erik quanstrom
2010-04-11 21:01 ` [9fans] /sys/lib/newuser patch EBo
2010-04-11 21:48 ` erik quanstrom [this message]
2010-04-11 22:04 ` EBo
2010-04-11 23:06 ` Iruata Souza
2010-04-12 3:58 ` EBo
2010-04-11 23:19 ` Anthony Sorace
2010-04-12 3:49 ` EBo
2010-04-12 5:34 ` EBo
2010-04-12 12:28 ` erik quanstrom
2010-04-12 13:13 ` EBo
2010-04-12 13:28 ` hiro
2010-04-12 13:37 ` erik quanstrom
2010-04-12 14:11 ` hiro
2010-04-12 14:35 ` Devon H. O'Dell
2010-04-12 14:40 ` erik quanstrom
2010-04-12 15:01 ` Devon H. O'Dell
2010-04-12 15:28 ` erik quanstrom
2010-04-12 15:08 ` hiro
2010-04-12 15:23 ` hiro
2010-04-13 2:23 ` Anthony Sorace
2010-04-13 2:53 ` EBo
2010-04-13 3:14 ` Anthony Sorace
2010-04-13 3:23 ` EBo
2010-04-13 4:05 ` EBo
2010-04-12 13:38 ` EBo
2010-04-13 13:37 ` maht
2010-04-13 13:59 ` EBo
2010-04-11 18:03 ` [9fans] 9vx patch to read environment var PLAN9 EBo
2010-04-11 17:32 ` EBo
2010-04-11 17:42 ` Devon H. O'Dell
2010-04-11 17:47 ` EBo
2010-04-12 0:43 ` Russ Cox
2010-04-12 3:22 ` EBo
2010-04-12 10:46 ` Francisco J Ballesteros
2010-04-12 11:38 ` EBo
2010-04-12 12:36 ` erik quanstrom
2010-04-13 4:47 ` Skip Tavakkolian
2010-04-13 5:20 ` EBo
2010-04-13 5:43 ` Skip Tavakkolian
[not found] ` <43c85712dd833ad7544f72b7c66a3b2e@9netics.com>
2010-04-13 6:19 ` EBo
2010-04-13 6:33 ` Skip Tavakkolian
2010-04-13 6:47 ` EBo
2010-04-14 16:22 ` Ethan Grammatikidis
2010-04-14 18:10 ` EBo
2010-04-14 18:23 ` Federico G. Benavento
2010-04-14 18:33 ` lucio
2010-04-14 18:38 ` EBo
2010-04-14 22:51 ` Ethan Grammatikidis
2010-04-15 0:30 ` Patrick Kelly
2010-04-15 4:32 ` Russ Cox
2010-04-15 6:48 ` EBo
2010-04-15 8:26 ` Ethan Grammatikidis
2010-04-15 7:39 ` EBo
2010-04-15 9:22 ` Ethan Grammatikidis
2010-04-15 13:55 ` Devon H. O'Dell
2010-04-15 14:01 ` EBo
2010-04-14 18:36 ` erik quanstrom
2010-04-14 18:50 ` EBo
2010-04-14 18:44 ` Skip Tavakkolian
2010-04-14 19:01 ` EBo
2010-04-15 8:44 ` Balwinder S Dheeman
2010-04-15 10:11 ` Ethan Grammatikidis
2010-04-15 13:06 ` EBo
2010-04-15 14:29 ` Balwinder S Dheeman
2010-04-15 15:38 ` hiro
2010-04-16 7:52 ` Ethan Grammatikidis
2010-04-16 12:08 ` erik quanstrom
2010-04-16 8:20 ` Ethan Grammatikidis
2010-04-16 10:57 ` hiro
2010-04-26 8:43 ` [9fans] how about intel D510MO Pavel Klinkovsky
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=9dc0dfe5bab030f4649339c47d45ffc3@kw.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
--cc=ebo@sandien.com \
/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).