Y
Hacker News
new
|
ask
|
show
|
jobs
by
SkyMarshal
1518 days ago
How do you show the .zfs directory if it ignores `ls -a`?
2 comments
mappu
1518 days ago
The whole VFS is an illusion, it's totally possible for the filesystem driver to say one thing in readdir(3) and another thing in fopen(3).
link
tbrownaw
1518 days ago
Related fun fact: if you have +x but not +r on a directory, you can traverse it (access things whose names you know), but not view its contents (`ls` won't work).
link
4oo4
1518 days ago
You have to go into zfs settings to enable it, I think it's something like this: `zfs set snapdir=visible poolname/dataset`
After that you can see it with `ls -la`.
link