question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SOLVED][Debian apt-get install] How to hide/ignore squashfs file system type?

See original GitHub issue

Hello,

I have created a config.yaml as per Man Page to use udiskie in Debian Stretch 9.9 amd64. udiskie works excellent. The doubt is how to hide/ignore squashfs fstype since all my snap apps are loaded as squashfs. lsblk -lf command shows it. When clicking on the tray icon a large nested list shows with 21 snaps, eg. /dev/loop0: /var/lib...snap

Any ideas on how to hide them that does not have to do with using 21 times…

- device_file: /dev/loop0
  ignore:      false

is appreciated.

Thank you in advance,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
coldfixcommented, May 2, 2019

I don’t know how to restart udiskie. What I do is run it and then either Ctrl+D, modify config file and run again or run it, click icon and click Exit button.

that should be fine (Ctrl+C / exit).

This time I have done reboot computer an run… Here is the verification:

myuser@mycomputer:~$ udiskie -v
DEBUG [2019-05-02 14:44:14,826] udiskie.config: IgnoreDevice(match={'symlinks': '/dev/mapper/docker-*'}, value=True) created
DEBUG [2019-05-02 14:44:14,826] udiskie.config: IgnoreDevice(match={'symlinks': '/dev/disk/by-id/dm-name-docker-*'}, value=True) created
DEBUG [2019-05-02 14:44:14,826] udiskie.config: IgnoreDevice(match={'is_loop': True, 'loop_file': '/*'}, value=False) created
[...]

Doesn’t seem to use the defined filters. Now that I see this, I recall that udiskie learned device_config only recently. Try to replace device_config by ignore_device: instead (same syntax).

If you need additional data or all all data as indicated in Debug section, I can gladly provide it. Anything.

Regards and thanks,

0reactions
coldfixcommented, May 2, 2019

You can write something in the wiki. Other than that, there are currently no coherent docs anyway (I might add some from the wiki at some point) and I’d rather not document old syntax that I want to remove eventually in the man pages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

filesystem - How do I use OverlayFS? - Ask Ubuntu
You must first mount the (in my case squashfs) filesystem to an arbitrary directory, then use overlayfs to merge the mount point (a...
Read more >
SquashFS HOWTO - The Linux Documentation Project
This HOWTO describes the usage of SquashFS - a highly-compressed read-only file system for Linux, which is intended for use in tiny-sized and...
Read more >
unsquashfs(1) — squashfs-tools - Debian Manpages
Squashfs is a highly compressed read-only filesystem for Linux. It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, ...
Read more >
vasi/squashfuse: FUSE filesystem to mount squashfs archives
1. (if needed) If the file `configure' is already present, skip this step. Otherwise, run `./autogen.sh' to generate one. · 2. Run `./configure'...
Read more >
Embedded Linux: Using Compressed File Systems - LWN.net
For example, I could have a read-only SquashFS file system and a read/write JFFS2 file system mounted together under the root directory so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found