From owner-cvs-all Thu Jan 17 12:50: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 5E60537B417; Thu, 17 Jan 2002 12:49:57 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA29839; Thu, 17 Jan 2002 21:49:54 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g0HKkLk29033; Thu, 17 Jan 2002 21:46:21 +0100 (MET) (envelope-from j) Date: Thu, 17 Jan 2002 21:46:21 +0100 From: Joerg Wunsch To: Wilko Bulte Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/camcontrol Makefile camcontrol.c Message-ID: <20020117214621.A19869@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , Wilko Bulte , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200201172026.g0HKQES73581@freefall.freebsd.org> <20020117213458.A38235@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020117213458.A38235@freebie.xs4all.nl>; from wkb@freebie.xs4all.nl on Thu, Jan 17, 2002 at 09:34:58PM +0100 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As Wilko Bulte wrote: > > Provide an option to make camcontrol `minimalistic': if the (env/make) > > variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be > > built that only knows the "rescan" and "reset" subcommands. The > > resulting code is small enough to still fit onto the boot floppy. > > Is it also possible without bloating it to have 'devlist' ? That was an idea that came to mind, too. I'm afraid currently not, at least on IA32, space is pretty tight. I hope to be able to recover some by dropping tunefs again, now that newfs can handle setting the softupdates flag. But that still needs to be done (and it's not that easy since sysinstall apparently offers to tunefs a filesystem when not running as init, too -- but it could hope to find tunefs in the regular filesystem tree then). Both reset and rescan basically share the same (minimal) code set, that's why i left "reset" in even though it's certainly less needed. devlist adds a good part of further code (like handling /dev/passN) plus probably a number of constant strings. > This question is triggered by me just overwriting the wrong disk > on my Alpha during a RC test :-/ That reminds me: could you test it in a "make release" on the Alpha? -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message