Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept wildcards for --include-fs-path and --exclude-fs-path #28

Open
grant-singleton-nz opened this issue Jul 25, 2023 · 0 comments · May be fixed by #29
Open

Accept wildcards for --include-fs-path and --exclude-fs-path #28

grant-singleton-nz opened this issue Jul 25, 2023 · 0 comments · May be fixed by #29

Comments

@grant-singleton-nz
Copy link

With ZFS becoming more common the number of child file systems is increasing. On recent install of Ubuntu 22.04 using ZFS, df -h looks like this

udev                                             devtmpfs  65854284        0  65854284   0% /dev
tmpfs                                            tmpfs     13183828     2984  13180844   1% /run
rpool/ROOT/ubuntu_y0n4y7                         zfs      801073792  4717696 796356096   1% /
tmpfs                                            tmpfs     65919140        0  65919140   0% /dev/shm
tmpfs                                            tmpfs         5120        4      5116   1% /run/lock
tmpfs                                            tmpfs     65919140        0  65919140   0% /sys/fs/cgroup
rpool/USERDATA/tonkatest_85thdo                  zfs      796418944    62848 796356096   1% /home/xxx-userdir-xxx
rpool/USERDATA/root_85thdo                       zfs      796356352      256 796356096   1% /root
rpool/ROOT/ubuntu_y0n4y7/srv                     zfs      796356224      128 796356096   1% /srv
rpool/ROOT/ubuntu_y0n4y7/usr/local               zfs      796356224      128 796356096   1% /usr/local
rpool/ROOT/ubuntu_y0n4y7/var/games               zfs      796356224      128 796356096   1% /var/games
rpool/ROOT/ubuntu_y0n4y7/var/lib                 zfs      798986368  2630272 796356096   1% /var/lib
rpool/ROOT/ubuntu_y0n4y7/var/log                 zfs      797685376  1329280 796356096   1% /var/log
rpool/ROOT/ubuntu_y0n4y7/var/mail                zfs      796356224      128 796356096   1% /var/mail
rpool/ROOT/ubuntu_y0n4y7/var/snap                zfs      796356864      768 796356096   1% /var/snap
rpool/ROOT/ubuntu_y0n4y7/var/www                 zfs      796356224      128 796356096   1% /var/www
rpool/ROOT/ubuntu_y0n4y7/var/spool               zfs      796356224      128 796356096   1% /var/spool
rpool/ROOT/ubuntu_y0n4y7/var/lib/AccountsService zfs      796356224      128 796356096   1% /var/lib/AccountsService
rpool/containerd                                 zfs      846543744 50187648 796356096   6% /var/lib/containerd
rpool/ROOT/ubuntu_y0n4y7/var/lib/NetworkManager  zfs      796356352      256 796356096   1% /var/lib/NetworkManager
rpool/ROOT/ubuntu_y0n4y7/var/lib/apt             zfs      796486912   130816 796356096   1% /var/lib/apt
rpool/ROOT/ubuntu_y0n4y7/var/lib/dpkg            zfs      796391552    35456 796356096   1% /var/lib/dpkg
rpool/snapshot                                   zfs      796357120     1024 796356096   1% /var/lib/containerd/io.containerd.snapshotter.v1.zfs

I'd like to be able to ignore all filesystems matching /var/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant