From owner-freebsd-current@FreeBSD.ORG Fri Jun 12 08:30:22 2015 Return-Path: Delivered-To: freebsd-current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A941CF for ; Fri, 12 Jun 2015 08:30:22 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6400915E8 for ; Fri, 12 Jun 2015 08:30:22 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: by ykfw62 with SMTP id w62so6963492ykf.2 for ; Fri, 12 Jun 2015 01:30:21 -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; bh=CE4oF0SQxVhsGInyj8IeDN0u86tLfwInGQYBvPwy+0Q=; b=SF2K6epiyiE1P5mUNiBo9x2NUlM3LZpJWm91O8ewntQ7SrNPkdoxyNNnrT4Kbpg0h1 sMKBBC700mTmt2JDE2c0XeX1TrICmxzvOv4IZRNaddeCIiLG2sIHE8TMNVF35ZF4yafQ dSMyyKfN3OBRwI/uEc6MGcOE6K6tjuIAbbucJ9U+h4YXqK0fUe5yJsq03XuhBHY2/ers WneVKgTVinjAL20Is1DJM05XLvyDNX/CwTM8RQ4NYaHogx8RUo5pMcvo2KgkdsYE6kKx L4AlSv72dbe9uZ7jdGUGnnnopBrKPavl6gb8Ai1+8Z0A71xgXUKGu0kR9ApM9lxBZTWt QCkQ== MIME-Version: 1.0 X-Received: by 10.129.80.87 with SMTP id e84mr17097266ywb.31.1434097821515; Fri, 12 Jun 2015 01:30:21 -0700 (PDT) Received: by 10.13.226.196 with HTTP; Fri, 12 Jun 2015 01:30:21 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jun 2015 10:30:21 +0200 Message-ID: Subject: Re: Slow shutdown From: "Ranjan1018 ." <214748mv@gmail.com> To: Henry Hu Cc: Kevin Oberman , Garrett Cooper , FreeBSD CURRENT Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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, 12 Jun 2015 08:30:22 -0000 2015-06-12 1:13 GMT+02:00 Henry Hu : > On Thu, Jun 11, 2015 at 1:55 PM Kevin Oberman wrote: > >> The same issue exists in fusefs, but has an uglier result. The fuse daemon >> shuts down before any fusefs based file systems are unmounted, but, for >> several R/W file systems including NTFS and exFAT, the result is a corrupt >> file system. I did the same thing to work around this problem... an init >> script, but I wonder if this should not be handled in some cleaner and >> more >> global manner. (No, I have no idea right now of how to implement this.) >> > > I think that I've hit this problem several times, because I've lost files > on my NTFS portable harddisk several times. Now I force an unmount in the > shutdown script. > I remember that when fuse module was still in fusefs-kmod, the rc script > unmounts the file systems, and there's even a _safe flag to ensure safety. > > Hi, I have the same issue in my laptop a dual boot FreeBSD/Windows 8. In FreeBSD, the Win8 partition, is mounted via fusefs and is unmounted in a shutdown script. But if I do not unmount this partition in a script, it is not unmounted by the OS or fusefs at shutdown. Probably this is a different or new bug. For the original bug I have opened a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200784 Please comment here if you like. Regards, Maurizio