https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251906

Robert Wing <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #221111|0                           |1
        is obsolete|                            |

--- Comment #15 from Robert Wing <[email protected]> ---
Created attachment 221372
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221372&action=edit
create a common unmount routine for automount

This patch goes back to using FSID's. The problem with my original patch using
FSID's was that I was calling `strlen()` on an uninitialized character array
which was producing undefined results. I was able to reproduce the problem.

This patch also creates a common unmount routine that will try to unmount using
umount(8) and if that fails will fallback to using unmount(3).

Comment #14 was likely from an error when using `f_mntfromname` and should be
fixed with this patch by using the FSID instead.

Comment #13 is a separate problem from this one. I was able to reproduce that
issue as well though - I'll look into it.

Thanks for the reporting and testing Martin, much appreciated!

-Rob

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to