* [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: @ 2012-07-19 9:07 kalaracey 2012-07-19 9:16 ` Federico Benavento ` (3 more replies) 0 siblings, 4 replies; 14+ messages in thread From: kalaracey @ 2012-07-19 9:07 UTC (permalink / raw) To: 9fans I'm in /sys/src/9/pc and I type `mk CONF=9pcdisk` and rc gives me the error "rc: #d/0: token '=': syntax error". Why is this? Just doing mk works fine (I think). Thanks! Plan9 looks very cool... just finished reading through intro (all of it). ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: 2012-07-19 9:07 [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: kalaracey @ 2012-07-19 9:16 ` Federico Benavento 2012-07-19 14:25 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-19 9:17 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: Charles Forsyth ` (2 subsequent siblings) 3 siblings, 1 reply; 14+ messages in thread From: Federico Benavento @ 2012-07-19 9:16 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs you're using backquotes, why? that would be `{mk CONF=9pcdisk} in rc's syntax. now to compile that kernel the syntax is: % mk 'CONF=pcdisk' now are you sure you want a pcdisk? On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote: > I'm in /sys/src/9/pc and I type > > `mk CONF=9pcdisk` > > and rc gives me the error "rc: #d/0: token '=': syntax error". > > Why is this? Just doing mk works fine (I think). > > Thanks! Plan9 looks very cool... just finished reading through intro (all of it). > --- Federico G. Benavento benavento@gmail.com ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-19 9:16 ` Federico Benavento @ 2012-07-19 14:25 ` Kyle Laracey 0 siblings, 0 replies; 14+ messages in thread From: Kyle Laracey @ 2012-07-19 14:25 UTC (permalink / raw) To: 9fans On Thursday, July 19, 2012 5:16:16 AM UTC-4, Federico Benavento wrote: > you're using backquotes, why? that would be `{mk CONF=9pcdisk} in rc's > syntax. > > now to compile that kernel the syntax is: > % mk 'CONF=pcdisk' > > now are you sure you want a pcdisk? > > On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote: > > > I'm in /sys/src/9/pc and I type > > > > `mk CONF=9pcdisk` > > > > and rc gives me the error "rc: #d/0: token '=': syntax error". > > > > Why is this? Just doing mk works fine (I think). > > > > Thanks! Plan9 looks very cool... just finished reading through intro (all of it). > > > > --- > Federico G. Benavento > benavento@gmail.com Sorry; I was just using backquotes to quote it here. Literally, I just typed mk CONF=9pcdisk. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: 2012-07-19 9:07 [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: kalaracey 2012-07-19 9:16 ` Federico Benavento @ 2012-07-19 9:17 ` Charles Forsyth 2012-07-19 14:25 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-19 9:20 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: David du Colombier 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 3 siblings, 1 reply; 14+ messages in thread From: Charles Forsyth @ 2012-07-19 9:17 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 237 bytes --] 9pcdisk is the output file, not the configuration file. Also you need to quote the = because it is special to rc (assignment). Try mk 'CONF=pcdisk' On 19 July 2012 10:07, <kalaracey@gmail.com> wrote: > > `mk CONF=9pcdisk` [-- Attachment #2: Type: text/html, Size: 508 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-19 9:17 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: Charles Forsyth @ 2012-07-19 14:25 ` Kyle Laracey 2012-07-19 16:59 ` John Floren [not found] ` <CAL4LZyhADVbrwhAE2c4xmhwLhZyng8VhbWUkZNAepL17G_u9GA@mail.gmail.c> 0 siblings, 2 replies; 14+ messages in thread From: Kyle Laracey @ 2012-07-19 14:25 UTC (permalink / raw) To: 9fans On Thursday, July 19, 2012 5:17:47 AM UTC-4, Charles Forsyth wrote: > 9pcdisk is the output file, not the configuration file. Also you need to quote the = because it is special to rc (assignment). > Try</div> > mk 'CONF=pcdisk' > > > On 19 July 2012 10:07, <span dir="ltr"><<a href="mailto:kalaracey@gmail.com" target="_blank">kalaracey@gmail.com</a>></span> wrote: > > <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> > > `mk CONF=9pcdisk`</blockquote></div> > </div> Oh 9pcdisk is the OUTPUT file! That's odd... I'm following the instructions for compiling in this (http://lsub.org/who/nemo/9.pdf) guide to the plan 9 3ed source code, and on pg 24, it says to do exactly that, mk CONF=9pcdisk. I tried mk 'CONF=pcdisk' and it works. Thanks. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-19 14:25 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey @ 2012-07-19 16:59 ` John Floren [not found] ` <CAL4LZyhADVbrwhAE2c4xmhwLhZyng8VhbWUkZNAepL17G_u9GA@mail.gmail.c> 1 sibling, 0 replies; 14+ messages in thread From: John Floren @ 2012-07-19 16:59 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Thu, Jul 19, 2012 at 7:25 AM, Kyle Laracey <kalaracey@gmail.com> wrote: > On Thursday, July 19, 2012 5:17:47 AM UTC-4, Charles Forsyth wrote: >> 9pcdisk is the output file, not the configuration file. Also you need to quote the = because it is special to rc (assignment). >> Try</div> >> mk 'CONF=pcdisk' >> >> >> On 19 July 2012 10:07, <span dir="ltr"><<a href="mailto:kalaracey@gmail.com" target="_blank">kalaracey@gmail.com</a>></span> wrote: >> >> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> >> >> `mk CONF=9pcdisk`</blockquote></div> >> </div> > > Oh 9pcdisk is the OUTPUT file! That's odd... I'm following the instructions for compiling in this (http://lsub.org/who/nemo/9.pdf) guide to the plan 9 3ed source code, and on pg 24, it says to do exactly that, mk CONF=9pcdisk. I tried mk 'CONF=pcdisk' and it works. Thanks. > But as Federico mentioned, you might not want pcdisk--that's for running with a kfs root, which isn't officially supported any more. If you were looking at the 3e guide, that might explain it. These days, for a terminal, you probably want pcf (pc + fossil). john ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <CAL4LZyhADVbrwhAE2c4xmhwLhZyng8VhbWUkZNAepL17G_u9GA@mail.gmail.c>]
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error [not found] ` <CAL4LZyhADVbrwhAE2c4xmhwLhZyng8VhbWUkZNAepL17G_u9GA@mail.gmail.c> @ 2012-07-19 17:21 ` erik quanstrom 2012-07-19 17:48 ` John Floren 0 siblings, 1 reply; 14+ messages in thread From: erik quanstrom @ 2012-07-19 17:21 UTC (permalink / raw) To: 9fans > But as Federico mentioned, you might not want pcdisk--that's for > running with a kfs root, which isn't officially supported any more. If > you were looking at the 3e guide, that might explain it. These days, > for a terminal, you probably want pcf (pc + fossil). for a terminal, ideally one would be booting off a file server, and have no local storage. but local storage can't be avoided, as i see it, on a standalone terminal, simple, speedy, safe would trump fs features. so kfs can't just be excluded. your tradeoffs may vary. :-) - erik ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-19 17:21 ` erik quanstrom @ 2012-07-19 17:48 ` John Floren 0 siblings, 0 replies; 14+ messages in thread From: John Floren @ 2012-07-19 17:48 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom <quanstro@quanstro.net> wrote: >> But as Federico mentioned, you might not want pcdisk--that's for >> running with a kfs root, which isn't officially supported any more. If >> you were looking at the 3e guide, that might explain it. These days, >> for a terminal, you probably want pcf (pc + fossil). > > for a terminal, ideally one would be booting off a file server, > and have no local storage. > > but local storage can't be avoided, > as i see it, on a standalone terminal, simple, speedy, safe > would trump fs features. so kfs can't just be excluded. > > your tradeoffs may vary. :-) > > - erik > There's certainly reasons for using kfs, but for a new user I'd probably recommend fossil simply because the documentation and most 9fans will assume you're using fossil. But yeah, *best* option is to netboot a 9pc kernel, it's lovely to just hit the power button when you're done working. John ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: 2012-07-19 9:07 [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: kalaracey 2012-07-19 9:16 ` Federico Benavento 2012-07-19 9:17 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: Charles Forsyth @ 2012-07-19 9:20 ` David du Colombier 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 3 siblings, 0 replies; 14+ messages in thread From: David du Colombier @ 2012-07-19 9:20 UTC (permalink / raw) To: 9fans The = character have a special meaning for the rc shell and should be escaped. Type this instead: % mk CONF'='9pcdisk -- David du Colombier ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-19 9:07 [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: kalaracey ` (2 preceding siblings ...) 2012-07-19 9:20 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: David du Colombier @ 2012-07-23 8:32 ` Kyle Laracey 2012-07-23 11:14 ` hiro ` (2 more replies) 3 siblings, 3 replies; 14+ messages in thread From: Kyle Laracey @ 2012-07-23 8:32 UTC (permalink / raw) To: 9fans On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren wrote: > On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom <quanstro@quanstro.net> wrote: > >> But as Federico mentioned, you might not want pcdisk--that's for > >> running with a kfs root, which isn't officially supported any more. If > >> you were looking at the 3e guide, that might explain it. These days, > >> for a terminal, you probably want pcf (pc + fossil). > > > > for a terminal, ideally one would be booting off a file server, > > and have no local storage. > > > > but local storage can't be avoided, > > as i see it, on a standalone terminal, simple, speedy, safe > > would trump fs features. so kfs can't just be excluded. > > > > your tradeoffs may vary. :-) > > > > - erik > > > > There's certainly reasons for using kfs, but for a new user I'd > probably recommend fossil simply because the documentation and most > 9fans will assume you're using fossil. > > But yeah, *best* option is to netboot a 9pc kernel, it's lovely to > just hit the power button when you're done working. > > > John Wow so do you guys actually netbook Plan9? Where's the central server? where you work / university or something? Or do you just have it set up at your homes? Sounds pretty cool... ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey @ 2012-07-23 11:14 ` hiro 2012-07-23 12:32 ` Matthew Veety 2012-07-23 12:29 ` mveety 2012-07-23 16:42 ` John Floren 2 siblings, 1 reply; 14+ messages in thread From: hiro @ 2012-07-23 11:14 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs I'm currently traveling but I simply install it on all PCs I can find. If people ask me where their data is I start catclock and pretend I thought plan9 was a game. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-23 11:14 ` hiro @ 2012-07-23 12:32 ` Matthew Veety 0 siblings, 0 replies; 14+ messages in thread From: Matthew Veety @ 2012-07-23 12:32 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Monday 23 July 2012 13:14:11 hiro wrote: > I'm currently traveling but I simply install it on all PCs I can find. > If people ask me where their data is I start catclock and pretend I > thought plan9 was a game. Catclock isn't a game? I always thought that catclock was the best mmorpg/fps/rts game ever. -- Veety ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-23 11:14 ` hiro @ 2012-07-23 12:29 ` mveety 2012-07-23 16:42 ` John Floren 2 siblings, 0 replies; 14+ messages in thread From: mveety @ 2012-07-23 12:29 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Monday 23 July 2012 08:32:12 Kyle Laracey wrote: > On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren wrote: > > On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom > > <quanstro@quanstro.net> wrote: >> But as Federico mentioned, > > you might not want pcdisk--that's for >> running with a kfs > > root, which isn't officially supported any more. If >> you were > > looking at the 3e guide, that might explain it. These days, >> for > > a terminal, you probably want pcf (pc + fossil). > > > > > > for a terminal, ideally one would be booting off a file server, > > > and have no local storage. > > > > > > but local storage can't be avoided, > > > as i see it, on a standalone terminal, simple, speedy, safe > > > would trump fs features. so kfs can't just be excluded. > > > > > > your tradeoffs may vary. :-) > > > > > > - erik > > > > > > > There's certainly reasons for using kfs, but for a new user I'd > > probably recommend fossil simply because the documentation and most > > 9fans will assume you're using fossil. > > > > But yeah, *best* option is to netboot a 9pc kernel, it's lovely to > > just hit the power button when you're done working. > > > > > > John > > Wow so do you guys actually netbook Plan9? Where's the central > server? where you work / university or something? Or do you just > have it set up at your homes? Sounds pretty cool... My fs/auth server is at my house, and I netboot 9vx off of it when I need to get real work done. There used to be a server at RIT that you could do the same thing at, but it doesn't seem to be online anymore. -- Veety ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] Can't "mk CONF=9pcdisk" --> gives error 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-23 11:14 ` hiro 2012-07-23 12:29 ` mveety @ 2012-07-23 16:42 ` John Floren 2 siblings, 0 replies; 14+ messages in thread From: John Floren @ 2012-07-23 16:42 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Mon, Jul 23, 2012 at 1:32 AM, Kyle Laracey <kalaracey@gmail.com> wrote: > On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren wrote: >> On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom <quanstro@quanstro.net> wrote: >> >> But as Federico mentioned, you might not want pcdisk--that's for >> >> running with a kfs root, which isn't officially supported any more. If >> >> you were looking at the 3e guide, that might explain it. These days, >> >> for a terminal, you probably want pcf (pc + fossil). >> > >> > for a terminal, ideally one would be booting off a file server, >> > and have no local storage. >> > >> > but local storage can't be avoided, >> > as i see it, on a standalone terminal, simple, speedy, safe >> > would trump fs features. so kfs can't just be excluded. >> > >> > your tradeoffs may vary. :-) >> > >> > - erik >> > >> >> There's certainly reasons for using kfs, but for a new user I'd >> probably recommend fossil simply because the documentation and most >> 9fans will assume you're using fossil. >> >> But yeah, *best* option is to netboot a 9pc kernel, it's lovely to >> just hit the power button when you're done working. >> >> >> John > > Wow so do you guys actually netbook Plan9? Where's the central > server? where you work / university or something? Or do you just > have it set up at your homes? Sounds pretty cool... > Here at work, we've got a cpu/auth/file server running fossil and venti off a Coraid storage appliance, sitting in the machine room. We netboot some terminals and a 32-core test server from it. At home, I've got a cpu/auth/file server running on an old Thinkpad, but I generally just drawterm in since 1. it's a hassle to plug yourself into the wired network and 2. I rarely have a netbootable terminal at home. Netbooting is great, though. You can also cheat and install Plan 9 on the disk, but then specify that root is from a remote server, meaning your kernel will boot from the hard drive but after bootup it's basically idle. John ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-07-23 16:42 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-07-19 9:07 [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: kalaracey 2012-07-19 9:16 ` Federico Benavento 2012-07-19 14:25 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-19 9:17 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: Charles Forsyth 2012-07-19 14:25 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-19 16:59 ` John Floren [not found] ` <CAL4LZyhADVbrwhAE2c4xmhwLhZyng8VhbWUkZNAepL17G_u9GA@mail.gmail.c> 2012-07-19 17:21 ` erik quanstrom 2012-07-19 17:48 ` John Floren 2012-07-19 9:20 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: David du Colombier 2012-07-23 8:32 ` [9fans] Can't "mk CONF=9pcdisk" --> gives error Kyle Laracey 2012-07-23 11:14 ` hiro 2012-07-23 12:32 ` Matthew Veety 2012-07-23 12:29 ` mveety 2012-07-23 16:42 ` John Floren
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).