From owner-freebsd-current@freebsd.org Sun Jan 14 04:16:56 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F8BCE780D9 for ; Sun, 14 Jan 2018 04:16:56 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-ua0-x244.google.com (mail-ua0-x244.google.com [IPv6:2607:f8b0:400c:c08::244]) (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 16120698FF for ; Sun, 14 Jan 2018 04:16:56 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by mail-ua0-x244.google.com with SMTP id x10so6554876ual.8 for ; Sat, 13 Jan 2018 20:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=p+z4H7PBtd+PgP4YCLy3P8D7YvqZrqLbPOZeFA6zYdU=; b=Orcr3aW9RxdaEM4NRMRZoLskUCkstZg3oNRz+8gqiSN8VdNm98WwWzEf0YLLuS+CjI fCJHWxp1AJpu4ad1Pob0t2K1D5upRSJigF0mELGGTZTUeLzJ7xFbZvp1VUtydT46WE3G bB8vhNWnrxyjwtnuFabjRl/iN61pMpcktbLinI7kSZY04ZEcYJF6e29tUQLmHbznrYsB lxRVu3WEUw4GZz1IczH7DgQFAL3hfQrpmEjIaWp0Wv1FLG6VYxx7nUAUpsdXBOczB/JR bWiTP+xd1zvqkfafYj9jgaEwAkLkdUJ6snZfU/ZSKeqLg67Vta4VOnHC9jAIoNgDzgQL 987w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=p+z4H7PBtd+PgP4YCLy3P8D7YvqZrqLbPOZeFA6zYdU=; b=q7EXg61hH9EG2QDZLM+JtIAZeRAqD8gzrgDzFCCZ5J/joBTGtI+KiBilfdUPNuBQDQ Bh5JB3qoMteO2CchrskYktrywOeLJY5e7EFcCtK48zw4FSK02tRVi95FBthP6AWkhDzB GBYUWIF87aLy8LSYnuoAOCIPIgaA9t2Go0vJSzA+lLq5NW8eW56/tAHxnCvG0bBJSmRw aZYtv1WNBMTq9MjpJDTMdc5O4qUjqQnRvQtvy1CldPfk8zlAhrbGD88glYECXV4ZNJ54 lMwwYcnGwomFg68zYcIq9SHVocfuMpXy2o5MNfxT5Ij2R/Rsds6M3UnBmnUuO4601CvF 6SrQ== X-Gm-Message-State: AKwxytdhq7M4XnmD9S0FIbN1U5vLSnKCFtvNcq88suBV7shsZWluYzo6 I2caBuRvh27PNWoZ24vh8V1pv8cdINiyLrBo164= X-Google-Smtp-Source: ACJfBouF8IU5Xc+Z+FuuteMOKq3wRVpd7x/HB2WjbKjmxDeRYgNQqf4cOLcHVaIZgUezM3kIfHoGHtnr+wm/o0tWmIU= X-Received: by 10.176.89.210 with SMTP id k18mr2092359uad.28.1515903414871; Sat, 13 Jan 2018 20:16:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.131.149 with HTTP; Sat, 13 Jan 2018 20:16:14 -0800 (PST) In-Reply-To: References: From: Henry Hu Date: Sat, 13 Jan 2018 23:16:14 -0500 Message-ID: Subject: Re: msdosfs_iconv To: blubee blubeeme Cc: FreeBSD current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 14 Jan 2018 04:16:56 -0000 On Sat, Jan 13, 2018 at 10:56 PM, blubee blubeeme wrote: > > > On Sun, Jan 14, 2018 at 11:53 AM, Henry Hu wrote: > >> >> >> On Sat, Jan 13, 2018 at 9:10 PM, blubee blubeeme >> wrote: >> >>> This is a repost from freebsd-question; Hoping to get more exposure and >>> help here. >>> >>> I am trying to run mount_msdosfs with the option to set locale like this: >>> mount_msdosfs -L en_US.UTF-8 /dev/da0s1 $HOME/usb >>> >>> This returns operation not permitted. >>> >>> usrmount is set to 1 and everything mounts as expected w/o root if I >>> remove >>> the locale option. The problem here is that my document filenames are >>> garbled and I can't actually open the files. >>> >>> kiconvtool: https://wiki.freebsd.org/DmitryMarakasov/kiconvtool >>> is said to work but it does not, after installing it I still get the >>> exact >>> same error. >>> >>> Have you tried to kldload msdosfs_iconv first? >> >> Is there a way to set locale when using mount_msdosfs without sudo? >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@f >>> reebsd.org" >>> >> >> >> >> -- >> Cheers, >> Henry >> > Yes, /etc/rc.conf has this line: > kld_list="nvidia-modeset msdosfs_iconv" > > I just tried that and it works. I can create filenames in Chinese on the mounted drive. The command I used: > mount_msdosfs -L zh_CN.UTF-8 /dev/da1p1 /tmp/y kernel modules: > kldstat | grep iconv 30 3 0xffffffff8506e000 458f libiconv.ko 33 1 0xffffffff8507a000 801 msdosfs_iconv.ko But I'm using 11.1-STABLE. Maybe something changed? -- Cheers, Henry