From: "ibrahim via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: [9fans] Connecting root fileservers during boot
Date: Sat, 10 Jun 2023 11:13:35 -0400 [thread overview]
Message-ID: <16864100150.FEFAd65.314932@composer.9fans.topicbox.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
While embedding root-filesystems to create a live-USB using paqfs I found some interesting behavior :
Starting your user file server with
*argp++ = "userfsrv";
*argp++ = "-S" ;
*argp++ = "ufsrv" ;
*argp++ = "-f" ;
*argp++ = partition ;
for(i=1; i<bargc; i++)
*argp++ = bargv[i];
*argp = 0;
exec("/boot/userfsrv", arg);
fatal("can't exec userfsrv");
and using :
int nfd=open("#s/ufsrv", ORDWR) ;
return nfd ;
works, while using -i to connect over stdio (-pipes) does lead to a version error in devmnt
Using this method its quite simple to create a bootable USB (install-) live Stick from within 9legacy or 9vx.
I didn't have the time to search for the reason behind this changed behaviour in devmnt.
With this workaround I created a bootable install CD from the 9legacy ISO for devices which don't have CDROM devices.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T78ebc5723f2c00e1-Me9181c9334450bf348bf6ca1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2351 bytes --]
next reply other threads:[~2023-06-10 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-10 15:13 ibrahim via 9fans [this message]
2023-06-10 15:19 ` [9fans] " ibrahim via 9fans
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=16864100150.FEFAd65.314932@composer.9fans.topicbox.com \
--to=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).