Displaying 8 results from an estimated 8 matches for "menu_sav".
Did you mean:
menu_save
2010 Jun 07
0
[PATCH] extlinux: Add the --menu-save option to set the MENU SAVE value from the running system using extlinux
...| 1 +
man/extlinux.1 | 3 +++
4 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 0669bb9..8a0ac63 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -381,6 +381,13 @@ int modify_adv(void)
rv = -1;
}
}
+ if (opt.menu_save) {
+ if (syslinux_setadv(ADV_MENUSAVE, strlen(opt.menu_save), opt.menu_save)) {
+ fprintf(stderr, "%s: not enough space for menu-save label\n",
+ program);
+ rv = -1;
+ }
+ }
return rv;
}
@@ -877,7 +884,7 @@ int main(int argc, char *argv[])
usage(E...
2015 Jan 06
3
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
...add the extX support
to mtools/syslinux:
1) Its name is mtools/syslinux, can't express the libext2fs.
2) The mtools/syslinux isn't fully functioned, for example, as the code shows:
if (opt.sectors || opt.heads || opt.reset_adv || opt.set_once
|| (opt.update_only > 0) || opt.menu_save) {
fprintf(stderr,
"At least one specified option not yet implemented"
" for this installer.\n");
exit(1);
How about add an e2fs/syslinux, please ?
// Robert
>
> -hpa
>
>
>
>
2015 Jan 06
0
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
...me is mtools/syslinux, can't express the libext2fs.
Renaming it is not a problem.
> 2) The mtools/syslinux isn't fully functioned, for example, as the code
> shows:
> if (opt.sectors || opt.heads || opt.reset_adv || opt.set_once
> || (opt.update_only > 0) || opt.menu_save) {
> fprintf(stderr,
> "At least one specified option not yet implemented"
> " for this installer.\n");
> exit(1);
>
>
> How about add an e2fs/syslinux, please ?
You'd have to do the same work for that...
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
...stall_mbr || opt.activate_partition)
usage(EX_USAGE, 0);
+ if (stat(opt.directory, &st)) {
+ fprintf(stderr, "%s: %s: %s\n", program, opt.directory, strerror(errno));
+ return 1;
+ }
+
if (opt.update_only == -1) {
- if (opt.reset_adv || opt.set_once || opt.menu_save)
- return modify_existing_adv(opt.directory);
- else
+ if (opt.reset_adv || opt.set_once || opt.menu_save) {
+ if S_ISDIR(st.st_mode)
+ return modify_existing_adv(opt.directory);
+ else if (S_ISBLK(st.st_mode) || S_ISREG(st.st_mode))
+ return...
2015 Jan 06
0
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
On 01/05/2015 04:14 PM, Robert Yang wrote:
>
> On 01/06/2015 08:04 AM, H. Peter Anvin wrote:
>> On 01/01/2015 09:05 PM, Robert Yang wrote:
>>> 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
2015 Jan 06
2
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
On 01/06/2015 08:04 AM, H. Peter Anvin wrote:
> On 01/01/2015 09:05 PM, Robert Yang wrote:
>> 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.
>>
2015 Jan 06
2
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
...oblem.
Do you have any suggestion about the new name, please ?
>
>> 2) The mtools/syslinux isn't fully functioned, for example, as the code
>> shows:
>> if (opt.sectors || opt.heads || opt.reset_adv || opt.set_once
>> || (opt.update_only > 0) || opt.menu_save) {
>> fprintf(stderr,
>> "At least one specified option not yet implemented"
>> " for this installer.\n");
>> exit(1);
>>
>>
>> How about add an e2fs/syslinux, please ?
>
> You...
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