From owner-freebsd-small Mon Jul 2 5:45:35 2001 Delivered-To: freebsd-small@freebsd.org Received: from luggage.securecirt.com (mcns19.docsis10.singa.pore.net [202.156.10.19]) by hub.freebsd.org (Postfix) with ESMTP id A39FA37B401 for ; Mon, 2 Jul 2001 05:45:24 -0700 (PDT) (envelope-from jonathan@z-vance.com) Received: from luggage (localhost [127.0.0.1]) by luggage.securecirt.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id f616aOF22519; Sun, 1 Jul 2001 14:36:26 +0800 Content-Type: text/plain; charset="iso-8859-1" From: Michael Boman Reply-To: michael.boman@securecirt.com Organization: SecuireCiRT To: Luigi Rizzo , Michael Boman Subject: Re: Problem with MD devices in PicoBSD Date: Sun, 1 Jul 2001 14:36:24 +0800 X-Mailer: KMail [version 1.2] Cc: freebsd-small@FreeBSD.ORG References: <200106301545.RAA25290@info.iet.unipi.it> In-Reply-To: <200106301545.RAA25290@info.iet.unipi.it> MIME-Version: 1.0 Message-Id: <01070114362400.28977@luggage> Content-Transfer-Encoding: 8bit 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 On Saturday 30 June 2001 23:45, Luigi Rizzo wrote: > [Charset iso-8859-1 unsupported, filtering to ASCII...] > > > Hi! > > > > I have some problem getting up a second MD device on PicoBSD (the version > > from today's -STABLE). I need more space then the 2200kb the initial disk > > is. If I try to increase the initial disk (the one mounted as "/") i get > > "Out of space" error while building, so I thought about increasing > > diskspace on-the-fly when it's needed... > > not sure what you want to do. If you need space at runtime, > then just make a larger MFS image, which is compressed, so > the extra (empty) space takes almost nothing. I need approx. 30 Mb storage area (rw) for additional software I need to use. Now, I can't possible fit 30 Mb on a 1.44 Mb floppy, so I get the extra software from CDROM and over network (scp or rsync). But first of all I need the extra 30 Mb disk-space to store the files in. > If you get "Out of space" errors, it means that even the compressed > image is too large and then you have to drop something. > > Anyways, if you are on stable, i think you need /dev/vn* and not > /dev/md* Ok, I've added the vn* devices, both in the kernel and in the ~net/config file and they get created. How can I make a 30 Mb ramdisk on the fly from here? I am sorry to bother you but I cant find any concrete information on the websites. The only thing I find is to use vnconfig, but can't find any info how to create a disk from thin air. > cheers > luigi > > > Anyway, whatever I try to do with /dev/md1 I get "Device Not Configured" > > error. Could someone let me know how to create a second MD device, or > > point me to the correct direction? > > > > Kernel config, crunch.cong and config files are availble if needed. > > > > Thanks! > > > > Michael Boman > > > > 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 -- Michael Boman #04-01, 750c Chai Chee Road Security Architect Technopark@ChaiChee, Singapore 469003 SecureCiRT Tel: 2436800 Fax: 4415119 Mobile: 96942601 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Jul 2 7:55:17 2001 Delivered-To: freebsd-small@freebsd.org Received: from hindenburg.eboai.org (hindenburg.eboai.org [206.183.134.245]) by hub.freebsd.org (Postfix) with ESMTP id 648F337B403 for ; Mon, 2 Jul 2001 07:55:15 -0700 (PDT) (envelope-from chip@chocobo.cx) Received: by hindenburg.eboai.org (Postfix, from userid 1000) id 7F8815E2D8; Mon, 2 Jul 2001 10:55:14 -0400 (EDT) Date: Mon, 2 Jul 2001 10:55:14 -0400 From: Chip Marshall To: Michael Boman Cc: freebsd-small@FreeBSD.ORG Subject: Re: Problem with MD devices in PicoBSD Message-ID: <20010702105514.A78399@setzer.chocobo.cx> Reply-To: chip@chocobo.cx Mail-Followup-To: Chip Marshall , Michael Boman , freebsd-small@FreeBSD.ORG References: <200106301545.RAA25290@info.iet.unipi.it> <01070114362400.28977@luggage> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <01070114362400.28977@luggage>; from michael.boman@securecirt.com on Sun, Jul 01, 2001 at 02:36:24PM +0800 X-URL: http://www.chocobo.cx/chip/ X-OS: FreeBSD 4.2-RELEASE i386 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 On July 01, 2001, Michael Boman sent me the following: > Ok, I've added the vn* devices, both in the kernel and in the > ~net/config file and they get created. How can I make a 30 Mb ramdisk > on the fly from here? I am sorry to bother you but I cant find any > concrete information on the websites. The only thing I find is to use > vnconfig, but can't find any info how to create a disk from thin air. If you're trying to create the space on the fly, isn't that more the job of mount_mfs than md? Or am I missing something? -- Chip Marshall http://www.chocobo.cx/chip/ GCM/CS d+(-) s+:++ a19>? C++ UB++++$ P+++$ L- E--- W++ N+@ o K- w O M+ V-- PS PE Y? PGP++ t+@ 5 X R>+ tv+() b++>+++ DI++++ D(-) G++ e>++ h!>++ r-- y- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jul 3 1:40:50 2001 Delivered-To: freebsd-small@freebsd.org Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by hub.freebsd.org (Postfix) with ESMTP id E013437B409 for ; Tue, 3 Jul 2001 01:40:46 -0700 (PDT) (envelope-from ast@marabu.ch) Received: (from uucp@localhost) by oneplusone.ch (8.11.3/8.11.3) with UUCP id f63602i18533; Tue, 3 Jul 2001 08:00:02 +0200 (MEST) (envelope-from ast@marabu.ch) Received: from marabu.marabu.ch (marabu.marabu.ch [192.168.21.3]) by marabu.ch (8.9.3/2000102801) with ESMTP id HAA04178; Tue, 3 Jul 2001 07:56:05 +0200 (CEST) (envelope-from ast@marabu.ch) Received: by marabu.marabu.ch (8.7.5/20001028-ast-8.3) id HAA03735; Tue, 3 Jul 2001 07:56:02 +0200 (CEST) Message-Id: <200107030556.HAA03735@marabu.marabu.ch> MIME-Version: 1.0 (NeXT Mail 3.3 v124.8483.6) Content-Type: text/plain In-Reply-To: <3B3CD421.EE4DF32D@lodgenet.com> X-Nextstep-Mailer: Mail 3.3 (Enhance 2.0b6) Received: by NeXT.Mailer (1.124.8483.6) From: Adrian Steinmann Date: Tue, 3 Jul 2001 07:56:00 +0200 To: Lee McKenna Subject: Re: busybox for picobsd Cc: freebsd-small@FreeBSD.ORG References: <3B3CD421.EE4DF32D@lodgenet.com> X-Organization: Steinmann Consulting, Apollostrasse 21, 8032 Zurich X-Phone-Numbers: Switzerland, Tel +41 1 380 30 83 Fax +41 1 380 30 85 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 use sash (see ports/shells/sash) and then this generator (/mini is where I put my local small stuff) # craft a small shell script for sash builtin commands { echo '#!/bin/sh -'; echo "eval exec /mini/sash -c \\'-\`echo \$0|/mini/sed -e 's/[^\/]*\///g'\` \$@\'"; } > sash_builtin chmod 755 sash_builtin for cmd in \ chgrp chmod chown cmp cp dd ed file find grep gunzip gzip kill \ ln ls mkdir mknod more mv pwd rm rmdir sum sync touch umount do ln sash_builtin $cmd done It's a one-line shell script for *all* the relevant sash commands. Almost as good as busybox, and a lot smaller! Adrian You wrote: Has anyone successfully ported busybox ( http://busybox.lineo.com )to FreeBSD? I know about tinyware, but busybox appears to be a more comprehensive toolkit, except it currently only works under linux -- I've tried to make it on FreeBSD 4.3 and unfortunately I'm not a programmer so I cant fix it... --Lee lee@lodgenet.com< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Jul 3 14:18: 7 2001 Delivered-To: freebsd-small@freebsd.org Received: from ns2.sysadmin-inc.com (ns2.sysadmin-inc.com [209.16.228.145]) by hub.freebsd.org (Postfix) with SMTP id 52C6537B406 for ; Tue, 3 Jul 2001 14:18:05 -0700 (PDT) (envelope-from peter@sysadmin-inc.com) Received: (qmail 1368 invoked by alias); 3 Jul 2001 21:18:29 -0000 Received: from unknown (HELO 98wkst) (10.10.1.70) by ns2.sysadmin-inc.com with SMTP; 3 Jul 2001 21:18:29 -0000 From: "Peter Brezny" To: Subject: mpd-netgraph Date: Tue, 3 Jul 2001 17:17:26 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal 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 Has anyone tried to fit mpd-netgraph on picobsd? Peter Brezny SysAdmin Services Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Jul 4 5:36:40 2001 Delivered-To: freebsd-small@freebsd.org Received: from westgate.starhub.net.sg (westgate.starhub.net.sg [203.116.1.190]) by hub.freebsd.org (Postfix) with ESMTP id D93CE37B401 for ; Wed, 4 Jul 2001 05:36:36 -0700 (PDT) (envelope-from michael@securecirt.com) Received: from ayeka.dyndns.org (mcns98.docsis48.singa.pore.net [202.156.48.98]) by westgate.starhub.net.sg (8.10.1/8.10.1) with SMTP id f64CaQF08358; Wed, 4 Jul 2001 20:36:27 +0800 (SST) Content-Type: text/plain; charset="iso-8859-1" From: Michael Boman Organization: SecureCiRT To: chip@chocobo.cx, Chip Marshall , Michael Boman Subject: SOLVED: Re: Problem with MD devices in PicoBSD Date: Wed, 4 Jul 2001 20:31:13 +0800 X-Mailer: KMail [version 1.2] Cc: freebsd-small@FreeBSD.ORG References: <200106301545.RAA25290@info.iet.unipi.it> <01070114362400.28977@luggage> <20010702105514.A78399@setzer.chocobo.cx> In-Reply-To: <20010702105514.A78399@setzer.chocobo.cx> MIME-Version: 1.0 Message-Id: <01070420311300.57017@ayeka.dyndns.org> Content-Transfer-Encoding: 8bit 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 On Monday 02 July 2001 22:55, Chip Marshall wrote: > On July 01, 2001, Michael Boman sent me the following: > > Ok, I've added the vn* devices, both in the kernel and in the > > ~net/config file and they get created. How can I make a 30 Mb ramdisk > > on the fly from here? I am sorry to bother you but I cant find any > > concrete information on the websites. The only thing I find is to use > > vnconfig, but can't find any info how to create a disk from thin air. > > If you're trying to create the space on the fly, isn't that more the > job of mount_mfs than md? Or am I missing something? Yes, that's totaly correct. Here is the steps for the archives if the question comes up again: edit crunch.conf and add progs newfs ln newfs mount_mfs I mount my ramdisk like this: /sbin/mount_mfs -s 32768 -T ramdisk dummy /usr/local where my /etc/disktab entry for ramdisk looks like this: ramdisk:\ :ty=mfs:se#1024:nt#1:rm#300:\ :ns#32000:nc#1:\ :pa#32000:oa#0:ba#4096:fa#512:\ :pc#32000:oc#0:bc#4096:fc#512: Best regards Michael Boman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message