From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 08:30:23 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 D585A106564A for ; Mon, 4 Jun 2012 08:30:23 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id A1E2F8FC08 for ; Mon, 4 Jun 2012 08:30:23 +0000 (UTC) Received: from larseighner.com (unknown [71.20.75.102]) by mail.team1internet.com (Postfix) with SMTP id 4FE8916B4A6; Mon, 4 Jun 2012 03:30:22 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Mon, 4 Jun 2012 03:28:58 -0500 (CDT) Date: Mon, 4 Jun 2012 03:28:57 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.larseighnerhome.com To: Gary Aitken In-Reply-To: <4FCC1D4C.2020503@dreamchaser.org> Message-ID: References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: umount device busy 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: Mon, 04 Jun 2012 08:30:23 -0000 On Sun, 3 Jun 2012, Gary Aitken wrote: >> This almost always means someone (i.e. you) is sitting in the directory. >> If you tried this while su'ed and the un-su'ed you were still in the >> directory /mnt/goflex, you'd get this message. This may also happen if >> someone (i.e. you) is in the directory on another vtty. Naturally it can >> also mean some operation is in progress, but generally you would have >> recognized and avoided that. > > That's what I kept thinking. Backed out of all su ops, checked all > xterms; nada. no other vtys opened. In any case, the mount was done > after X was started, and switching vtys crashes X so I don't do that. This needs fixing. > I thought maybe so, but didn't know for sure. Thanks. > But Lars' "mount -p" is more assuring. I like it because if you happen to have a configuration you would like to use again, you can capture the output and make it your fstab, + or - automount adjustments. > >>> 3. I tried lsof but I don't get any output from it: >>> lsof +d /mnt/goflex -x -- /mnt/goflex >>> Where does it go if not to stdout? >> You've got me! But why is there anything after -x? I don't quite >> understand. > > Otherwise -x thinks the /mnt/goflex belongs to it. But what if you leave out ALL the stuff after -x. Isn't it redundant with the +d switch? (That's not a Socratic question: I don't know.) Anyway, I found the lsof FAQ by make extract in the port. I quess I am not too good at reading Makefiles because I don't see why it isn't copied to /usr/local/share/lsof with the README and whatnot. >> man -t lsof | sp2ascii > savefile.txt > > Where'd you get/find sp2ascii? I don't see one anywhere, not even on google. > (Except this thread...) Secret weapon? That's a good question. Turns out all kinds of ps converters are installed by ghostscript. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266