From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 20:58:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 217091FF for ; Mon, 21 Oct 2013 20:58:51 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out6.external.iinet.net.au (icp-osb-irony-out6.external.iinet.net.au [203.59.1.222]) by mx1.freebsd.org (Postfix) with ESMTP id 98E2E2595 for ; Mon, 21 Oct 2013 20:58:50 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEFAHiUZVI6Bv/g/2dsb2JhbABZgwesWpJdgTAWdIIlAQEEATo/BQsLDRQlDwUYHQETE4d0AwkFuj6Ma4JwB4MfgQoDlh0CgWmGKDuFboU3gzgo X-IronPort-AV: E=Sophos;i="4.93,542,1378828800"; d="scan'208";a="154642579" Received: from unknown (HELO smtp.phoenix) ([58.6.255.224]) by icp-osb-irony-out6.iinet.net.au with ESMTP; 22 Oct 2013 04:58:42 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 45C2B58F; Tue, 22 Oct 2013 07:58:42 +1100 (EST) Date: Tue, 22 Oct 2013 07:58:42 +1100 From: andrew clarke To: FreeBSD Subject: Re: Unmounting a share Message-ID: <20131021205842.GA63680@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Carmel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 20:58:51 -0000 On Mon 2013-10-21 16:21:20 UTC-0400, Carmel (carmel_ny@hotmail.com) wrote: > I have a Windows machine that I use to back up data onto. I use the > following command to mount the share: > > # Mount the drive > /usr/sbin/mount_smbfs -N -f 0644 -U jim -W WORKGROUP //jim@boss-4700/FreeBSD $HOME/FreeBSD_D > > I also have this in the /etc/fstab file: > //jim@jim@boss-4700/FreeBSD /usr/home/jim/FreeBSD_D smbfs rw,noauto 0 0 > > All of that works fine. The problem is that I cannot find a command to > umount the share. I have tried every combination I could find on Google > but they all result in an error message. It is probably really simple, > but I cannot find one that works. umount /usr/home/jim/FreeBSD_D should work OK, as root. What is the error message?