[syslinux] Announcing EXT2FS lib for syslinux

H. Peter Anvin hpa at zytor.com
Wed Aug 25 15:12:26 PDT 2010


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




More information about the Syslinux mailing list