similar to: Announcing EXT2FS lib for syslinux

Displaying 20 results from an estimated 2000 matches similar to: "Announcing EXT2FS lib for syslinux"

2010 Aug 18
1
EXT2FS lib ported to syslinux
Hello, Is there any interest in a port of the EXT2FS lib (from e2fsprogs-1.41.11) to Syslinux? I have EXT2/3/4 read and write working from within C32 applications. Cheers, don
2011 Aug 01
1
fwrite?
Is there a known problem with fopen and/or fwrite in Syslinux? I'm trying to open a file to write data to but fopen( file_name, "w+" ) fails everytime. fopen( file_name, "r" ) works just fine.
2010 Sep 19
2
can't get write_sectors to work...
Hi, Hopefully you someone can tell me what I'm doing wrong. First, the code. I placed this at the bottom of the main loop in com32/modules/disk.c as a simple test of writing to the disk: printf(" Host bus: %s, Interface type: %s\n\n", d->edd_params.host_bus_type, d->edd_params.interface_type); zero_buf = calloc(1, d->edd_params.bytes_per_sector); for(int
2011 Jan 24
0
[PATCH] disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR
Add detection code for "MS-DOS 3.30 through Windows 95 (A)" MBR to disklib. Signed-off-by: Gert Hulselmans <gerth at zytor.com> --- com32/gpllib/disk/mbrs.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c index 77e4180..37309e1 100644 --- a/com32/gpllib/disk/mbrs.c +++ b/com32/gpllib/disk/mbrs.c @@
2011 Jan 24
0
[PATCH] disklib: Detect "FreeDOS (eXtended FDisk)" MBR
Add detection code for "FreeDOS (eXtended FDisk)" MBR to disklib. Signed-off-by: Gert Hulselmans <gerth at zytor.com> --- com32/gpllib/disk/mbrs.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c index 37309e1..6150fcf 100644 --- a/com32/gpllib/disk/mbrs.c +++ b/com32/gpllib/disk/mbrs.c @@ -27,7 +27,6
2010 Sep 21
1
[Pull request] disklib: fixes for write functions
Hello Erwan, You will find below a pull request for the bug reported by Robert Jordan in the disk library. The first patch is the one he tested (see http://syslinux.zytor.com/archives/2010-September/015341.html) and the second one is a sanity check for the number of sectors written by call ( see http://syslinux.zytor.com/archives/2010-September/015342.html). Thanks, The following changes
2007 Nov 07
1
Incomplete dir listing (ext2fs / FreeBSD)
Hi, I moved a disk with ext2fs from a Linux box (SuSE) into my FreeBSD6.2 box. Some directories on that disk are shared to my Windows boxes via v3.0.26a (according to smbd -V). A couple of directories contain a large number of files (hundreds to thousands). The list of files is incomplete using Windows clients or smbclient on FreeBSD. If I copy the directories to a disk using ufs, the file
2010 May 19
2
Can't get COM32 + GDB to work
Hey guys, I can't seem to figure out how to debug a COM32 app with GDB under qemu. I start "qemu -s" and then "gdb hello.elf ; target remote:1234" but can't set any breakpoints that work. I"m using syslinux4 (pathbased from the repo). Can anyone verify that they can use qemu+com32+gdb with something as simple as com32/samples/hello.c32 ? Also, is it
2010 Apr 27
2
gpllib write_sectors() patch
Here is a partial patch that I'm using to illustrate a few questions that I have. Looking at the gpllib write_sectors (com32/gpllib/disk/write.c) it looks like the allocated size is wrong; size is in sectors so we should adjust the alloc/memcpy by size*SECTOR. Also, comparing core/diskio.c it looks like the registers aren't even setup right. In the patch below I put an #if 0 around the
2007 May 27
2
Slightly OT: Debian and CentOS multiboot: menu.lst problem
Hi, I want to slowly migrate from Debian to CentOS, so I setup a multiboot on my main machine. There's a Debian Etch install on /dev/hda, and GRUB is also installed on the Debian side. On /dev/hdb, I have CentOS 5. I fdisked the drive manually, then chose manual partitioning during install. The setup for CentOS is: hdb1 -> swap hdb2 -> /boot, ext2 hdb3 -> / , ext3 After
2007 Jan 15
3
WinXP don't boot
Hi all, I've installed CentOS 4.4 in a box which previously had dual boot (XP SP2 and Ubuntu) I can run CentOS without problem but I can't boot XP SP2. When I try it the system simply hangs... [root at seth ~]# fdisk -l Disco /dev/hdb: 40.0 GB, 40020664320 bytes 255 cabezas, 63 sectores/pista, 4865 cilindros Unidades = cilindros de 16065 * 512 = 8225280 bytes Disposit. Boot Start
2010 Mar 10
1
com32 fswrite to filesystem
Hello, Pardon the newbee question but I'd like to be able to log to disk from within syslinux (extlinux actually, as it's a ext2 fs). fopen("w") does not appear to be implemented (returns EINVAL). Has anyone written the filesystem write support, and if not, any suggested routes? Should I just implement the lower level BIOS disk write support, add the FS layer, and go from
2003 Nov 03
2
Ext3 filesystem modified while mounted read-only
I noticed that ext3 filesystems are modified if mounted read-only: # mke2fs -j /dev/hdb1 [...] # md5sum /dev/hdb1 > MD5SUM # mount -t ext3 -o ro /dev/hdb1 /mnt/test1 # umount /mnt/test1 # md5sum -c MD5SUM md5sum: MD5 check failed for '/dev/hdb1' On examination of a block-for-block copy of 'before' and 'after' images with od and diff, I believe that the changes are
2005 Apr 09
3
short read while checking ext3 journal
My UPS failed and my server took an 'unscheduled outage' a few weeks ago. The only casualty appears to be a volume I used for backup. I usually maintain data on multiple hard disks, but in this case I errantly had some data (of marginal value) on this file system. At this point, the data is not worth enough for me to send the drive out for data recovery, but it's worth enough to
2008 Sep 30
3
mount UFS partition on CentOS 5.
Hi Dears, I am having trouble mounting a partition with UFS file system (FreeBSD), I am trying to build with the following commands: mount-r-t-o ufs ufstype = ufs2 / dev/hdb1 / part mount-r-t-o ufs ufstype = 44bsd / dev/hdb1 / part But appears the following error message: mount: wrong fs type, bad option, bad superblock on / dev/hdb1, missing codepage or other error In some
2006 Jan 11
1
Can't mount dir on hdb1
Hi All, Running Samba on a Fedora 4 machine in a mixed home environment. Domain=[HOME-NETWORK] OS=[Unix] Server=[Samba 3.0.14a-2] Trying unsuccessfully to mount the dir that's on hdb1 on another Fedora 4 machine. Can mount any dir from hda just fine. Only problem is the one on hdb1. File permissions and everything else I can think of checking is identical. Just refuses to mount hdb1. Here
2016 Apr 14
1
[PATCH supermin] ext2: fix printf formatters
Use the right formatting placeholders, so it gives no warnings also on 32bit platforms. --- src/ext2fs-c.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ext2fs-c.c b/src/ext2fs-c.c index e45980a..cb9282b 100644 --- a/src/ext2fs-c.c +++ b/src/ext2fs-c.c @@ -31,6 +31,7 @@ #include <limits.h> #include <errno.h> #include <assert.h> +#include
2009 Apr 14
1
mount_ext2fs in 7-STABLE?
Hi, I noticed that mount_ext2 isn't "connected" to the normal "buildworld" but sys/*/ext2fs seems to. Building and using it from recent RELENG_7 sources works for me (having ext2fs loaded as module in GENERIC). I mounted an ext3 rw, edited grub's menu.lst, wrote and umounted without any problems. It seems recent bugs got pathched in January
2016 Jan 22
1
[supermin] [PATCH] ext2: check for needed block size
Check early that there are enough free blocks to store each file, erroring out with ENOSPC if not; this avoids slightly more obscure errors later on. --- src/ext2fs-c.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/ext2fs-c.c b/src/ext2fs-c.c index f01ca9d..e45980a 100644 --- a/src/ext2fs-c.c +++ b/src/ext2fs-c.c @@ -52,6 +52,9 @@ /* fts.h in glibc is broken,
2005 Sep 03
3
Accents in filenames on vfat filesystem
Hello. I am trying to create a text file that contains an accent like '?' in it's filename on a vfat filesystem. This generates an error like the following: "test?.txt" E212: Can't open file for writing I have made a 'modprobe nls_cp850' and 'modprobe nls_iso8859-1' to load those needed modules. Then I mounted my FAT32 partition like this: mount -t