similar to: [PATCH 1/4] extlinux: simplification

Displaying 20 results from an estimated 400 matches similar to: "[PATCH 1/4] extlinux: simplification"

2015 Nov 18
1
[PATCH 4/4] extlinux: simplification by removing one label
2015-11-13 21:19 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>: > Now that xfs_install_file is simplified by using new helpers, we can > remove use of label/goto for clarity. > > Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr> > --- > extlinux/main.c | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) > > diff
2013 Jan 06
3
[PATCH] extlinux: Make sure ldlinux.sys file is installed
Due to delayed allocation feature on XFS filesystems, a write is not guaranteed to flushed out to the underlying file system after crash or something else - so we need to make sure that ldlinux.sys is installed correctly in the mounted filesystem. Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> --- extlinux/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extlinux/main.c
2015 Nov 13
0
[PATCH 4/4] extlinux: simplification by removing one label
Now that xfs_install_file is simplified by using new helpers, we can remove use of label/goto for clarity. Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr> --- extlinux/main.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 43c1a31..8b97a71 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -735,28
2015 Nov 13
0
[PATCH 2/4] extlinux: rename ext2_fat_install_file
Rename from ext2_fat_install_file to ext_common_install_file as it is use for ext, vfat, ntfs and ufs. Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr> --- extlinux/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 5bab712..c446c75 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -595,7 +595,7 @@ static int
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the
2015 Sep 09
1
[PATCH v1 1/1] extlinux: fix file descriptors leak
file descriptors are closed when not in use Signed-off-by: Imran Zaman <imran.zaman at intel.com> --- extlinux/main.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/extlinux/main.c b/extlinux/main.c index 09740bd..55a1495 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -580,6 +580,7 @@ int ext2_fat_install_file(const char *path, int devfd, struct
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello, Happy New Year! These patches make syslinux/linux support ext2/3/4, and it doesn't require the root privilege, I'd like to add a separate e2fs/syslinux, if that is more appropriate, it should be easy to do that. I put these patches on github so that you can easily get them in case you'd like to test them. (The repo's name is sys_tmp, which avoids confusing others, I will
2013 Jul 12
2
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
It's needed to enumerate both UFS1/2 since they have different magic numbers and super block offsets. Besides, UFS2 can be installed in the 0-64k range like BTRFS, whereas UFS1 can't. Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> --- extlinux/main.c | 71 +++++++++--- extlinux/ufs.h | 26 ++++ extlinux/ufs_fs.h | 307
2012 Aug 02
0
[PATCH 2/3] ALPHA: first try to fix adv problem
This is part of some patches to support sectors > 512. Currently I'm able to boot a Ubuntu kernel but seems that mboot is not working for some reason. This patch try to fix ADV size problem. Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com> --- extlinux/main.c | 40 +++++++++++++++++++++++++++++++++++----- 1 files changed, 35 insertions(+), 5 deletions(-) diff
2015 Sep 09
0
[PATCH v1 1/1] extlinux: fix file descriptors leak
file descriptors are closed when not in use Signed-off-by: Imran Zaman <imran.zaman at intel.com> --- extlinux/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/extlinux/main.c b/extlinux/main.c index 09740bd..bc7ded3 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -580,6 +580,7 @@ int ext2_fat_install_file(const char *path, int devfd, struct stat *rst) goto
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.
2015 Nov 13
4
[PATCH] extlinux: code cleanup and simplification
Merge btrfs_read_adv and xfs_read_adv into a single generic function ext_read_adv and split ext_write_adv_offset out of ext_write_adv. Use those new functions in rewrite_boot_image and btrfs_install_file where it is actually hardcoded. Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr> --- extlinux/main.c | 113 +++++++++++++++++++++++++++----------------------------- 1 file changed, 55
2015 Nov 12
1
[PATCH] Unification of ext_(write/read)_adv
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr> --- extlinux/main.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 6871fb1..385b364 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -1415,21 +1415,12 @@ static int open_device(const char *path, struct stat *st, char
2015 Sep 10
2
[PATCH v2 1/1] extlinux: fix memory leak
devname is put on heap for all cases to avoid memory leak, and ease of use in future as well Signed-off-by: Imran Zaman <imran.zaman at intel.com> --- extlinux/main.c | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 55a1495..b7cdf92 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@
2015 Sep 09
1
[PATCH v1 1/1] extlinux: fix memory leak
devname is put on heap for all cases to avoid memory leak, and ease of use in future as well Signed-off-by: Imran Zaman <imran.zaman at intel.com> --- extlinux/main.c | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/extlinux/main.c b/extlinux/main.c index 55a1495..7bb7443 100644 --- a/extlinux/main.c +++
2011 Jul 16
1
crash in extlinux/main
Hi, I found a bug in extlinux/main.c. Writing a bootloader on a file mounted via /dev/mapper in Lunix it crashed on me with a segment fault. The bug is here: if (!ioctl(devfd, HDIO_GETGEO, &geo)) { Since we are already called with geo as a pointer the & is wrong as the pointer itself will be overwritten. This works: int get_geometry(int devfd, uint64_t totalbytes, struct
2013 Jul 19
0
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
On Fri, 12 Jul, at 08:31:27PM, Raphael S.Carvalho wrote: > @@ -575,7 +594,7 @@ bail: > return 1; > } > > -/* btrfs has to install the ldlinux.sys in the first 64K blank area, which > +/* btrfs/ufs2 has to install the ldlinux.sys in the first 64K blank area, which > is not managered by btrfs tree, so actually this is not installed as files. > since the cow
2017 Sep 20
7
[PATCH v2] 0/6] Various clean ups in lib/
v1 -> v2: - Remove the unnecessary calls to guestfs_int_lazy_make_tmpdir in the final patch. Rich.
2017 Sep 19
7
[PATCH 0/6] Various clean ups in lib/
Miscellaneous small cleanups in lib/ directory. Rich.
2015 Nov 15
2
[PATCH] extlinux/main.c: typo fixes
On Sun, Nov 15, 2015 at 12:30:35PM +0100, Ady SF via Syslinux wrote: > [PATCH] extlinux/main.c: typo fixes > > Some typo fixes in extlinux/main.c. > None of them effects code execution. > --- > extlinux/main.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > FWIW working on a new version that is `git am` ready, it will have a "sign-off".