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

missing x-gvfs-hidein in mount #174

Open
ztmzzz opened this issue Mar 10, 2024 · 0 comments
Open

missing x-gvfs-hidein in mount #174

ztmzzz opened this issue Mar 10, 2024 · 0 comments

Comments

@ztmzzz
Copy link

ztmzzz commented Mar 10, 2024

After reboot, x-gvfs-hide is missing in mount. That caused hideMounts = true; useless.
mount:

/dev/nvme2n1p2 on /home/xxx/mynixos type btrfs (rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=394,subvol=/persistent)

/etc/fstab have the correct content.

/persistent/home/xxx/mynixos /home/xxx/mynixos auto bind,X-fstrim.notrim,x-gvfs-hide 0 0

After login, I can run this to solve the question.

umount *
mount -a

mount:

/dev/nvme2n1p2 on /home/xxx/mynixos type btrfs (rw,relatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=394,subvol=/persistent,x-gvfs-hide)

It looks like fstab ignores x-gvfs-hide, but why does mount -a get the correct result?

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

1 participant