From owner-freebsd-questions@freebsd.org Wed Jul 22 17:58:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E7ED35A897 for ; Wed, 22 Jul 2020 17:58:33 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BBjr832Htz4Wgr for ; Wed, 22 Jul 2020 17:58:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jyJ0e-0009Q2-UB for freebsd-questions@freebsd.org; Wed, 22 Jul 2020 19:58:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org From: Morten Bo Johansen Subject: Re: Unmounting usb disk impossible Date: Wed, 22 Jul 2020 19:58:22 +0200 Message-ID: References: Reply-To: mbj@mbjnet.dk User-Agent: slrn/1.0.3 (FreeBSD) Mail-Copies-To: Never X-Rspamd-Queue-Id: 4BBjr832Htz4Wgr X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.90 / 15.00]; HAS_REPLYTO(0.00)[mbj@mbjnet.dk]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.19)[-0.191]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[mbjnet.dk : SPF not aligned (relaxed), No valid DKIM,quarantine]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; TO_DN_NONE(0.00)[]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.66)[-0.664]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.750]; FORGED_SENDER(0.30)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 17:58:33 -0000 On 2020-07-22 Mehmet Erol Sanliturk wrote: > You did not write your mount statement . I don't know what it is. It is automounted > It seems that your umount statement is completely wrong . > https://www.freebsd.org/cgi/man.cgi?query=umount&sektion=8 > umount > > You are saying that > > "Unmount ALL of the mounted files in "fstab" . No, that is not what I am saying. This is from man autofs: To unmount all mounted autofs filesystems: umount -At autofs That was my command. And as you can see, it actually tries to unmount the usb disk under /media - which is correct. It just fails with this "device busy" error. I need to find out which process is accessing the mount point. Thanks, Morten