6

When we use the command lsblk, we can see that each snap application is mounted under the directory /snap/app_name:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT  
sda      8:0    0 465.8G  0 disk   
├─sda1   8:1    0  61.5G  0 part  
├─sda2   8:2    0 337.7G  0 part  
├─sda3   8:3    0  62.4G  0 part /  
└─sda4   8:4    0   4.1G  0 part [SWAP]  
sr0     11:0    1  1024M  0 rom    
loop0    7:0    0  29.7M  0 loop /snap/wifi-ap/93  
loop1    7:1    0  78.4M  0 loop /snap/core/1577  
loop2    7:2    0  79.5M  1 loop /snap/core/1689  

So does this mounting on boot slow down the boot process ?

2
  • In general all mount actions have impact because Ubuntu will run fsck on each partition before mounting. So you may want to consider mounting partitions manually if they are not required during boot.
    – user680858
    May 5, 2017 at 19:07
  • And it would be interesting, how to delay the mount process: unix.stackexchange.com/questions/649421/…
    – rubo77
    May 12, 2021 at 18:08

2 Answers 2

9

You can probably get more detail about what's consuming resources during bootup using the systemd-analyze command. For example:-

systemd-analyze blame

This will list in order of time used, each thing that consumed time during boot.

systemd-analyze plot > plot.svg

This will generate an svg called "plot.svg" which you can open using an image viewer app. It shows graphically what's eating up your machine during boot.

2
  • the graphic is just hundredts of pink lines, no use
    – rubo77
    Jan 13, 2020 at 19:56
  • the lines show what is running when. use systemd-analyze critical-chain for whats blocking boot
    – 0xLogN
    May 9, 2021 at 23:12
3
+50

Someone already Explain it.

Using Snaps for having up-to-date software, we end up paying for it with higher network traffic, more disk usage and slower boot time. If you do not want to use Snaps at all, then remove them with sudo apt-get purge snapd.

See more here Details about Snap Mount

2
  • That post is from 2018, by now snap improved a lot, so there might not be such a boot time malus anyone
    – rubo77
    Jan 19, 2020 at 7:48
  • Yes, correct. Thanks for informations Sep 15, 2020 at 4:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .