Liste des Groupes | Revenir à cl c |
On 12/06/2024 14:43, Richard Harnden wrote:That is part of the motivation.On 12/06/2024 10:57, Malcolm McLean wrote:Exactly my thoughts.>>
But yes, my view is the Baby X FileSystem is going to enhance Baby X and lift it to a new level. The ability to mount an internal filesystem in a small program is very useful indeed.
>
Why?
>
You have an xml file, which is just a text file, and you want to slurp that into your babyx - fine, so now you have a large char*.
>
Now you want to 'mount' that.
So you can opendir, readdir, ..., fopen something.
>
All just so that you can fgets?
Just so you can get a string out of a 'file'.
A string you basically had a pointer to already.
>
I'm sorry, but I just cannot see the point. Seems like you're making it way more complicated than it needs to be. I'm not sure why you think it needs to exist at all. Or why you think it's a good idea.
>
>
I can appreciate wanting to do this for the fun of it, or the challenge of it. People have picked weirder things for their hobby projects.
But I am at a loss to understand why Malcolm thinks this could possibly be /useful/ for anyone. We've had lots of "you want to be able to do this or that", without the slightest hint as to who "you" might be, or why "you" would want to do anything of the sort.
And /if/ access to the contents of the xml file as individual files is important and useful, then libfuse would be a vastly more useful and powerful way to handle it.
Les messages affichés proviennent d'usenet.