Displaying 20 results from an estimated 272 matches for "ext2fs".
2010 Aug 25
2
Announcing EXT2FS lib for syslinux
Here is the initial release:
git://github.com/donhiatt/Syslinux-EXT2FS-Library-port.git
I am very new to git so I hope I managed to get the repo setup properly.
The repo is branched from 'disklib' as I plan to use it for all disk
read/write access (I'm currently using modified gpllib/disk/* -- see
README).
Cheers,
don
-----
README for ext2fs module....
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 <intt...
2014 Jul 29
4
[PATCH 0/2] supermin: improve handling of memory
...two patches improve the way memory is handled in supermin, by
cleanly exiting on memory allocation failures, and free'ing memory when
not needed (to keep working and not run out of memory).
Pino Toscano (2):
Check for failures in memory allocations
Free memory buffers when not used
src/ext2fs-c.c | 13 +++++++++++--
src/init.c | 13 +++++++++++++
2 files changed, 24 insertions(+), 2 deletions(-)
--
1.9.3
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
(http://www.freebsd.org/cgi/query-pr.cgi?p...
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, forcing us to use the GNUlib alternative. */
#include "fts_.h&quo...
2015 Dec 02
4
[PATCH 0/3] supermin: add --include-packagelist
Hi,
to ease debugging issues with appliances (e.g. when used in libguestfs),
using --include-packagelist will add a file containing the list of all
the packages used.
Thanks,
Pino Toscano (3):
ext2: add ext2fs_chmod and ext2fs_chown
chroot: factor out file copy code
Add --include-packagelist
src/build.ml | 42 +++++++++++++++++++++++++------
src/chroot.ml | 29 ++++++++++++++++++---
src/ext2.ml | 18 +++++++++++++-
src/ext2fs-c.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++...
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 F...
2014 Feb 09
0
Hurd boot difficulties.
...it by grub.
Grub passes Hurd kernel approximately 4 files, some of which are modules,
and another ten (or so) boot arguments, which correspond to those modules
and kernel. The four files needed to boot the hurd kernel into an intramfs
are apparently: 1) ld.so.1 2) initrd.gz 3) gnumach.gz and 4)
ext2fs.static
They are available at
http://ftp.debian-ports.org/debian-cd/hurd-i386/current/
and the arguments to grub are as follows:
multiboot /boot/kernel/gnumach.gz $options desktop=xfce
module /boot/kernel/ext2fs.static ext2fs \
--multiboot-command-line='${kernel-command-line}'...
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
2008 Nov 24
2
ext2 inode size patch - RE: PR kern/124621
A while back, I submitted a patch for PR kern/124621, which allows the
mounting of an ext2(3) filesystem created with an inode size other
than 128. The e2fsprogs' default is now 256, so file systems created
on newer Linux distributions or with the port will not be mountable.
I was hopeful this would get committed in time for 7.1-RELEASE (and
6.4-RELEASE), however the PR remains open.
If
2019 Nov 26
0
[PATCH supermin] ext2: Build symbolic links correctly (RHBZ#1770304).
We created symlinks in two steps, by creating the empty inode and then
calling ext2fs_symlink to populate it. This created broken symlinks
where the directory name contained a / character, eg:
lrwxrwxrwx 1 root root 7 Nov 26 08:43 /bin -> usr/bin
lrwxrwxrwx 1 root root 7 Nov 26 08:43 /lib -> usr/lib
lrwxrwxrwx 1 root root 9 Nov 26 08:43 /lib64 -> usr/lib64...
2004 Oct 13
0
Linux device number extension patch
...nel 2.6, device number is extended from 16-bit to 32-bit. All utilities and libraries should make corresponding extension for this new feature in kernel 2.6.
Following operation defines type "kdev_t" as "unsigned short" type, thus the device number has only 16-bit.
In file lib/ext2fs/jfs_user.h: 4
typedef unsigned short kdev_t;
In file misc/jfs_user.h: 4
typedef unsigned short kdev_t;
In file debugfs/jfs_user.h: 4
typedef unsigned short kdev_t;
It seems not to correspond to device number extension.I think Kdev_t should be defined as 32-bit long int....
2003 Sep 04
1
ext2fs BSD-slice subpartition?
Hi everyone,
I extracted this from the grub sourcecode:
/* possible values for the *BSD-style partition type */
.
.
.
#define FS_EXT2FS 17 /* Linux Extended 2 file system */
It would actually meet my partitioning requirements to register a
partition inside one of my slices as ext2 (I currently mask the
partition type as ISO9660(!) and use a *patched* grub, so you see this
situation is suboptimal...), but the disklabel p...
2001 Oct 13
1
Where can I find rpms for ext2fs tools and mount etc?
Hi there..
I'm another ext3 newbie and I have patched and installed 2.4.12-ac1, and
compiled from source the above utils.. I saw a link a while back for rpms for
these, and I was wondering if anybody knew the url...
Also, the question everybody wants to know I think - Does anybody have any
idea when the ext3 code will enter the stable kernel tree (not -ac)?
I am assuming RH might wait for
2001 Dec 10
1
ext3 mounted as ext2
Hi,
Also I do have some problems mounting an ext3fs which gets just mounted
as an ext2fs. (Yeap, I looked a little bit around in the mailling list
and found similiar problems which haven't help me ;-( )
I have a root ( /) and a /mnt partition. both are converted via tune2fs
-j into a journaled fs.
my fstab looks like this:
/dev/hda1 / ext2...
2017 Mar 01
3
[PATCH supermin 0/2] Use AC_HEADER_MAJOR to find definitions of major, minor, makedev.
Quite a complex fix in the end, see the comment in the second commit.
Rich.
2016 Jul 06
0
[PATCH] ext2: Don't load whole files into memory when copying to the appliance (RHBZ#1113065).
Obviously for very large files this is going to be a problem, as well
as not being very cache efficient.
libext2fs can handle writes to parts of files just fine so copy files
in blocks.
Also demote the "Permission denied" error to a warning, and add some
explanatory text telling people not to use sudo.
---
src/ext2fs-c.c | 127 +++++++++++++++++++++++++++++++++++----------------------
1 file changed...
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...b0 convert.c
--- a/convert.c Fri Jan 04 11:29:55 2008 -0500
+++ b/convert.c Mon Jan 07 23:35:25 2008 +0800
@@ -33,6 +33,7 @@
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
+#include "crc32c.h"
#include "utils.h"
#include "ext2fs/ext2_fs.h"
#include "ext2fs/ext2fs.h"
@@ -43,7 +44,7 @@
* Open Ext2fs in readonly mode, read block allocation bitmap and
* inode bitmap into memory.
*/
-static int open_ext2fs(char *name, ext2_filsys *ret_fs)
+static int open_ext2fs(const char *name, ext2_filsys *ret_fs)
{...
2015 Nov 07
3
Re: mkfs.ext2 succeeds despite nbd write errors?
...debian:~#
I did manage to find two calls to fsync in the e2fsprogs source which
are not return-value-checked:
https://github.com/tytso/e2fsprogs/blob/956b0f18a5ddb6815a9dff4f10a1e3125cdca9ba/misc/filefrag.c#L303
https://github.com/tytso/e2fsprogs/blob/956b0f18a5ddb6815a9dff4f10a1e3125cdca9ba/lib/ext2fs/unix_io.c#L915
I'll see about submitting a patch there.
I'm not sure where to start with hunting down why mkfs's pwrite()
calls aren't failing. I'd look to the kernel source for that?
-jason
2007 Mar 12
2
e2fsck hanging
...760
read(3, "\325\0\0\0\f\0\1\2.\0\0\0\226\2\252+\f\0\2\2..\0\0\326"...,
4096) = 4096
And, that's it. No more output.
A backtrace from gdb shows:
(gdb) bt
#0 0x0000000000418aa5 in get_icount_el (icount=0x5cf170,
ino=732562070, create=1) at icount.c:251
#1 0x0000000000418dd7 in ext2fs_icount_increment (icount=0x5cf170,
ino=732562070, ret=0x7fffffa79a96)
at icount.c:339
#2 0x000000000040a3cf in check_dir_block (fs=0x5af560,
db=0x2b7070cc6064, priv_data=0x7fffffa79c90) at pass2.c:1021
#3 0x0000000000416c69 in ext2fs_dblist_iterate (dblist=0x5c3f20,
func=0x409980 <check_...