Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EekqL-0002XI-Fe for mharc-grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EekqJ-0002Ww-Mr for grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EekqJ-0002Wa-1Y for grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EekqI-0002WX-VH for grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:43 -0500 Received: from [209.86.89.64] (helo=smtpauth04.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EekqJ-0003cG-3n for grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:43 -0500 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth04.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1EekqH-0006Yr-Tz for grub-devel@gnu.org; Tue, 22 Nov 2005 21:58:42 -0500 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <4bf7a326c787c00b52f64b301ebfacdd@penguinppc.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: The development of GRUB 2 From: Hollis Blanchard Date: Tue, 22 Nov 2005 20:58:40 -0600 X-Mailer: Apple Mail (2.623) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec795b98147bc3139b5fd099f067dd2c82c9350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: module references X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2005 02:58:43 -0000 Right now I'm getting a lot of these: ../fs/affs.c: In function `grub_mod_init': ../fs/affs.c:556: warning: unused parameter `mod' ... in fact, one for every GRUB_MOD_INIT in fs/ and partmap/, it seems. This led me to examine the module reference counting system. Most filesystems don't do anything more than set a "my_mod" global variable, and never use it. fat.c, on the other hand, seems to actually be trying to use a refcount. Are modules ever automatically unloaded? When? If so, we need a lot more reference counting. If not, we've got some unnecessary complexity we should remove. -Hollis