[syslinux] [PATCH 1/1] COM32: Add stub functions for directories

Keith Schincke keith.schincke at gmail.com
Wed Oct 29 06:20:56 PDT 2008


Read only access is not a problem. I have avoided changing the FAT on well
known  hardware and code.

A vfs file operation structure can be adopted to implement these operations
for multiple file system types. opendir() would call the file system
specific related function (ie opendir_vat(), opendir_ext2(), ... ).

Keith

On Wed, Oct 29, 2008 at 12:27 AM, H. Peter Anvin <hpa at zytor.com> wrote:

> Keith Schincke wrote:
> > Hey Gene,
> >
> > Are you going to be mostly POSIX with the way your functions work?
> > Are you going to add mkdir(), rmdir(), rewinddir() and fchdir()?
> > What file systems are you wanting to support? FAT or ext2 also?
> > opendir() can be quickly written with a statically sized open DIR* handle
> > table.
> >
>
> Well, ultimately you need to push this into the filesystem drivers.
>
> I really dislike the idea of write operations; it's way too easy to
> trash filesystems when encountering semi-broken firmware.
>
>        -hpa
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>



More information about the Syslinux mailing list