Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long options don't work #195

Open
lpapadakos opened this issue Apr 21, 2021 · 15 comments
Open

Long options don't work #195

lpapadakos opened this issue Apr 21, 2021 · 15 comments

Comments

@lpapadakos
Copy link

I tested this with ksmbd.control. -s works, but --shutdown gives me the usage message. It would seem that the way getopt is used, it only accepts short options

@alexmyczko
Copy link

I can confirm this to be the case for me as well with 3.4.2.

@namjaejeon
Copy link
Member

Yep, right.
Enzo is trying to update the whole ksmbd-tools. He will fix it after that.
@ematsumiya Right ? and We need to add manpage also if you change single binary.

@ematsumiya
Copy link

That's right. A manpage and updated docs should also be included in the final version.
I'm on vacation now though, so please expect a ready-for-review version by the end of January.

@namjaejeon
Copy link
Member

Cool! Have a good vacation:)

@namjaejeon
Copy link
Member

@ematsumiya Hi Enzo, Is there any update for single binary work ?

@ematsumiya
Copy link

@namjaejeon I just sent my patch series to linux-cifs ML and you. It was based on ksmbd-tools-next branch.

manpage is still missing, but the README has been updated at least. I hope to have some time this week or next to work on the manpage.

@papadakospan @alexmyczko I'd appreciate if you could test my proposal, feedback is welcome. Source is at https://github.com/ematsumiya/ksmbd-tools/tree/ksmbdctl-v2-rebase

@lpapadakos
Copy link
Author

lpapadakos commented Mar 7, 2022

It seems to work nicely, good work. You've included some useful features

EDIT:
The only minor thing I have is that whenever I start the kernel daemon, I get this

INFO: Can't open lock file /tmp/ksmbd.lock: No such file or directory

@namjaejeon
Copy link
Member

@ematsumiya Thanks for your patches. I will check it.

@lpapadakos
Copy link
Author

lpapadakos commented Mar 8, 2022

I have gotten global share options to work while I was exploring the v2 tree (Relevant: cifsd-team/ksmbd#516). I've made pull request #231

@namjaejeon
Copy link
Member

It was based on ksmbd-tools-next branch.

@ematsumiya It would be good if you create the patch-set base on #master branch.

@lpapadakos
Copy link
Author

lpapadakos commented May 12, 2022

@ematsumiya Your changes are very nice, Have you made a pull request or something towards this repo?

@ematsumiya
Copy link

Oops. Got side tracked yet again... sorry about the delay.

I think it's still required to base it on master, right @namjaejeon? I'll try to do it by tomorrow.

@namjaejeon
Copy link
Member

@ematsumiya okay:) Thanks for your work!

@ematsumiya
Copy link

Submitted PR #265, rebased on cifsd-team/ksmbd-tools master. Testing and feedback appreciated.

@namjaejeon
Copy link
Member

@ematsumiya Let me check it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants