[Bug 216813] mount_msdosfs: regression in handling the -L flag

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 5 08:22:13 UTC 2017


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

            Bug ID: 216813
           Summary: mount_msdosfs: regression in handling the -L flag
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: mi at FreeBSD.org

Created attachment 179628
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179628&action=edit
Work-around

Trying to mount an MS-DOS formatted USB-stick with

% mount_msdosfs -D utf8 -L uk_UA.KOI8-U /dev/da4 /mnt

fails with:

mount_msdosfs: msdosfs_iconv: File exists

(As it used to in 2008, see Bug 129720). After the command exits, the 
msdosfs_iconv.ko is listed by kldstat. So, something loads it, then tries to
load it again and fails.

The attached patch provides a work-around for mount_msdosfs(8) -- this allowed
me to mount the device in a hurry. However, I suspect, it is the
kiconv_add_xlat16_cspairs(3), that needs fixing instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list