---
name: "udisks2.conf"
section: "5"
platform: "linux"
package: "udisks2"
version: "2.11.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/udisks2.conf"
---

# udisks2.conf(5)

The udisks2 configuration file

## NAME

udisks2.conf - The udisks2 configuration file

## DESCRIPTION

The udisks project provides additional functionality via pluggable modules. These plugins can be inserted into the daemon either by D-Bus call **org.freedesktop.UDisks2.Manager.EnableModules()** or by running the udisks daemon with **--force-load-modules** command line option.

It is also possible to configure the modules loading behavior via the configuration file placed at */etc/udisks2/udisks2.conf*.

## CONFIGURATION FILE

The default configuration file **udisks2.conf** looks like this:

```
    [udisks2]
    modules=*
    modules_load_preference=ondemand
    [defaults]
    encryption=luks1
```

**modules = \<string list\>**

This variable controls what modules should be loaded. It may contain either a comma-separated list of modules to load or a single asterisk which stands for all the modules.

**modules\_load\_preference = ondemand\|onstartup**

This key tells udisksd when to load the plugins: either at startup or on demand by D-Bus **org.freedesktop.UDisks2.Manager.EnableModules()**.

**encryption = luks1\|luks2**

This variable controls which encryption technology will be used by default when creating an encrypted filesystem.

## AUTHOR

\<phatina@redhat.com\>

## BUGS

Please send bug reports to either the distribution bug tracker or the upstream bug tracker at **https://github.com/storaged-project/udisks/issues**.

## SEE ALSO

[**udisks**(8)](/udisks/8.md), [**udisksctl**(1)](/udisksctl/1.md), [**umount.udisks2**(8)](/umount.udisks2/8.md)
