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

[WIP] hide files/dirs #183

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

[WIP] hide files/dirs #183

wants to merge 3 commits into from

Conversation

ezrizhu
Copy link
Collaborator

@ezrizhu ezrizhu commented Nov 3, 2024

example: ./try -E STYLE.md -n "ls"

TODO

  • Impl
  • tests
  • resolve issue on /tmp
  • resolve CI failure
  • manpages & usage

@ezrizhu ezrizhu changed the title [WIP]basic impl [WIP] hide files/dirs Nov 3, 2024
@ezrizhu
Copy link
Collaborator Author

ezrizhu commented Nov 3, 2024

current issue: try -E fails when the dir is in /tmp

λ cat /tmp/tmp.hjwJDZxAyD.try-1730616101765
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/efi: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/nix: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/run: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/run/user/1000/doc: permission denied.
       dmesg(1) may have more information after failed mount system call.
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/sys: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/tmp: mount(2) system call failed: Too many levels of symbolic links.
       dmesg(1) may have more information after failed mount system call.

specifically: mount: /tmp/tmp.x51LCKay3K.try-1730616101765/temproot/tmp: mount(2) system call failed: Too many levels of symbolic links.

temp curr resolution: setting mktemp to use another dir

@ezrizhu ezrizhu self-assigned this Nov 3, 2024
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 this pull request may close these issues.

1 participant