On Sat, Jul 29, 2006, EV wrote:
> As I've more or less manually tagged (or controlled) all my 3k+ 
> tunes collection, I know which characters are used.  So I do 
> known it is safe for me to change '/' for '\', becouse I know no 
> '\' exists in any of the tags of my collection ;)  Now, with the 
> "originals escaping" it is totally safe. 

Some of us are not so diligent.

> > That is not possible to do in a safe way if '\' is also being
> > used as the escaping character. You can either pick a different
> > character to use for escaping (which also needs to be rare,
> > such as '$', '{' or '}') or pick a different character for '/'.
> 
> Well, '$' is not so rare in tune titles ;)  What about making the

Is for me. We're never going to find one that works for everyone.
Actually, '\' is reasonably common in my collection!
How about '>'? I've never come across one of those.

> escape character optional?.  I like '\' as the escape but also as
> a (default?) substitute for the '/'...

I'll look into it. I'm always a bit wary of adding too many options,
though.

> > I think that the '/' character is one area where users should
> > not even get the option of breaking the filesystem. They should
> > be allowed to change the character used as a replacement for
> > '/' but should not be able to prevent it from being replaced.
> 
> Agree.

Implemented in just the patch I just submitted.

> > 
> > eg. (using vanilla lkarmafs-0.1.7)
> > 
> > $ ls /mnt/karma/tune/A-Ha/Hunting\ High\ And\ Low/
> > Take On Me.ogg  Take On Me.ogg  Take On Me.ogg  Take On Me.ogg
> 
> But this is very strange, or just impossible situation, isn't it?
> AFAIK, typical filesystems don't support multiple, different
> files with identical name under the same directory...

No, they don't. The lkarmafs filesystem does though!
I'll submit a bugfix later this evening.

Keith.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to