From owner-cvs-all Thu Jan 17 13: 4:14 2002 Delivered-To: cvs-all@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id CBF9F37B400; Thu, 17 Jan 2002 13:04:04 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g0HL3vD27270; Thu, 17 Jan 2002 14:03:57 -0700 (MST) (envelope-from ken) Date: Thu, 17 Jan 2002 14:03:57 -0700 From: "Kenneth D. Merry" To: Joerg Wunsch , Wilko Bulte , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/camcontrol Makefile camcontrol.c Message-ID: <20020117140357.A27220@panzer.kdm.org> References: <200201172026.g0HKQES73581@freefall.freebsd.org> <20020117213458.A38235@freebie.xs4all.nl> <20020117214621.A19869@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20020117214621.A19869@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Thu, Jan 17, 2002 at 09:46:21PM +0100 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 On Thu, Jan 17, 2002 at 21:46:21 +0100, Joerg Wunsch wrote: > 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. FWIW, devlist doesn't need the pass device, only the xpt device, and doesn't involve any static/constant strings (other than the string needed to translate "devlist" into CAM_ARG_DEVTREE). It would require more space, though. Sending a BDR, however, does require a pass device, so resetting a bus:target:lun won't work on the boot floppy (without devfs). (That's not a problem, though.) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message