From owner-freebsd-small Tue Oct 2 8:48:26 2001 Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 095ED37B403; Tue, 2 Oct 2001 08:48:22 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f92FjXs25805; Tue, 2 Oct 2001 08:45:33 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200110021545.f92FjXs25805@iguana.aciri.org> Subject: compiling kernels from readonly source trees ? To: hackers@freebsd.org Date: Tue, 2 Oct 2001 08:45:33 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Bcc to -small as someone there might have had similar problems] Hi, I was trying to modify the picobsd build scripts so that the source tree is entirely readonly. For the most part of it i think i managed, the only missing part seems to be compilation of new kernels. config supports the "-d" command to set the destination directory, but it appears that it insists on the config file being in ${SYS}/${ARCH}/conf/ as it derives other paths from the current directory, such as ... if (realpath("../..", srcdir) == NULL) ... (void) snprintf(fname, sizeof(fname), "../../conf/options"); and maybe more places like this. Am I wrong ? And if not, is there any plan to make config handle config files in other places than ${SYS}/${ARCH}/conf ? cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Oct 4 6:19:35 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail008.syd.optusnet.com.au (mail008.syd.optusnet.com.au [203.2.75.232]) by hub.freebsd.org (Postfix) with ESMTP id E8B3137B405 for ; Thu, 4 Oct 2001 06:19:30 -0700 (PDT) Received: from w95 (wdcax13-126.dialup.optusnet.com.au [198.142.220.126]) by mail008.syd.optusnet.com.au (8.11.1/8.11.1) with SMTP id f94DJSA24635 for ; Thu, 4 Oct 2001 23:19:28 +1000 Message-ID: <009801c14cd7$329b4240$0104010a@famzon.com.au> Reply-To: "Andrew Hannam" From: "Andrew Hannam" To: Subject: Writable CD's Date: Thu, 4 Oct 2001 23:07:23 +1000 Organization: FamZon Systems MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0043_01C14D29.53AC8E60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Disposition-Notification-To: "Andrew Hannam" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C14D29.53AC8E60 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable With the recent price drops with writable CD's - is there any support in = FreeBSD/PicoBSD (or even Linux) for using packet writing capabilities to = implement a read/write file system (the same way that Roxio DirectCD = does for WinXX platforms)? This sort of capability with a CDRW would be ideal for large Pico or = small FreeBSD installations. ------=_NextPart_000_0043_01C14D29.53AC8E60 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
With the recent price drops with writable CD's - is = there any=20 support in FreeBSD/PicoBSD (or even Linux) for using packet writing = capabilities=20 to implement a read/write file system (the same way that Roxio DirectCD = does for=20 WinXX platforms)?
 
This sort of capability with a CDRW would be ideal = for large=20 Pico or small FreeBSD installations.
 
------=_NextPart_000_0043_01C14D29.53AC8E60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Oct 4 14: 6:46 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail2.aracnet.com (mail2.aracnet.com [216.99.193.35]) by hub.freebsd.org (Postfix) with ESMTP id 5658437B401 for ; Thu, 4 Oct 2001 14:06:44 -0700 (PDT) Received: from amy (216-99-218-147.dsl.aracnet.com [216.99.218.147]) by mail2.aracnet.com (8.11.6/8.11.0) with ESMTP id f94L6hj10313 for ; Thu, 4 Oct 2001 14:06:43 -0700 Message-ID: <009c01c14d18$782c2f40$0200a8c0@longs> From: "Paul W Long" To: Subject: root password Date: Thu, 4 Oct 2001 14:06:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I understand that the default root password for the bridge build is setup and that I should change it by editing /usr/src/release/picobsd/bridge/floppy.tree/etc/master.passwd. But what I don't know is, and my newbie-ness is really showing here, how does one edit master.passwd? I tried pw -V /usr/src/release/picobsd/bridge/floppy.tree/etc/ useradd -n root -u 0 -d /root -w random Will this do the trick? Pointers? Appropriate man pages? Regards, -pwl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Oct 4 14:16:51 2001 Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id ACB7237B403 for ; Thu, 4 Oct 2001 14:16:48 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f94LDmU46526; Thu, 4 Oct 2001 14:13:48 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200110042113.f94LDmU46526@iguana.aciri.org> Subject: Re: root password In-Reply-To: <009c01c14d18$782c2f40$0200a8c0@longs> from Paul W Long at "Oct 4, 2001 2: 6:40 pm" To: paul@longs.org (Paul W Long) Date: Thu, 4 Oct 2001 14:13:48 -0700 (PDT) Cc: small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I understand that the default root password for the bridge build is setup > and that I should change it by editing > /usr/src/release/picobsd/bridge/floppy.tree/etc/master.passwd. But what I > don't know is, and my newbie-ness is really showing here, how does one edit > master.passwd? I tried pw -V > /usr/src/release/picobsd/bridge/floppy.tree/etc/ useradd -n root -u 0 -d > /root -w random Will this do the trick? Pointers? Appropriate man pages? > Regards, the easiest way is to update the entry in the default master.passwd with a line from your master.passwd luigi > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Oct 4 18:42:23 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail2.aracnet.com (mail2.aracnet.com [216.99.193.35]) by hub.freebsd.org (Postfix) with ESMTP id 70E2237B403 for ; Thu, 4 Oct 2001 18:42:21 -0700 (PDT) Received: from amy (216-99-218-147.dsl.aracnet.com [216.99.218.147]) by mail2.aracnet.com (8.11.6/8.11.0) with ESMTP id f951g6v29776; Thu, 4 Oct 2001 18:42:06 -0700 Message-ID: <00c501c14d3e$f022ad00$0200a8c0@longs> From: "Paul W Long" To: "Luigi Rizzo" Cc: References: <200110042113.f94LDmU46526@iguana.aciri.org> Subject: Re: root password Date: Thu, 4 Oct 2001 18:40:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I understand that the default root password for the bridge build is setup > > and that I should change it by editing > > /usr/src/release/picobsd/bridge/floppy.tree/etc/master.passwd. But what I > > don't know is, and my newbie-ness is really showing here, how does one edit > > master.passwd? I tried pw -V > > /usr/src/release/picobsd/bridge/floppy.tree/etc/ useradd -n root -u 0 -d > > /root -w random Will this do the trick? Pointers? Appropriate man pages? > > Regards, > > the easiest way is to update the entry in the default master.passwd with a > line from your master.passwd > > luigi Of course. Thanks -pwl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Oct 5 5:35: 8 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 4F63137B409 for ; Fri, 5 Oct 2001 05:34:50 -0700 (PDT) Received: from svzserv.kemerovo.su (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.9.3/8.9.3) with ESMTP id UAA18738; Fri, 5 Oct 2001 20:34:44 +0800 (KRAST) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3BBDA8E1.271F2E4B@svzserv.kemerovo.su> Date: Fri, 05 Oct 2001 20:34:41 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Andrew Hannam Cc: small@FreeBSD.ORG Subject: Re: Writable CD's References: <009801c14cd7$329b4240$0104010a@famzon.com.au> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > With the recent price drops with writable CD's - is there any support in > FreeBSD/PicoBSD (or even Linux) for using packet writing capabilities to > implement a read/write file system (the same way that Roxio DirectCD does > for WinXX platforms)? > > This sort of capability with a CDRW would be ideal for large Pico or small > FreeBSD installations. There were some posts to freebsd lists about work-in-progress on support of UDF filesystem (that's what DirectCD does), but it was long time ago. No informaton about working realization. Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Oct 6 5: 5:31 2001 Delivered-To: freebsd-small@freebsd.org Received: from kim.ispra.webweaving.org (adsl-66-124-87-42.dsl.snfc21.pacbell.net [66.124.87.42]) by hub.freebsd.org (Postfix) with ESMTP id AFCCB37B401 for ; Sat, 6 Oct 2001 05:05:24 -0700 (PDT) Received: from kim.ispra.webweaving.org (kim.ispra.webweaving.org [10.10.0.2]) by kim.ispra.webweaving.org (8.8.8/8.8.5) with ESMTP id GAA27914; Sat, 6 Oct 2001 06:25:27 GMT X-Passed: MX on Ispra.WebWeaving.org Sat, 6 Oct 2001 06:25:27 GMT and masked X-No-Spam: Neither the receipients nor the senders email address(s) are to be used for Unsolicited (Commercial) Email without the explicit written consent of either party; as a per-message fee is incurred for inbound and outbound traffic to the originator. Posted-Date: Sat, 6 Oct 2001 06:25:27 GMT Date: Sat, 6 Oct 2001 08:25:26 +0200 (CEST) From: Dirk-Willem van Gulik X-Sender: dirkx@kim.ispra.webweaving.org To: Eugene Grosbein Cc: Andrew Hannam , small@FreeBSD.ORG Subject: Re: Writable CD's In-Reply-To: <3BBDA8E1.271F2E4B@svzserv.kemerovo.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What I've found to work well as a 'quick' hack is to simply make an UFS inside a file with newfs/vnconfig and burn that onto a CD - and threat is as a diskless machine. That feels very much like a normal file system and you need to change little. Dw On Fri, 5 Oct 2001, Eugene Grosbein wrote: > > With the recent price drops with writable CD's - is there any support in > > FreeBSD/PicoBSD (or even Linux) for using packet writing capabilities to > > implement a read/write file system (the same way that Roxio DirectCD does > > for WinXX platforms)? > > > > This sort of capability with a CDRW would be ideal for large Pico or small > > FreeBSD installations. > > There were some posts to freebsd lists about work-in-progress on > support of UDF filesystem (that's what DirectCD does), > but it was long time ago. No informaton about working realization. > > Eugene > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Oct 6 10:24:35 2001 Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 2969737B417 for ; Sat, 6 Oct 2001 10:24:25 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f96HLKb66068; Sat, 6 Oct 2001 10:21:20 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200110061721.f96HLKb66068@iguana.aciri.org> Subject: Re: Writable CD's In-Reply-To: from Dirk-Willem van Gulik at "Oct 6, 2001 8:25:26 am" To: dirkx@webweaving.org (Dirk-Willem van Gulik) Date: Sat, 6 Oct 2001 10:21:20 -0700 (PDT) Cc: eugen@svzserv.kemerovo.su, famzon@bigfoot.com, small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > What I've found to work well as a 'quick' hack is to simply make an UFS > inside a file with newfs/vnconfig and burn that onto a CD - and threat is > as a diskless machine. That feels very much like a normal file system and > you need to change little. this seems to be different from what was requested in the original email, which seems to be "how to use a CDRW as a read/write writable filesystem". In any case, i tried the UFS-over-CD trick (actually something more trivial, such as burning an umounted filesystem onto a CD. Small disks at the time...) some time ago with different success. On some version of FreeBSD (2.2.x i seem to remember) it did work, whereas 3.x with the same image would quickly panic during or after mounting the filesystem, even if mounted readonly. The problem was, i thought, the OS not being too happy for being unable to write something onto the disk. Has the situation changed ? cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message