From owner-freebsd-questions@FreeBSD.ORG Sun Jan 1 08:10:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DCB106566B for ; Sun, 1 Jan 2012 08:10:48 +0000 (UTC) (envelope-from mokomull@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 087608FC08 for ; Sun, 1 Jan 2012 08:10:47 +0000 (UTC) Received: by werb13 with SMTP id b13so13109683wer.13 for ; Sun, 01 Jan 2012 00:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d0WPSjk6x3T941YuTKu8f1o1TSsM+xMXxWfJ6NnC99g=; b=Gp8pB3ncLUHxrtslrL+PAhBOSpe2lrO0FSeGKCAP/PK3ZqyDc5M3nLls44NZghlTB1 oKdkIvaRxilR8vampcbsnc4L1OoW3EJPQFruzMxmFos6wCqVbBw/p1Qgsr1oavgesjZp S3DH1ZfN/Fk9miUn4cTs7MxlISs1J3068KH3Q= MIME-Version: 1.0 Received: by 10.216.136.73 with SMTP id v51mr30495906wei.5.1325405446705; Sun, 01 Jan 2012 00:10:46 -0800 (PST) Received: by 10.223.156.65 with HTTP; Sun, 1 Jan 2012 00:10:46 -0800 (PST) In-Reply-To: <4EF9F395.6030302@my.gd> References: <4EF9F395.6030302@my.gd> Date: Sun, 1 Jan 2012 00:10:46 -0800 Message-ID: From: Matt Mullins To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@FreeBSD.org" Subject: Re: KERNEL - knowing what programs use/need modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 08:10:48 -0000 On Tue, Dec 27, 2011 at 8:34 AM, Damien Fleuriot wrote: > Now, I'm wondering why in the world a server would need umass, ums and cam ? > > My understanding is that ums is the USB mouse, which we're never going > to need. > > Umass would be USB mass storage, which again we're never going to need. You appear to be correct with these two. My gut tells me these types of things would be loaded when the corresponding devices are plugged into the system, but if that's wrong, surely someone here will speak up. > Regarding CAM I have absolutely no idea why the module is loaded either. That's the SCSI/ATA subsystem; if this is the only of your firewalls to have this module, perhaps it has different disk adapter hardware than the others or another sysadmin decided to load it manually? > Are there any ways of finding what programs, if any, require or use said > modules ? I'd probably start with judicious use of sysutils/lsof to find any programs that have the relevant device nodes open. "grep -Rl" through your binary directories might also find something, but I'd expect a very high false-positive rate with that. Hope any of this helps, Matt Mullins