From owner-freebsd-stable@FreeBSD.ORG Tue Oct 4 12:33:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C13106564A for ; Tue, 4 Oct 2011 12:33:07 +0000 (UTC) (envelope-from 1wkmmr@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C79008FC0C for ; Tue, 4 Oct 2011 12:33:06 +0000 (UTC) Received: by iadk27 with SMTP id k27so746979iad.13 for ; Tue, 04 Oct 2011 05:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=wg7ArJlMg8DdoOogdhBE21g4GGAlSMXuTtAo3g9bl1w=; b=T9oe/iTLIWllr/3C426pQmwzltubAoVNueUvASAvvSitNvibDzQLqAYyLF99dEeabK SprVwkaaV2bg85VMEGo2vTXbda9dWpUh8Uyz9AzgjjIwdxeyx05ira9yi+bNKQ7Ex2m0 hIKALDRkq32lQhBTvbivNlv99bq/26fwbNcHk= Received: by 10.231.81.199 with SMTP id y7mr1943258ibk.76.1317730185281; Tue, 04 Oct 2011 05:09:45 -0700 (PDT) Received: from [192.168.0.103] (tf-bsp02.eng.niigata-u.ac.jp. [133.35.85.2]) by mx.google.com with ESMTPS id z11sm36679517iba.6.2011.10.04.05.09.43 (version=SSLv3 cipher=OTHER); Tue, 04 Oct 2011 05:09:44 -0700 (PDT) Message-ID: <4E8AF77C.7080102@gmail.com> Date: Tue, 04 Oct 2011 21:09:32 +0900 From: Mamoru Iwaki <1wkmmr@gmail.com> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 04 Oct 2011 12:39:30 +0000 Subject: NANO_MODULES introduced in nanobsd.sh looks inconvenient X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 12:33:07 -0000 Hi, Re: $FreeBSD: src/tools/tools/nanobsd/nanobsd.sh,v 1.51.2.5 2011/10/02 13:48:15 mr Exp $ nanobsd.sh was modified on Revision 225923 Sun Oct 2 13:48:15 2011 UTC. That introduced new variable NANO_MODULES which specifies kernel modules to be included in the final disk image. As a result, no kernel module is installed if NANO_MODULES is empty. It might be useful to reduce the image size. This specification may be acceptable for embedding system's use. However, on the other hand, it means we have to specify all the necessary modules. I'm using nanobsd as a usb-bootable freebsd of fullset. This usb-bootable image is convenient when we use fullset of freebsd on some ms-windows installed pc's which is not allowed to install other OS (Sometimes, we have to give up the warranty if we install other OS.). In this scenario, The current specification is not convenient. How about the following functional modification to the nanobsd.sh in rev.225923. ** If NANO_MODULES is not defined, all modules are installed. Cheers PS. I'm not sure where is the best place to ask. Is it mr?, but how can I access to mr, no way. --- Mamoru Iwaki Japan