From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10751 invoked from network); 10 Jun 2023 15:13:47 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 10 Jun 2023 15:13:47 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id D053A37F8D for ; Sat, 10 Jun 2023 11:13:44 -0400 (EDT) (envelope-from bounce.mMe9181c9334450bf348bf6ca1.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id CC02E1C90788; Sat, 10 Jun 2023 11:13:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=to :message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:from:list-unsubscribe; s= dkim-1; t=1686410024; x=1686496424; bh=eJVDQO5hdwYsJcMyN+jUMFD3+ ayeFMrse68ZuDypRIE=; b=B131M4DsNcDEIpVLVkxCUwogeA+ovlTj/trERK9Xu zmPPTg8IjleR0FzciZJUfiQm8ahJJsa9F/D91XTuB0qRy/Fy1P+hBCBHbA8KWuXQ LRw0vY0+6jDiDquV+Cd9Ruap22ofkOCvtk492iP1dpc0/jOPlmW7T4D+asT2wVpk ho= To: 9fans <9fans@9fans.net> Message-Id: <16864100150.FEFAd65.314932@composer.9fans.topicbox.com> Date: Sat, 10 Jun 2023 11:13:35 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16864100151.5aCDA.314932 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 5fac034e-07a1-11ee-a143-5344262d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNzhlYmM1NzIzZjJjMDBlMS1NZTkxODFjOTMzNDQ1MGJmMzQ4YmY2?= =?UTF-8?B?Y2ExPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Connecting root fileservers during boot From: "ibrahim via 9fans" <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Me9181c9334450bf348bf6ca1:1:dl0_Tqg6KStLwmU234KnYbTLW5SHzfJZc8bfmXP2u7M --16864100151.5aCDA.314932 Date: Sat, 10 Jun 2023 11:13:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable While embedding root-filesystems to create a live-USB using paqfs I found s= ome interesting behavior : Starting your user file server with=20 *argp++ =3D "userfsrv"; *argp++ =3D "-S" ; *argp++ =3D "ufsrv" ; *argp++ =3D "-f" ; *argp++ =3D partition ; for(i=3D1; i
While embedding root-filesystems to create a l= ive-USB using paqfs I found some interesting behavior :
Starting your user file server with

*argp++ =3D "userfsrv";
*argp++ =3D "-S" ;
*argp++ =3D "ufsrv" ;
*argp++ =3D "-f" ;
*argp++ =3D partition ;
for(i=3D1; i<bargc; i++)
*argp++ =3D bargv[i];
*argp =3D 0;

exec("/boot/userfsrv", arg);
fatal("can't exec userfsrv");

and using :

int nfd=3Dopen("#s/ufsrv"=
, ORDWR) ;
return nfd ;


works, while using -i to connect over std= io (-pipes) does lead to a version error in devmnt

Using this method its quite simple to create a bootable USB (insta= ll-) live Stick from within 9legacy or 9vx.

I didn't have the time to search for the reason behind this changed b= ehaviour in devmnt.

With this workaround I= created a bootable install CD from the 9legacy ISO for devices which don&#= 39;t have CDROM devices.

= --16864100151.5aCDA.314932--