KSMBD.MOUNTD(8)
π KSMBD.MOUNTD β bestie, let's start some daemons π
okay so this is the man page for ksmbd.mountd from the section 8 (system administration, aka the "you probably need root for this" zone) of the manual. grab a snack, we're doing sysadmin. π
β¨ NAME β¨
ksmbd.mountd β start ksmbd.mountd and ksmbd daemons
πΈ SYNOPSIS πΈ
ksmbd.mountd [-v] [-p PORT] [-n[WAY]] [-C CONF] [-P PWDDB]
π¦ DESCRIPTION π¦
ksmbd.mountd starts the ksmbd.mountd user mode daemon and the ksmbd kernel mode daemon. two for the price of one, we love a duo. π
like, it literally has to parse the ksmbd.conf(5) configuration file in order to start. no config, no start, no service, no nothing. it's giving "no thoughts, just parse". π
and it can parse the ksmbdpwd.db(5) user database so it can support non-guest sessions β meaning actual users with actual credentials can get in, not just the guest vibe. π«Ά
π OPTIONS π
-p,--port=PORTβ bind to PORT instead of TCP port445. yes bestie,445is the default because that's the SMB port, iykyk.-n,--nodetach[=WAY]β do not detach the process from the foreground. if WAY is1, it becomes the process group leader (and that's the default). if WAY is0, it detaches. so basically-nis the "hey, stay here with me" flag. π-C,--config=CONFβ use CONF as the configuration file instead of/etc/ksmbd/ksmbd.conf. main character energy: your file, your rules.-P,--pwddb=PWDDBβ use PWDDB as the user database instead of/etc/ksmbd/ksmbdpwd.db. same deal, different file.-v,--verboseβ be verbose. talk to me bestie, tell me everything. π£οΈ-V,--versionβ output version information and exit. short and sweet.-h,--helpβ display this help and exit. the classic.
π EXIT STATUS π
the exit status is 0 on success and 1 on failure. no cap.
and when it's detaching the process from the foreground, the exit status is 0 if daemonization succeeded. so like, 0 = slay, 1 = it's not giving.
π₯ SIGNALS π₯
ksmbd.mountd can be notified of changes to ksmbd.conf or ksmbdpwd.db by sending it the SIGHUP signal. so you edited your config? SIGHUP it and move on, don't be dramatic. π
the manager process of ksmbd.mountd has its PID stored in /run/ksmbd.lock. that's your receipt. keep it. π§Ύ
π COPYRIGHT π
Copyright Β© 2015-2022 ksmbd-tools contributors. License GPLv2: GNU GPL version 2 <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>.
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (emphasis on the NO WARRANTY, bestie, they mean it. π)
π REPORTING BUGS π
found a bug? for bug reports, use the issue tracker at <https://github.com/cifsd-team/ksmbd-tools/issues>. don't suffer in silence, that's not the vibe. π«Ά
π SEE ALSO π
Configuration File
User Database
Utilities
and that's the whole page, you ate it. π this was ksmbd-tools 3.5.7, brought to you by the ksmbd-tools girlies. go forth and mount, and remember: read the config file first. periodt. πβ¨
π¦ where this page comes from
- nixpkgs unstable: ksmbd-tools 3.5.7
- ubuntu stonking: ksmbd-tools 3.5.7-1 Β· GPL-2-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms