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

Add symlink support #117

Open
piranna opened this issue Jun 20, 2017 · 5 comments
Open

Add symlink support #117

piranna opened this issue Jun 20, 2017 · 5 comments

Comments

@piranna
Copy link

piranna commented Jun 20, 2017

Althought not part of the spec of ExFAT format, OSX added an extension to FAT filesystems that allow to have symlinks on them, by using special easy to identify ad-hoc files. We could be able to add this functionality too, on a modern UNIX system they are fairly important...

https://groups.google.com/forum/m/#!topic/exfat/vITmn9WcSd4

@dorimanx
Copy link
Owner

Exfat is a window file system, linux symlinks will not work as expected.
You can create windows file links in exfat sdcard, and they will work under windows.

No need to mix different file system types.

@piranna
Copy link
Author

piranna commented Jun 21, 2017 via email

@piranna
Copy link
Author

piranna commented Jun 21, 2017

I've review the code and seems exfat-nofuse is using a reserved field to store a flag to say that file is in fact a symlink, and I'm not sure if it's doing the same trick with FAT32 filesystems too. Does that means that it support symlinks the UNIX way? In that case, then it would only needs to notify it when reading a file...

I'm thinking to use it as $HOME for NodeOS when booting directly from a pendrive.

@piranna
Copy link
Author

piranna commented Aug 4, 2017

@piranna It seems exfat has many hidden surprises.

Not ExFAT, but exfat-nofuse ;-)

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

3 participants
@piranna @dorimanx and others