Is there a semi automated way to cleanup /dev/loop mounts?
up vote
1
down vote
favorite
My system seems to generate more and more /dev/loop
mounts with certain updates.
So far it looks like:
/dev/loop0 128M 128M 0 100% /snap/yakyak/28
/dev/loop1 2.3M 2.3M 0 100% /snap/gnome-calculator/238
/dev/loop2 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop3 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop4 15M 15M 0 100% /snap/gnome-logs/43
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop7 43M 43M 0 100% /snap/gtk-common-themes/701
/dev/loop6 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop8 13M 13M 0 100% /snap/gnome-characters/124
/dev/loop9 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop11 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop10 35M 35M 0 100% /snap/gtk-common-themes/808
/dev/loop12 88M 88M 0 100% /snap/core/5742
/dev/loop13 102M 102M 0 100% /snap/ubuntu-social-kit/3
/dev/loop14 88M 88M 0 100% /snap/core/5662
/dev/loop16 141M 141M 0 100% /snap/yakyak/35
/dev/loop17 128M 128M 0 100% /snap/yakyak/25
/dev/loop18 141M 141M 0 100% /snap/gnome-3-26-1604/74
Is there a tool that can tell which ones are no longer in use and free them up?
Not that this is causing a problem, i just prefer less clutter with mount points.
18.04 mount
New contributor
add a comment |
up vote
1
down vote
favorite
My system seems to generate more and more /dev/loop
mounts with certain updates.
So far it looks like:
/dev/loop0 128M 128M 0 100% /snap/yakyak/28
/dev/loop1 2.3M 2.3M 0 100% /snap/gnome-calculator/238
/dev/loop2 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop3 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop4 15M 15M 0 100% /snap/gnome-logs/43
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop7 43M 43M 0 100% /snap/gtk-common-themes/701
/dev/loop6 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop8 13M 13M 0 100% /snap/gnome-characters/124
/dev/loop9 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop11 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop10 35M 35M 0 100% /snap/gtk-common-themes/808
/dev/loop12 88M 88M 0 100% /snap/core/5742
/dev/loop13 102M 102M 0 100% /snap/ubuntu-social-kit/3
/dev/loop14 88M 88M 0 100% /snap/core/5662
/dev/loop16 141M 141M 0 100% /snap/yakyak/35
/dev/loop17 128M 128M 0 100% /snap/yakyak/25
/dev/loop18 141M 141M 0 100% /snap/gnome-3-26-1604/74
Is there a tool that can tell which ones are no longer in use and free them up?
Not that this is causing a problem, i just prefer less clutter with mount points.
18.04 mount
New contributor
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Try this script
– Alvin Liang
Nov 21 at 3:48
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My system seems to generate more and more /dev/loop
mounts with certain updates.
So far it looks like:
/dev/loop0 128M 128M 0 100% /snap/yakyak/28
/dev/loop1 2.3M 2.3M 0 100% /snap/gnome-calculator/238
/dev/loop2 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop3 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop4 15M 15M 0 100% /snap/gnome-logs/43
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop7 43M 43M 0 100% /snap/gtk-common-themes/701
/dev/loop6 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop8 13M 13M 0 100% /snap/gnome-characters/124
/dev/loop9 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop11 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop10 35M 35M 0 100% /snap/gtk-common-themes/808
/dev/loop12 88M 88M 0 100% /snap/core/5742
/dev/loop13 102M 102M 0 100% /snap/ubuntu-social-kit/3
/dev/loop14 88M 88M 0 100% /snap/core/5662
/dev/loop16 141M 141M 0 100% /snap/yakyak/35
/dev/loop17 128M 128M 0 100% /snap/yakyak/25
/dev/loop18 141M 141M 0 100% /snap/gnome-3-26-1604/74
Is there a tool that can tell which ones are no longer in use and free them up?
Not that this is causing a problem, i just prefer less clutter with mount points.
18.04 mount
New contributor
My system seems to generate more and more /dev/loop
mounts with certain updates.
So far it looks like:
/dev/loop0 128M 128M 0 100% /snap/yakyak/28
/dev/loop1 2.3M 2.3M 0 100% /snap/gnome-calculator/238
/dev/loop2 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop3 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop4 15M 15M 0 100% /snap/gnome-logs/43
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop7 43M 43M 0 100% /snap/gtk-common-themes/701
/dev/loop6 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop8 13M 13M 0 100% /snap/gnome-characters/124
/dev/loop9 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop11 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop10 35M 35M 0 100% /snap/gtk-common-themes/808
/dev/loop12 88M 88M 0 100% /snap/core/5742
/dev/loop13 102M 102M 0 100% /snap/ubuntu-social-kit/3
/dev/loop14 88M 88M 0 100% /snap/core/5662
/dev/loop16 141M 141M 0 100% /snap/yakyak/35
/dev/loop17 128M 128M 0 100% /snap/yakyak/25
/dev/loop18 141M 141M 0 100% /snap/gnome-3-26-1604/74
Is there a tool that can tell which ones are no longer in use and free them up?
Not that this is causing a problem, i just prefer less clutter with mount points.
18.04 mount
18.04 mount
New contributor
New contributor
edited Nov 21 at 9:10
Zanna
49k13123234
49k13123234
New contributor
asked Nov 20 at 16:54
Tdiguy
61
61
New contributor
New contributor
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Try this script
– Alvin Liang
Nov 21 at 3:48
add a comment |
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Try this script
– Alvin Liang
Nov 21 at 3:48
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Try this script
– Alvin Liang
Nov 21 at 3:48
Try this script
– Alvin Liang
Nov 21 at 3:48
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tdiguy is a new contributor. Be nice, and check out our Code of Conduct.
Tdiguy is a new contributor. Be nice, and check out our Code of Conduct.
Tdiguy is a new contributor. Be nice, and check out our Code of Conduct.
Tdiguy is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094573%2fis-there-a-semi-automated-way-to-cleanup-dev-loop-mounts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Those are Snap packages - some came with Gnome, others you installed. One easy way to clean up duplicates is to reboot.
– user535733
Nov 20 at 18:04
Try this script
– Alvin Liang
Nov 21 at 3:48