Re: [PATCH v2] ksmbd: update documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2022-09-09 5:39 GMT+09:00, Tom Talpey <tom@xxxxxxxxxx>:
> On 9/8/2022 10:28 AM, Namjae Jeon wrote:
>> 2022-09-08 21:50 GMT+09:00, Tom Talpey <tom@xxxxxxxxxx>:
>>> On 9/6/2022 7:46 PM, Namjae Jeon wrote:
>>>> 2022-09-07 2:09 GMT+09:00, Tom Talpey <tom@xxxxxxxxxx>:
>>>>> On 9/5/2022 9:58 PM, Namjae Jeon wrote:
>>>>>> +3. Create /usr/local/etc/ksmbd/ksmbd.conf file, add SMB share in
>>>>>> smb.conf
>>>>>> file.
>>>>>
>>>>> Typo - "ksmbd.conf" -------------------------------------------------^
>>>> Will fix it.
>>>>>
>>>>> Wouldn't the ksmbd.addshare command be a safer way to do this?
>>>> ksmbd.addshare can't update global section now. So I thought it seems
>>>> appropriate to edit ksmbd.conf directly in the initial running. If you
>>>> still need to add, please let me know.
>>>
>>> I'm confused. If ksmbd.addshare can't add a share, what can it do?
>> It can only add/delete/update the share section.
>
> I still don't get it. A share section is just a section that starts
> with [foo] where "foo" is not "global", right? And if ksmbd.addshare
> can add one, why can't it be used in the example?
What I'm trying to say is that users who see this how to run section
are new to ksmbd. And ksmbd.addshare is created to add the share while
ksmbd is running with smb.conf already configured. For initial
setting, smb.conf including global section should be edited, but
guiding the use of ksmbd.addshare that cannot add global seciton may
cause confusion.
>
> Tom.
>



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux