Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 14:03:57 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Joerg Wunsch <j@uriah.heep.sax.de>, Wilko Bulte <wkb@freebie.xs4all.nl>, 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>
In-Reply-To: <20020117214621.A19869@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Thu, Jan 17, 2002 at 09:46:21PM %2B0100
References:  <200201172026.g0HKQES73581@freefall.freebsd.org> <20020117213458.A38235@freebie.xs4all.nl> <20020117214621.A19869@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020117140357.A27220>