広島の石井です。

On Thu, 10 Aug 2023 20:13:21 +0900
dcdc6d8d-3b11-442e-a4e5-b619fce6e...@gmail.com : 内藤祐一郎
<naito.yuich...@gmail.com> wrote:

> ja_JP.UTF-8 に統一すれば良いと思います。

何度もお手数をおかけしてケアレスミスを見つけていただき感謝します。
今後一層精進します。
これで、/etc/fstab に記載した記述が正しく働いている理由もわかりました。

ところで、青木 知明さんの、

On Thu, 10 Aug 2023 18:46:56 +0900
20230810184656.fbebd1cbbcb7e072c875f...@dec.sakura.ne.jp : Tomoaki AOKI
<junch...@dec.sakura.ne.jp> wrote:

> 古い記憶ですが、mount_smbfsで-Eオプションでcharset変換の
> 指定をしても上手くいかず、/root/.nsmbrcで指定したら機能した
> ため、以降、ずっとそのように運用しています。

この投稿で少し疑問だったことを思い出しました。
 /etc/nsmb.conf のことなんですが、man nsmb.conf には、
     Keyword          Section        Comment
                        A B C D
     addr               - + - -        IP address of SMB server
     charsets          - + + +        local:remote charset pair
     nbns              + + - -        address of NetBIOS name server (WINS)
     nbscope          + + - -        NetBIOS scope
     nbtimeout        + + - -        timeout for NetBIOS name servers
     password         - - + +        plain text or simple encrypted password
                                        used to access the given share
     retry_count      + + - -        number of retries before connection is
                                         marked as broken
     timeout           + + - -        SMB request timeout
     workgroup        + + + +        workgroup name

と書かれていて、/etc/nsmb.conf には、コメントとして、
# keyword/section       A  B  C  D      Comment
#
# addr                    -  +  -  -      IP address of SMB server
# charsets               +  +  +  +      local:remote charset pair
# nbns                   +  +  -  -      address of NetBIOS name server (WINS)
# nbscope               +  +  -  -      NetBIOS scope
# nbtimeout             +  +  -  -      timeout for NetBIOS name servers
# password              -  -  +  +      a plain text password used to access to 
the givenshare
# retry_count           +  +  -  -      number of retries before connection 
marked as broken
# timeout                +  +  -  -      SMB request timeout
# workgroup             +  +  +  +      name of workgroup

と書かれています。どちらが正しいと思います?
私は、/etc/nsmb.conf のコメントが正しいと思います。小さいことですが・・・

ISHII <ev8...@gmail.com>

Reply via email to