Linux command
udisksd 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Daemon is started automatically by D-Bus or systemd
udisksd
Run with debug output
udisksd --debug
Run without replacing existing instance
udisksd --no-replace
Run without LUKS support
udisksd --no-cryptsetup
说明
udisksd is the system daemon for udisks2, providing D-Bus interfaces for managing storage devices. It handles mounting, unmounting, formatting, partitioning, and LUKS encryption operations without requiring root privileges for each action. The daemon monitors udev events to track device changes and exposes device information through the org.freedesktop.UDisks2 D-Bus interface. Desktop environments and applications use this interface for storage management. Users should not start udisksd manually; it's automatically activated by D-Bus or systemd when applications access its interfaces. Access control uses polkit, allowing logged-in users to manage devices on their session's seat.
参数
- --debug
- Enable debug output.
- --no-replace
- Don't replace existing daemon instance.
- --no-cryptsetup
- Disable LUKS cryptographic volume support.
- --no-sigint
- Don't exit on SIGINT for debugging.
- --force-load-modules
- Load kernel modules even if not needed.
- -h, --help
- Display help.
- --version
- Display version.
FAQ
What is the udisksd command used for?
udisksd is the system daemon for udisks2, providing D-Bus interfaces for managing storage devices. It handles mounting, unmounting, formatting, partitioning, and LUKS encryption operations without requiring root privileges for each action. The daemon monitors udev events to track device changes and exposes device information through the org.freedesktop.UDisks2 D-Bus interface. Desktop environments and applications use this interface for storage management. Users should not start udisksd manually; it's automatically activated by D-Bus or systemd when applications access its interfaces. Access control uses polkit, allowing logged-in users to manage devices on their session's seat.
How do I run a basic udisksd example?
Run `udisksd` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --debug do in udisksd?
Enable debug output.