TabFS
TabFS copied to clipboard
Non-existent tabs under 'by-id'
Just started using tabfs today. Tabs with file semantics scratch an itch I didn't know I had 😄
While browsing tabs under by-id, I noticed something weird. I'm able to cd into a directory that doesn't exist:
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> pwd
/Users/suhailmuhammed/Codestash/TabFS/fs/mnt/tabs/by-id
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id>
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> ls -ltr
total 0
drwxr-xr-x 3 root wheel 0 Dec 31 1969 535003938
drwxr-xr-x 3 root wheel 0 Dec 31 1969 535003929
drwxr-xr-x 3 root wheel 0 Dec 31 1969 535003926
drwxr-xr-x 3 root wheel 0 Dec 31 1969 535003918
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id>
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> cd 78986
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/b/78986>
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/b/78986>
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/b/78986> ls
control debugger evals inputs watches
I can also list the contents of a non-existent directory:
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> ls 54
control debugger evals inputs watches
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id>
This seems to work for numbers but not alpha-numeric names:
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> ls Idontexist
ls: Idontexist: No such file or directory
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id [1]> ls 1Idontexist
ls: 1Idontexist: No such file or directory
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id [1]> ls 12
control debugger evals inputs watches
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id>
suhailmuhammed@Suhails-MacBook-Pro ~/C/T/f/m/t/by-id> ls 123231a
ls: 123231a: No such file or directory
I haven't spent time debugging this yet because macOS restricts me from using strace and I didn't want to go through the hassle of getting around that today. I can spend some time on it later this week, if you're okay with me helping out.
Thanks for creating this again!
Oh, here's the version of TabFS I'm using:
suhailmuhammed@Suhails-MacBook-Pro ~/C/TabFS (master)> git show HEAD
commit e056ff9073470192ef4c8498aaa7e722edae87c2 (HEAD -> master, origin/master, origin/HEAD)
Merge: a192187 4f08bb7
Author: Omar Rizwan <[email protected]>
Date: Thu Mar 2 15:45:33 2023 -0500
Merge pull request #85 from jdietrich-tc/master
add Arc browser support for mac
Chrome and mac details:
Google Chrome | 110.0.5481.177Â (Official Build)Â (x86_64)
-- | --
Revision | f34f7ab2d4ca4ad498ef42aeba4f4eb2c1392d63-refs/branch-heads/5481@{#1239}
OS | macOS Version 11.4 (Build 20F71)