You are not logged in.
Pages: 1
Hi all,
I'd need to adjust some settings for bcache after every boot. To do this, I have to write some stuff to /sys.
Is there a recommended way to do it? Or should I just write a systemd unit? In the latter case, what are the appropriate systemd dependencies for "all block devices should be available"?
Thanks!
Last edited by bachtiar (2017-08-05 07:13:46)
Offline
I would use tmpfiles: https://wiki.archlinux.org/index.php/Im … d-tmpfiles
Depending on what it is you're doing, you may want to look at the udev rule option immediately below the linked section.
Mod note: Not a Networking/Server/Protection issue, moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I will try to do it with udev rules. Thanks.
Offline
Pages: 1