Comments (9)
. goes "dot"
from ffs.
So we need some renaming: .
and ..
are not legal filenames on any system, and other systems have other special characters. The current policy is in config.rs. I'm definitely not doing the right thing, though!
I fixed the saving behavior in 726a175, where names should get properly restored. Can you try using a latest
build?
from ffs.
I tested with yaml since I can yank/see the wrong lines faster; the bug seems to be still there. thanks,
from ffs.
Can you give me a concrete file that goes wrong, and tell me what you expect it to do?
from ffs.
nothing more than:
- creating a new file '{}' by hand (btw: --new gives an error)
- the loading ffs with it, -o anotherfile
- create directories containing spaces in their name "some thing"
- umount, go to 2.
- all directories have now "somespacething" and files somedotsh
btw, is it possible to compare against '.' and '..' and remove them from dir list?
from ffs.
Can you please create a new issue with (a) how you're invoking ffs --new
and (b) the error you're getting?
Just to check: in (4), by "go to 2" you mean load anotherfile
in ffs
?
What do you mean by "remove them from the dir list"? It's important that calls to readdir
return those entries. Did you mean just filtering out .
and ..
named properties?
from ffs.
Yes, filtering.
from ffs.
Got it. My plan is the following:
- cfb8790 do as little name munging as possible (we can just keep spaces, etc.)
- cfb8790 rename
.
and..
files tosomething clear_.
and_..
, respectively - f2dc69a add options to control whether entries with bad names are munged or filtered
- fed1a4e test filenames with spaces
I'm thinking --munge rename
or --munge filter
to control things. I think I'd rather have renaming be the default, so that the data are at least there.
I'm going to merge #41 now---please download a new latest
once it's built and test things out.
from ffs.
The development pre-release builds are up for Linux and macOS. I'll have another official release out soon.
Closing this issue for now. If it's still not working for you, please post:
- A non-empty YAML file that
ffs
mounts incorrectly. - An explanation of how you wish it was mounted.
from ffs.
Related Issues (20)
- Support `copy_file_range`
- Sync/live flags
- Niceties
- PDF (?!)
- Name munging is never undone HOT 1
- missing INSTALL.md HOT 1
- Option to pretty print output
- homebrew package HOT 2
- Debian package
- Invalid mount attempt leaves behind empty directory/member HOT 1
- Faster testing and benchmarking HOT 1
- Surprisingly slow parsing
- Pack/unpack approach HOT 1
- Signal support HOT 3
- Better error messages
- Use Box<dyn Nodelike>
- Auto-detect list directories
- Empty file mounting fails HOT 3
- Windows support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffs.