Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-27 Thread enrico.migli...@libero.it
Hi

> Hi,
> 
> have you considered EFLS ? I have 
> a friend that already used it and said that it worked out of
> the box. 
> One suposed advantage is that it was designed for embedded 
> and has a 
> small footprint. The licence is LGPL!

I know the project, but noticed that the last CVS commit is dated January 
2006...
 
> While googling I also found this 
>  that looks very 
> interesting. 
> Could no find the licene, though.

It seems a well written library. I couldn't find the stdio layer on top of the 
filesystem though.

Enrico

 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-26 Thread enrico.migli...@libero.it
Hi Imre,

> Eric told me you where working on something similar as me, 
> namely a portable FAT file system. 

that's right :-)

> I am not aware of what your intentions are with this port, 
> so I am not going to try to steel this from you.
> 
> But have you considered:
> - that FreeDOS doesn't have long file name support in the 
> kernel

Yes, I know that.

> - that there are no functions in the kernel that allow to 
> easily read/write files, like with fopen, fread, ...

Four year ago I ported the FreeDos filesystem and added the ANSI stdio.h 
library taken from Minix (written permission).
Therefore I got (and can share with anybody) a full stdio library. 
 
> - that the FreeDOS kernel license is GPL and therefore every
> code that uses this port has by consequence to be GNU GPL.

Yes. 

> I am currently reworking my own code to make a portable FAT 
> file system, based on the code of defrag, chkdsk and 
> recover. 
> 
> It will have:
> - long file name support
> - a full c-lib like API for working with files (fopen, 
> fread, ...)
> - it will be GNU LGPL
> - it will include a browser, so that you can work with image
> files, pretty much like you can use diskexplorer 
> (http://hp.vector.co.jp/authors/VA013937/editdisk/index_e.html)

The FreeDOS' filesystem seems to work pretty good. I made quite a few tests and 
I personally think that the code is reliable.

Adding LFN support is not trivial but shouldn't be a problem.
 
> And it will most likely also have:
> - journaling extensions
> 
> With journaling extensions I mean that the code will be 
> compilable so that before changing anything on the disk it 
> will make a copy of that part of the disk. When the change 
> was done correctly the copy will be deleted, if the system 
> reboots and the copy is still on the disk, the system will 
> reset the copy.

That's interesting.
I think that if you want to make this extension portable you should store the 
journal in a file and not in some reserved region of the disk.
 
> Again, this is what I was planning to do, you can of course 
> write wathever you want to write and I will not bother with 
> it.

Things are that I need to read/write flash USB disks in a commercial embedded 
product by the end of October and the port is almost done.

What's the status of your work?

If you want, we can share the effort and work together on the FreeDOS 
filesystem:-)


Here you'll find the port that I made 4 years ago:

 www.fatti.com/ffs/ffs.zip

It's "0 warning" port and please, note how clean the code is :-)

Enrico

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-24 Thread Alain M.
Hi,

I also found this very good FAT32 tutorial 


Alain


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-24 Thread Alain M.
Hi,

have you considered EFLS ? I have 
a friend that already used it and said that it worked out of the box. 
One suposed advantage is that it was designed for embedded and has a 
small footprint. The licence is LGPL!

While googling I also found this 
 that looks very interesting. 
Could no find the licene, though.

Alain

Imre Leber escreveu:
>>
>> Hi guys,
>>
>> here I'm back on track.
>>
>> I've been pretty busy in the past two months so I couldn't finish the port.
>> At the end of the month I'll have the time to continue.
>>
>> How about if I post somewhere the work done so far?
>>
>> It's a "Microsoft Visual C 6.0" project and the test needs just an usb flash 
>> disk.
>>
> 
> Eric told me you where working on something similar as me, namely a portable 
> FAT file system. 
> 
> I am not aware of what your intentions are with this port, so I am not going 
> to try to steel this from you.
> 
> But have you considered:
> - that FreeDOS doesn't have long file name support in the kernel
> - that there are no functions in the kernel that allow to easily read/write 
> files, like with fopen, fread, ...
> - that the FreeDOS kernel license is GPL and therefore every code that uses 
> this port has by consequence to be GNU GPL.
> 
> I am currently reworking my own code to make a portable FAT file system, 
> based on the code of defrag, chkdsk and recover. 
> 
> It will have:
> - long file name support
> - a full c-lib like API for working with files (fopen, fread, ...)
> - it will be GNU LGPL
> - it will include a browser, so that you can work with image files, pretty 
> much like you can use diskexplorer 
> (http://hp.vector.co.jp/authors/VA013937/editdisk/index_e.html)
> 
> And it will most likely also have:
> - journaling extensions
> 
> With journaling extensions I mean that the code will be compilable so that 
> before changing anything on the disk it will make a copy of that part of the 
> disk. When the change was done correctly the copy will be deleted, if the 
> system reboots and the copy is still on the disk, the system will reset the 
> copy.
> 
> Again, this is what I was planning to do, you can of course write wathever 
> you want to write and I will not bother with it.
> 
> 
> Imre
> 
> 
> 
>> Enrico

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-24 Thread Florian Xaver
On Fri, 24 Aug 2007 19:30:43 +0200, Imre Leber <[EMAIL PROTECTED]>  
wrote:

> namely a portable FAT file system.

What do you mean with portable FAT file system? Portable to other  
operating systems I think...! But compatible with FAT32?

btw: Do you know FAT32 Plus from Udo Kuhnt? It supports files which are  
larger than 4GB... If not, please contact him (www.drdosprojects.de).

Bye
  Flo

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Porting the FAT filesystem (18)

2007-08-24 Thread Imre Leber

>- Oorspronkelijk bericht -
>Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Verzonden: vrijdag, augustus 24, 2007 03:35 PM
>Aan: 'freedos-devel'
>Onderwerp: [Freedos-devel]  Porting the FAT filesystem (18)
>
>Hi guys,
>
>here I'm back on track.
>
>I've been pretty busy in the past two months so I couldn't finish the port.
>At the end of the month I'll have the time to continue.
>
>How about if I post somewhere the work done so far?
>
>It's a "Microsoft Visual C 6.0" project and the test needs just an usb flash 
>disk.
>

Eric told me you where working on something similar as me, namely a portable 
FAT file system. 

I am not aware of what your intentions are with this port, so I am not going to 
try to steel this from you.

But have you considered:
- that FreeDOS doesn't have long file name support in the kernel
- that there are no functions in the kernel that allow to easily read/write 
files, like with fopen, fread, ...
- that the FreeDOS kernel license is GPL and therefore every code that uses 
this port has by consequence to be GNU GPL.

I am currently reworking my own code to make a portable FAT file system, based 
on the code of defrag, chkdsk and recover. 

It will have:
- long file name support
- a full c-lib like API for working with files (fopen, fread, ...)
- it will be GNU LGPL
- it will include a browser, so that you can work with image files, pretty much 
like you can use diskexplorer 
(http://hp.vector.co.jp/authors/VA013937/editdisk/index_e.html)

And it will most likely also have:
- journaling extensions

With journaling extensions I mean that the code will be compilable so that 
before changing anything on the disk it will make a copy of that part of the 
disk. When the change was done correctly the copy will be deleted, if the 
system reboots and the copy is still on the disk, the system will reset the 
copy.

Again, this is what I was planning to do, you can of course write wathever you 
want to write and I will not bother with it.


Imre



>Enrico
>
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/
>___
>Freedos-devel mailing list
>Freedos-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
>



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel