我的启动时间非常长,当我使用
systemd-analyze blame
我得到以下结果
25.282s home-arianhf-google\x2ddrive.mount
23.567s systemd-journal-flush.service
23.232s dev-sda9.device
其结果systemctl list-units --type=mount
为:
UNIT LOAD ACTIVE SUB DESCRIPTION
-.mount loaded active mounted Root Mount
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
● home-arianhf-google\x2ddrive.mount loaded failed failed /home/arianhf/google-drive
mnt-ubuntu.mount loaded active mounted /mnt/ubuntu
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
注意安装失败。
我想从我的 systemd 中删除它。我该怎么做?
答案1
尝试如下操作:
sudo systemctl disable home-arianhf-google\x2ddrive.mount
有关更多信息,请查看 systemctl 的手册页。
还要检查etc/fstab
任何相关的行,如果发现,则将其删除。