FUSESMB.CONF(5)

πŸ“¦ version 0.8.7, in opensuse-leap 16.0, ubuntu jammy

πŸ’– fusesmb.conf β€” the config file for fusesmb πŸ’–

okay bestie, so this is the fusesmb.conf manual page, section 5 of the File Formats Manual, and it's literally just the configuration file for fusesmb. no cap. let's get into it ✨


🌸 FILE FORMAT 🌸

The file is made of sections and parameters. A section starts with the name of the section wrapped in square brackets, and it keeps going until the next section shows up. Inside a section you've got parameters, and they look like this:

name = value

It's line-based, meaning each line that ends in a newline is either a comment, a section name, or a parameter. That's it. That's the whole vibe.

Section and parameter names are <b>not</b> case sensitive β€” so go off, capitalize however you want, it does not care.

Only the first equals sign in a parameter actually matters. Whitespace before or after that first equals sign gets yeeted. Leading, trailing, and internal whitespace in section and parameter names? Irrelevant, don't even worry about it. Leading and trailing whitespace in a parameter value gets discarded too. But internal whitespace inside a parameter value is retained verbatim β€” so be careful, it's keeping receipts.

Any line that starts with a semicolon (;) or a hash (#) character is ignored, and so are lines that are only whitespace. Bye πŸ‘‹


πŸŽ€ SPECIAL SECTIONS πŸŽ€

fusesmb.conf can contain the following sections:

  • The [global] section β€” section for global parameters.
  • The [ignore] section β€” section for specifying servers and/or workgroups that should not be listed.
  • The [/SERVER] section β€” section for server-specific settings. The section name should start with a slash / and <b>not</b> end with a slash.
  • The [/SERVER/SHARE] β€” section for share-specific settings. The section name should start with a slash, followed by the server name, followed by a slash, ending on the share name. It should <b>not</b> end with a slash.

✨ EXPLANATION OF EACH PARAMETER ✨

This chapter explains every possible option. The section names β€” specified between parentheses after each option β€” show which sections that option applies to. For example: ( [global] ) means this option is only possible for the section [global]. iykyk πŸ’…

  • ignore ( [/SERVER] ) β€” ignore this server. Possible values are: true, false, 1 and 0.

Example: ignore = true

  • interval ( [global] ) β€” interval for scanning the network for shares. The value is a number that specifies the network scanning interval in minutes. If the value is smaller than or equal to zero, the network is <b>not</b> scanned.

Example: interval = 20

  • password ( [global], [/SERVER], [/SERVER/SHARE] ) β€” password. The value is a string containing the password.

Example: password = secret

  • servers ( [ignore] ) β€” servers to ignore. The value is each server to ignore, separated by a comma.

Example: servers = SERVER1, SERVER2, SERVER3

  • showhiddenshares ( [global], [/SERVER] ) β€” show hidden shares. Possible values are: true, false, 1 and 0.

Example: showhiddenshares = false

  • timeout ( [global] ) β€” connection timeout in seconds. A server after this timeout is considered offline. Values smaller than 2 seconds are ignored.

Example: timeout = 10

  • username ( [global], [/SERVER], [/SERVER/SHARE] ) β€” username. The value is a string containing the username.

Example: username = johndoe

  • workgroups ( [ignore] ) β€” workgroups to ignore. The value is each workgroup to ignore, separated by a comma.

Example: workgroups = WORKGROUP1, WORKGROUP2


πŸ¦‹ EXAMPLE πŸ¦‹

this is giving main character config file, fr fr:

; Global settings
[global]

; Default username and password
username=user
password=totallysecret

; List hidden shares
showhiddenshares=true

; Connection timeout in seconds
timeout = 10

;Interval for updating new shares in minutes
interval = 10

; Section for servers and/or workgroups to ignore
[ignore]
servers=SERVER,SERVER2,SERVER3
workgroups=WORKGROUP,WG2

; Share-specific settings
[/SERVER/SHARE]
username=john
password=doe

; Server-specific settings
[/SERVER]
username=jane
password=doe
showhiddenshares=true
ignore=true

πŸ‘‘ SEE ALSO πŸ‘‘

fusesmb(1)


πŸ’œ AUTHOR πŸ’œ

Vincent Wagelaar <vincent@ricardis.tudelft.nl>.


and that's the whole page bestie 🫢 this one came from the File Formats Manual, dated <b>August 5, 2005</b> β€” vintage but iconic, and it's page FUSESMB.CONF(5) if you ever need to find it again. slay πŸ’…βœ¨