mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #239] Symbolic/hard Link, virtual folders like sftpgo, list directory above if view files by browser support #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lynks529 on GitHub (Jun 30, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/239
Specific Demand
Symbolic/Hard Link Support
I found that dufs can't list symbolic link entries.
Dynamic virtual folders like sftpgo
When running dufs, you may need add some virtual folders to transfers files.
Instead of running another instance and using another port.
list directory above if view files by browser
We prefer folders above and files below.
Implement Suggestion
@sigoden commented on GitHub (Jun 30, 2023):
I don't understand what you're saying. can you give an example ?
dufs supports symlink.
@lynks529 commented on GitHub (Jul 1, 2023):
Run
cargo runresult:C:/Volumes\\deno-x86_64-1.34.3-pc-windows-msvc.zipandC:/Volumes\\flutter_windows_3.10.5-stable.zipare virtual folders create byPismo File Mount Audit Package build 192-win.exe, which used to mount archive files.Run
dufs C:\Volumes, and openhttp://127.0.0.1:5000/, page no show that two virtual folders, just:@lynks529 commented on GitHub (Jul 1, 2023):
Sort by names folders not above
Run dufs
C:\Volumes, and openhttp://127.0.0.1:5000/?order=desc&sort=name, page shows:@sigoden commented on GitHub (Jul 1, 2023):
You need to run with "--allow-symlink" or "--allow-all"
@sigoden commented on GitHub (Jul 1, 2023):
sort by name, in desc order, what's the problem?
@lynks529 commented on GitHub (Jul 1, 2023):
Thanks, that's OK.
@lynks529 commented on GitHub (Jul 1, 2023):
Could this sort features can display entries like Windows Explorer, folders has high priority.
@sigoden commented on GitHub (Jul 1, 2023):
Not sure, I need to do some research.
@lynks529 commented on GitHub (Jul 1, 2023):
Dynamic virtual folders like sftpgo
Dynamicly map real directories to webdav root subdirs.
eg.: Map
C:\_File_Cacheof C partition to webdav path/_File_Cache.@sigoden commented on GitHub (Jul 1, 2023):
Isn't it just
dufs C:\?@lynks529 commented on GitHub (Jul 1, 2023):
Many partitions, not only
C:.@sigoden commented on GitHub (Jul 1, 2023):
Then you create symlinks such as
D: => C:\DE: => C:\E,You should study yourself, try and chek.
@lynks529 commented on GitHub (Jul 1, 2023):
Thanks, maybe I'll tweak it.