Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 23730  / 2 Years ago, thu, march 31, 2022, 4:28:18

I was looking into htop and the only process having > 0.0% CPU (apart from htop itself) was /usr/lib/udisks/udisks-daemon.



So the questions are: What is this service? Do I need it? (Or when do I need it?) Why is it accessing the drives?


More From » hard-drive

 Answers
4

Official package description for udisks:




The udisks daemon serves as an interface to system block devices, implemented via D-Bus. It handles operations such as querying, mounting, unmounting, formatting, or detaching storage devices such as hard disks or USB thumb drives.



This package also provides the udisks utility, which can be used to trigger these operations from the command line (if permitted by PolicyKit). External tools such as hdparm are used if available to implement extra operations, such as configuring disk spindown times.



Creating or modifying file systems such as XFS, RAID, or LUKS encryption requires that the corresponding mkfs.* and admin tools are installed, such as dosfstools and mtools for VFAT, xfsprogs for XFS, or cryptsetup for LUKS.








Do I need it?




This should be considered an essential package by almost everyone. The only time I would consider removing it is if I had a simple /dev/sdX CLI install on a machine where there was no need for udev -- i.e., the hardware never changes (which in practice almost always means a virtual machine, a VPS or a very very old machine).


[#37913] Friday, April 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peafowkes

Total Points: 356
Total Questions: 102
Total Answers: 117

Location: Lebanon
Member since Tue, Oct 12, 2021
3 Years ago
peafowkes questions
;