On Fri, Jun 12, 2015 at 1:30 AM, Ranjan1018 . <21474...@gmail.com> wrote:

> 2015-06-12 1:13 GMT+02:00 Henry Hu <henry.hu...@gmail.com>:
>> On Thu, Jun 11, 2015 at 1:55 PM Kevin Oberman <rkober...@gmail.com>
>> 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
I also opened a bug report for the fusefs case. It is
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200513. It includes a
shutdown script that will unmount the file systems cleanly, though it will
unmount all fusefs file systems, whether they need it or not. Many fusefs
file systems are read-only or fully synchronous, so are always "clean".
But, as far as I can tell, unmounting does not harm for any fusefs file
system. (Yes, "fusefs file system" is probably redundant.)

The shutdown script is only for systems running the native fusefs code and
not the older fusefs-kmod port.
Kevin Oberman, Network Engineer, Retired
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to