From owner-freebsd-stable@FreeBSD.ORG Mon May 5 11:38:34 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 507F1601 for ; Mon, 5 May 2014 11:38:34 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1382512FA for ; Mon, 5 May 2014 11:38:34 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id j15so1733413qaq.27 for ; Mon, 05 May 2014 04:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KvSmxBF2T9EzqEKPMywE6W3f/bSScoBlFs544+0esyY=; b=aC4hJ0fIC13bW2wg+X2UjXeaf69N5ceurmhZwB2QsYyZRjNIUzBzIZ4eMm8k4mMKor SWcd+4Nhc6NQ1k6A1vtNenYtZ8zH8W5tKM2tx5YAA7Nxj4ntQF8+BgyvXHplbMUOzxJT C4t340OjxttqsIKC4DJh12TTRA4e2niNYm4okoLzpITAJWdgEixo4hQXQzxFQRQIJxMZ cIp/orHvzum6KT8yCfvGDSuH4xuoLNlhhKNcM8g5j9i7hxE6GVE/vu3QAgKT9P5flF3X ECAQ09fvEsfiNv+IXMkstJLjDx44MtxSaUyNUFX06AXLxuCrE8GXANiwvkhf1/ZU8QH8 PrOA== MIME-Version: 1.0 X-Received: by 10.140.104.16 with SMTP id z16mr40924658qge.76.1399289913184; Mon, 05 May 2014 04:38:33 -0700 (PDT) Received: by 10.140.94.142 with HTTP; Mon, 5 May 2014 04:38:33 -0700 (PDT) In-Reply-To: <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs> References: <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs> Date: Mon, 5 May 2014 13:38:33 +0200 Message-ID: Subject: Re: another busy mount point From: Carlos To: =?UTF-8?B?TWFya28gQ3VwYcSH?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 11:38:34 -0000 2014-05-05 13:30 GMT+02:00 Marko Cupa=C4=87 : > Hi, > > I have problem unmounting external FAT32-formatted USB drive on > 10.0-RELEASE-p1 (with XFCE): > > pacija@mephala:~ % umount /usr/home/pacija/mnt > umount: unmount of /usr/home/pacija/mnt failed: Device busy > > lsof /usr/home/pacija/mnt gives no output. > > I am not under mounted part in terminal or Thunar, I have no su session > left there. > > I am mounting it as user, here are relevant lines: > > pacija@mephala:~ % sudo gpart show da5 > =3D> 34 975400893 da5 GPT (465G) > 34 975400893 1 mbr (465G) > > pacija@mephala:~ % mount > /dev/ada0p2 on / (ufs, local, journaled soft-updates) > devfs on /dev (devfs, local, multilabel) > tmpfs on /tmp (tmpfs, local) > procfs on /proc (procfs, local) > fdescfs on /dev/fd (fdescfs) > data on /data (zfs, local, nfsv4acls) > data/pacija on /usr/home/pacija/data (zfs, local, noatime, nfsv4acls) > /dev/da5p1 on /usr/home/pacija/mnt (msdosfs, local, nosuid, mounted by > pacija) > > pacija@mephala:~ % cat /etc/sysctl.conf > kern.ipc.shm_allow_removed=3D1 > vfs.usermount=3D1 > > pacija@mephala:~ % cat /etc/devfs.rules > [system=3D10] > add path 'usb/*' mode 0660 group operator > add path 'cd*' mode 0666 > add path 'da*' mode 0666 > add path 'pass*' mode 0666 > add path 'xpt*' mode 0666 > > pacija@mephala:~ % cat /etc/rc.conf > ... > devfs_system_ruleset=3D"system" > ... > > pacija@mephala:~ % cat .gaminrc > poll /home/pacija/mnt/* > > Any advices? > -- > Marko Cupa=C4=87 Which is the output of fuser -c /dev/da5p1?