From owner-freebsd-current@FreeBSD.ORG Fri Apr 19 08:12:03 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 62E669BA for ; Fri, 19 Apr 2013 08:12:03 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id CE070F3 for ; Fri, 19 Apr 2013 08:12:02 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id fk20so3058322lab.20 for ; Fri, 19 Apr 2013 01:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=vALYfNGDrRnR6fna91Y2PyXebdxsTwQfsDrg4a2nMI4=; b=Qqv+haivy99GDzjaAuQorG/UEAZqnUxRNYhZg6YkuRFqAXSfUoPqxq5GVLW4rB9elT GVw0L4jYair7wLOHfJ9tjdeK8ssQKUBAqNPiS96DCyIu+tIACfmjtw26adBx/OKzJrHX YvmDXWlAeRPkwlYMtOhjU10w3NCyq2UXUK7w5Cnedqkom/m5M706ENeoxIKzjYxOWPss lThlYTZ99acVnYrmgyi4CKzHj3kO2DQ10q4WJIKLo6gVQPKUSR0IauKoTDnXP/9CA3Kl z9DLrR2H2/fNWQCDV+LZsalCWs32gfR1jxthLhexu2/ypIhLvNduxkRHGwH7jgOAj8sR 6tsQ== MIME-Version: 1.0 X-Received: by 10.112.133.4 with SMTP id oy4mr7613565lbb.22.1366359121612; Fri, 19 Apr 2013 01:12:01 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.146.135 with HTTP; Fri, 19 Apr 2013 01:12:01 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Apr 2013 01:12:01 -0700 X-Google-Sender-Auth: s_9uaGdtjP-s42lJrYiXOwb5j5I Message-ID: Subject: Re: Cannot unmount nullfs in current From: Craig Rodrigues To: freebsd-current Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 08:12:03 -0000 On Thu, Apr 18, 2013 at 4:27 PM, Craig Rodrigues wrote: > Hi, > > I am trying to build some software which uses > nanobsd, and mounts/unmounts many nullfs mounts > while it runs. I am hitting failures where > I cannot unmount nullfs file systems. I cannot figure out why. > I forgot to run fstat. :( fstat /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME rodrigc gam_server 2275 37 /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles 3194579 drwxr-xr-x 196 r /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles Since I run the GNOME desktop, gnome has a dependency on the gamin port. The gamin port contains gam_server. gamin monitors file system activity. It looks like gam_server gets triggered when things are mounted, and for some reason, sometimes fails to go away. I need to read http://people.gnome.org/~veillard/gamin/config.html and figure out how to disable gamin, or just remove gamin from my system. Annoying. :( -- Craig