From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from synology.com ([59.124.61.242]:57275 "EHLO synology.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbdKWGeQ (ORCPT ); Thu, 23 Nov 2017 01:34:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 23 Nov 2017 14:34:07 +0800 From: tchou To: Viacheslav Dubeyko Cc: =?UTF-8?Q?=22=5C=22Ernesto_A=2E=5C=22=22_Fern=C3=A1ndez?= , linux-fsdevel@vger.kernel.org, linux-fsdevel-owner@vger.kernel.org, htl10@users.sourceforge.net Subject: Re: [PATCH] hfsplus: fix the bug that cannot recognize files with hangul file name In-Reply-To: <1511418192.2541.22.camel@dubeyko.com> References: <1510906805-2142-1-git-send-email-tchou@synology.com> <20171119005704.GA3495@debian.home> <080024a85dc413b72c181c6e75bdc736@synology.com> <1511410895.2541.16.camel@dubeyko.com> <056c0cdf936acea7a8fd0c2ac90d393b@synology.com> <1511418192.2541.22.camel@dubeyko.com> Message-ID: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Viacheslav Dubeyko 於 2017-11-23 14:23 寫到: > On Thu, 2017-11-23 at 14:05 +0800, tchou wrote: >> Viacheslav Dubeyko 於 2017-11-23 12:21 寫到: >> > >> > On Thu, 2017-11-23 at 11:57 +0800, tchou wrote: >> > > >> > > > >> > > > >> > > > Could you please share the examples of incorrect and correct >> > > > behaviour? >> > > > >> > > > What is it exactly that you are trying to fix? You mention an >> > > > issue  >> > > > with >> > > > hangul characters, but I failed to trigger it. Could you expand >> > > > on  >> > > > that? >> > > > >> > > Hi all, >> > > There is an example.I use Mac mini to format my usb disk to HFS+ >> > > and  >> > > touch >> > > the file with filename "공유"(a Korean actor, https://goo.gl/VcBsrn >> > > ) >> > > on  >> > > it. >> > > After it, I mount the usb disk on my ubuntu(Linux 4.14.0+) and >> > > get >> > > the >> > > following error message when trying to ls and cp the file: >> > > >> > >> > Could you share the all mount options that you used? It looks that >> > you >> > simply don't use the proper mount options set under the Linux. >> > Because >> > MacOS X will mount properly always. >> > >> > Thanks, >> > Vyacheslav Dubeyko. >> > >> Hi Vyacheslav, >> >> I use the default mount option: >> >> mount /dev/sdc1 /mnt/hfs >> /dev/sdc1 on /mnt/hfs type hfsplus  >> (rw,relatime,umask=22,uid=0,gid=0,nls=utf8) >> > > > Please, take a look into mount options description [1]. Especially, > take a look into decompose/nodecompose options. You simply needs to use > the proper mount option for your case. > I got it. It's my mistake. Thank you all for making me right. Thanks, TCHou > Thanks, > Vyacheslav Dubeyko. > > > [1] https://www.kernel.org/doc/Documentation/filesystems/hfsplus.txt > >> Thanks, >> TCHou >> >