[syslinux] Announcing EXT2FS lib for syslinux

Don Hiatt donhiatt at gmail.com
Wed Aug 25 15:16:12 PDT 2010


On Wed, 2010-08-25 at 15:12 -0700, H. Peter Anvin wrote:
> On 08/25/2010 02:40 PM, Don Hiatt wrote:
> > 
> > * Usage
> >   -----
> >   Usage: ext2fs.c32 /dev/hd[a-z][1-9] cmd cmd-options 
> >   e.g. /dev/hda1 would be the first partition of the first (discovered)
> > disk
> > 
> >   Examples:
> >   * Display a text file
> >     ext2fs.c32 /dev/hdb1 cat /root/file.txt
> >   * Copy a file
> >     ext2fs.c32 /dev/hdb1 cp /root/file.txt /root/newfile.txt
> >   * Display a directory
> >     ext2fs.c32 /dev/hdb1 ls /boot
> >   * Make a directory 
> >     ext2fs.c32 /dev/hdb1 mkdir /foo
> >   * Remove a file
> >     ext2fs.c32 /dev/hdb1 rm /root/file.txt
> > 
> 
> I would really like to see us using a standard mapping of strings to
> filesystems, and that mapping needs to:
> 
> a) be compatible with what we currently have in chain.c32;
> b) live in disklib.
> 
> That is, instead of /dev/hdb1 it needs to be hd1,1; and it should handle
> all the various additional options -- MBR ID and so on.
> 
> For Syslinux 5.xx I intend to pull this into the core, so unifying it
> now is important.
> 
> 	-hpa

I'm going to start the port to disklib in the next day or so and I'll
make those changes along the way.

don





More information about the Syslinux mailing list