From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <008a892f8aeeef25d1f8a1c212f31332@coraid.com> References: <008a892f8aeeef25d1f8a1c212f31332@coraid.com> Date: Thu, 15 Aug 2013 00:30:36 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b41890b38efcc04e3f77306 Subject: Re: [9fans] (RPi) Added new user - now what? Topicbox-Message-UUID: 7128ac92-ead8-11e9-9d60-3106f5b1d025 --047d7b41890b38efcc04e3f77306 Content-Type: text/plain; charset=ISO-8859-1 c: even shorter :) On Thu, Aug 15, 2013 at 12:17 AM, erik quanstrom wrote: > On Thu Aug 15 03:15:31 EDT 2013, 9fans@hamnavoe.com wrote: > > > Check your plan9.ini (in the 9fat partition), it probably has a > > > "user=glenda" line in there. Remove it and it'll prompt for a user > name. > > > > Correct, except on the pi it's cmdline.txt instead of plan9.ini > > > > ... and it's a dos partition instead of 9fat. Mount with 'dosmnt 1 /n/d' > > > ; 9diff 9fat: > /n/sources/plan9/rc/bin/9fat::1,7 - 9fat::1,7 > #!/bin/rc > > rfork e > - part=`{ls /dev/fs/9fat /dev/sd*/9fat >[2]/dev/null} > + part=`{ls /dev/fs/9fat /dev/sd*/9fat /dev/sd*/dos >[2]/dev/null} > if(~ $#part 0) { > echo 'no 9fat partition found' >[1=2] > exit no.9fat > > - erik > > --047d7b41890b38efcc04e3f77306 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
c:

even shorter :)


On Thu, Aug 15, 2013 at= 12:17 AM, erik quanstrom <quanstro@labs.coraid.com> = wrote:
On T= hu Aug 15 03:15:31 EDT 2013, 9fans@ha= mnavoe.com wrote:
> > Check your plan9.ini (in the 9fat partition), it probably has a > > "user=3Dglenda" line in there. Remove it and it'll = prompt for a user name.
>
> Correct, except on the pi it's cmdline.txt instead of plan9.ini >
> ... and it's a dos partition instead of 9fat. =A0Mount with 'd= osmnt 1 /n/d'
>
; 9diff 9fat:
/n/sources/plan9/rc/bin/9fat::1,7 - 9fat::1,7
=A0 #!/bin/rc

=A0 rfork e
- part=3D`{ls /dev/fs/9fat /dev/sd*/9fat >[2]/dev/null}
+ part=3D`{ls /dev/fs/9fat /dev/sd*/9fat /dev/sd*/dos >[2]/dev/null}
=A0 if(~ $#part 0) {
=A0 =A0 =A0 =A0 echo 'no 9fat partition found' >[1=3D2]
=A0 =A0 =A0 =A0 exit no.9fat

- erik


--047d7b41890b38efcc04e3f77306--