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

snap - can't easily access all drives #74

Closed
daniejstriata opened this issue Jul 21, 2021 · 1 comment
Closed

snap - can't easily access all drives #74

daniejstriata opened this issue Jul 21, 2021 · 1 comment

Comments

@daniejstriata
Copy link
Collaborator

daniejstriata commented Jul 21, 2021

Hi,

I package ncdu for snap and I see that gdu has the same issue on snap. I can't access all the system's drives. As example, my test system has this config

/dev/mapper/vgmint-root /               ext4    errors=remount-ro 0       1
/dev/mapper/sda		/Data		ext4	defaults	  0    	  0

When I run gdu from /Data I get the same error as in ncdu.
In /Data:
image

If I do want to interrogate /Data or any drive mounted to the system (not a USB) I need to browse to /var/lib/snapd/hostfs
image

Would it make sense to make gdu aware if it is running from snap and if so to use the path above as root?

@daniejstriata daniejstriata changed the title snap - can't access all drives snap - can't easily access all drives Jul 21, 2021
@dundee
Copy link
Owner

dundee commented Jul 21, 2021

Thanks for suggestion. I will think about how to solve it.

@dundee dundee closed this as completed in 91acb89 Jul 25, 2021
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

No branches or pull requests

2 participants