From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] pi4 USB '/boot/kfs' error
Date: Sat, 7 Jan 2023 22:21:46 +0000 [thread overview]
Message-ID: <e520f71a96df7572751835d6469b7bb7@hamnavoe.com> (raw)
In-Reply-To: <9EE1FF7C-5515-4B04-91C0-D30389B09DEF@germteig.com>
> But many thanks for the fs(3) hint. I’m looking into it.
Apologies. To configure a usb disk using fs(3) at boot time, you need
this change to /sys/src/9/boot/local.c which hasn't gone into the
9legacy tree yet:
/sys/src/9/boot/local.c:277,286 - local.c:277,286
if(bind("#p", "/proc", MREPL) < 0)
fatal("bind #p");
bind("#S", "/dev", MAFTER);
- bind("#k", "/dev", MAFTER);
bind("#u", "/dev", MAFTER);
bind("#æ", "/dev", MAFTER);
mountusbparts(); /* make partfs partitions visible again */
+ bind("#k", "/dev", MAFTER); /* /dev/fs config might refer to usb disks */
if((fd = connectlocalfossil()) < 0)
fd = connectlocalkfs();
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T4cb044b1eee98e3e-M9b4ad2b3c2c1e1add529e1eb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2023-01-07 22:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-07 17:40 Marco Feichtinger
2023-01-07 19:49 ` Richard Miller
2023-01-07 20:53 ` Marco Feichtinger
2023-01-07 22:21 ` Richard Miller [this message]
2023-01-08 15:59 ` Richard Miller
2023-01-08 17:36 ` Marco Feichtinger
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=e520f71a96df7572751835d6469b7bb7@hamnavoe.com \
--to=9fans@hamnavoe.com \
--cc=9fans@9fans.net \
/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).