You are not logged in.
Pages: 1
Hi;
Is there a way to disable units like: "dev-mqueue.mount", "sys-kernel-debug.mount" and "dev-hugepages.mount" since they just slowdown my boot process.
# systemd-analyze blame
2589ms systemd-vconsole-setup.service
1249ms dev-mqueue.mount
1168ms sys-kernel-debug.mount
1013ms dev-hugepages.mount
994ms systemd-udevd.service
966ms systemd-udev-trigger.service
877ms systemd-sysctl.service
862ms wicd.service
496ms systemd-remount-fs.service
429ms home.mount
386ms systemd-readahead-replay.service
382ms systemd-readahead-collect.service
258ms var.mount
179ms tmp.mount
112ms systemd-logind.service
72ms systemd-tmpfiles-setup.service
53ms tor.service
21ms var-lib-mpd-music.mount
12ms systemd-user-sessions.service
I tried
# systemctl disable dev-mqueue.mount
but it didn't help.
Last edited by Asmir (2013-02-03 13:25:47)
Offline
These are implied by other services. To disable them do:
systemctl mask xxxx
Of course you have to know what you are doing.
Last edited by olive (2013-02-03 13:07:38)
Offline
Well it worked and the system is not broken.
Thank you.
Offline
<snip>
Of course you have to know what you are doing.
Picking up on this: how can i verify i don't need them?
/sys/kernel/config/, /dev/hugepages/, /dev/mqueue/ are all empty, is that enough to conclude i don't need them?
There are some things in /sys/kernel/debug/ but since it's named debug i feel i can live without...
BTW: what does /sys/kernel/debug/ offer that the journal don't?
Offline
olive wrote:<snip>
Of course you have to know what you are doing.Picking up on this: how can i verify i don't need them?
You need them. The case I describe is when a service A automatically launches a service B and you want to disable the service B. Of course it is a bad idea, similar in spirit to removing a package with the -dd option of pacman to ignore dependencies. Of course there are plenty of reasons when you want to disobey your system. But you do that if you know what you are doing, just as, when you use the -dd option of pacman, you are supposed to understand the consequences.
Last edited by olive (2013-08-19 19:10:45)
Offline
Pages: 1