Displaying 20 results from an estimated 37 matches for "getarg".
Did you mean:
getargs
2006 Jun 29
1
Passing argument in nested function calls
Please, do not ask why you would do this. I have simplified my complicated
code to just the basic problem occuring to be able to make it easier to
understand the actual problem.
I have two function getArgs() and extractArgs() - code and test results
provided below.
I test them using getArgs(id = 's1002') from the command line.
getArgs() prints the name of the argument as id and the actual argument as
s1002, which is correct.
But, when I call extractArgs() from within getArgs() passing va...
2005 Apr 21
1
Fwd: (KAME-snap 9012) racoon in the kame project
FYI, looks like support for Racoon is ending. Does anyone have any
experience with the version in ipsec-tools ?
---Mike
>Racoon users,
>
>This is the announcement that the kame project will quit providing
>a key management daemon, the racoon, and that "ipsec-tools" will become
>the formal team to release the racoon.
>The final release of the racoon in the
2011 Jul 29
0
[PATCH node] Add debugging info to dracut plugin
...at redhat.com>
---
dracut/ovirt-cleanup.sh | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index a6762cf..f800bf2 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -20,24 +20,29 @@ elif getarg reinstall >/dev/null; then
elif getarg uninstall >/dev/null; then
fb=$(getarg uninstall)
else
+ info "No firstboot, reinstall or uninstall parameter found"
return 0
fi
if [ "$fb" = "no" -o "$fb" = 0 ]; then
+ info "firtboot rei...
2010 Mar 09
3
Enhanced MDISKCHK.COM and MEMDISK patches
Good day to all,
Gert Hulselmans requested a feature for MDISKCHK.COM that would function
roughly like GETARGS.COM[1] by Murali Krishnan Ganapathy: DOS SET
command output for MEMDISK kernel arguments passed by previous
boot-loaders. He also needed to support the case for
MEMDISK-in-a-MEMDISK type situations, where all MEMDISK kernel arguments
could be gathered together and output as a list of DOS SET...
2004 Mar 25
4
Supporting WinImage compressed images
I am using PXELINUX, ISOLINUX, and memdisk in my project
(http://unattended.sourceforge.net/). When memdisk gained support for
compressed images, I started using it because it is cool. I used gzip
to compress floppy.img to create floppy.imz, and all was good.
But now my users are complaining that they cannot use WinImage (a
Windows floppy image editing tool) to edit my floppy.imz files.
I have
2011 Jul 23
0
[PATCH] move dracut config and patching to spec
...uash-live/dmsquash-live-root | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- modules.d/90dmsquash-live/dmsquash-live-root.orig 2011-07-22 02:16:51.013118899 +0200
++++ modules.d/90dmsquash-live/dmsquash-live-root 2011-07-22 02:17:01.592391181 +0200
+@@ -24,7 +24,7 @@
+ overlay=$(getarg overlay)
+
+ # FIXME: we need to be able to hide the plymouth splash for the check really
+-[ -e $livedev ] & fs=$(blkid -s TYPE -o value $livedev)
++[ -e $livedev ] && fs=$(blkid -s TYPE -o value $livedev)
+ if [ "$fs" = "iso9660" -o "$fs" = "udf&quo...
2004 Jun 09
3
ipappend and dos
I'm using ipappend and getargs.com with a dos boot image to
get the environment variables for the IP and MAC. The format
of the %ip% environment variable is
ip=<client-ip>:<boot-server-ip>:<gw-ip>:<netmask>
Is there a way to tell ipappend to assign these to individual arguments.
Or does anyone know a g...
2011 Jul 29
0
[PATCH node] fix dracut plugin wildcard handling
...ple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index 775bcf8..a6762cf 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -34,9 +34,9 @@ fi
# Blank entry will result in getting first disk
if getarg storage_init; then
- storage_init=$(getarg storage_init)
+ storage_init="$(sed -r 's/^.*storage_init=([^ ]*) .*$/\1/' /proc/cmdline)"
elif getarg ovirt_init; then
- storage_init=$(getarg ovirt_init)
+ storage_init="$(sed -r 's/^.*ovirt_init=([^ ]*) .*$/\1/...
2010 May 21
6
Get MEMDISK parameters from WinPE 32/64-bit?
Hi.
I'm working on replacing a PXELINUX/MEMDISK loaded DOS based
installation image with a PXELINUX/MEMDISK loaded WinPE ISO image. So
far everything seems to work well (appending "bigraw" to memdisk solved
booting problems on several machines), but I kind of miss the option of
using getargs.com to get/set environment variables from the memdisk
command line.
Is there any way to access memdisk command line arguments from within
WinPE (x86/win32 and hopefully amd64/win64)?
Cheers,
Daniel
2006 Jul 11
0
[rfc] standalone kinit/resume
...r/kinit/Kbuild
index 0000e89..7669ecb 100644
--- a/usr/kinit/Kbuild
+++ b/usr/kinit/Kbuild
@@ -2,19 +2,21 @@ #
# Kbuild file for kinit
#
-static-y := kinit
+static-y := kinit static/resume
kinit-y := kinit.o do_mounts.o ramdisk_load.o initrd.o
kinit-y += name_to_dev.o devname.o
kinit-y += getarg.o getintfile.o open.o readfile.o xpio.o
-kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resume.o
+kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resumelib.o
kinit-y += ipconfig/
kinit-y += nfsmount/
kinit-y += run-init/
kinit-y += fstype/
-shared-y := kinit.shared
+shared-y...
2017 Jun 11
0
Wrote Yum Plugin - got a question about arguments
...to output them inside a hook.
I can use many programming languages, but unfortunately no python to
understand the documentation properly.
http://yum.baseurl.org/api/yum-3.2.26/yum.plugins.ArgsPluginConduit-cla
ss.html
def init_hook(conduit):
conduit.info(2, 'Hello world')
conduit.getArgs()
InitPluginConduit instance has no attribute 'getArgs'
No matter if i put it into pretrans_hook or posttrans_hook.
This time i take " ".join(commands).
Thanks
Andy
2007 Oct 12
3
How get DHCP-/BOOTP-Options with MEMDISK
Using PXELINUX and MEMDISK I started a MS-DOS-Diskimage.
How can I get the DHCP-Options or BOOTP-Tags from within MS-DOS?? (Like bppatch from 3com.)
Thanks!
_______________________________________________________________________
Jetzt neu! Sch?tzen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
2005 Jan 21
4
Load setupldr.bin using isolinux
Hello,
Can I load setupldr.bin directly using isolinux without original CD boot
sector?
Thanks,
Theewara
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
...de 100644 usr/kinit/capabilities.h
diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild
index 8f6d08e..5320127 100644
--- a/usr/kinit/Kbuild
+++ b/usr/kinit/Kbuild
@@ -3,14 +3,13 @@
#
# library part of kinit. Is used by programs in sub-directories (resume et al)
-lib-y := name_to_dev.o devname.o getarg.o
+lib-y := name_to_dev.o devname.o getarg.o capabilities.o
# use lib for kinit
kinit-y := lib.a
kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o
kinit-y += getintfile.o readfile.o xpio.o
kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o
-kinit-y += capabilities.o
kinit-y...
2005 Oct 07
1
tftp pxe and dos
So I have a few questions. I have already made the base part of making a
windows TFTPD running with memedisk. So that part works, but what I was
wondering, if there is a way to some how add an option to the config file.
What I have is something like this:
label winstall
kernel unattended/memdisk
append initrd=unattended/winstall.imz
That all works great, However, for each image, I have
2011 Apr 22
0
GFS2 performance
...est we get no more than a 1000 locks/sec on the disk.
./ping_pong /mnt/backup/test.dat 4
879 locks/sec
The cluster config has been updated with:
<dlm plock_ownership="1" plock_rate_limit="0"/>
<gfs_controld plock_rate_limit="0"/>
gfs2_tool getargs /mnt/backup
statfs_percent 0
data 2
suiddir 0
quota 0
posix_acl 0
upgrade 0
debug 0
localflocks 0
localcaching 0
ignore_local_fs 0
spectator 0
hostdata jid=1:id=2752514:first=0
locktable
lockproto
gfs2_tool df -H
/mnt/backup:
SB lock proto = "lock_dlm"
SB lock table = "cybercen...
2011 Aug 25
0
[PATCH node] always remove HostVG in dracut when reinstall/uninstall/firstboot passed
...nst_simple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions
diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh
index 1d7db84..c96d6fe 100755
--- a/dracut/ovirt-cleanup.sh
+++ b/dracut/ovirt-cleanup.sh
@@ -40,10 +40,19 @@ if [ $? -eq 1 ]; then
storage_init="$(getargs ovirt_init)"
if [ $? -eq 1 ]; then
info "storage_init or ovirt_init arguments not found"
- return 0
+ else
+ info "Found storage_init: $storage_init"
fi
fi
-info "Found storage_init: $storage_init"
+
+# Check for HostVG
+lvm...
2012 Oct 25
1
memdisk parameters in windows pe.
...i.e. i'd keep only a 32bit and a 64bit iso, place
different parameters in memdisk's command line, then have winpe's
autoexec.bat sort out everything. for example, from the 32 bit image i
could install both windows xp and windows 7, and so on.
on the syslinux wiki, and elsewhere, i found getargs and mdiskchk.
problem: they use interrupts. even recompiling them in 32 bit,
windows' protected mode won't allow the program to execute int 13h.
so, no command line.
another possibility would be to append a tiny floppy image with a txt
file inside which would be parsed by autoexec.bat; thi...
2019 Jan 20
0
[klibc:master] Build and install kinit and sh without ".shared" suffix
...l-y := sh
+install-y := static/sh
endif
diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild
index 84a636a..6cd5ba6 100644
--- a/usr/kinit/Kbuild
+++ b/usr/kinit/Kbuild
@@ -5,21 +5,21 @@
# library part of kinit. Is used by programs in sub-directories (resume et al)
lib-y := name_to_dev.o devname.o getarg.o capabilities.o
# use lib for kinit
-kinit-y := lib.a
+static/kinit-y := lib.a
-kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o
-kinit-y += getintfile.o readfile.o xpio.o
-kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o
+static/kinit-y += kinit.o do_mounts.o ramdisk_load.o init...
2012 Jun 25
1
how to create bootable FreeDOS HDD or USB flash drive?
...ppy image and few additional ones:
root at debian64:~# ls /media/10MBfiledir/
atiflash.exe CHOICE.EXE DEVLOAD.COM ELTORITO.SYS FDCONFIG.SYS
fdisk.ini HD5870.rom KERNEL.SYS MDISKCHK.COM SHSUCDX.COM
UIDE.SYS USB2 XMSSIZE.COM
AUTOEXEC.BAT COMMAND.COM EDIT.EXE FDAPM.COM FDISK.EXE
GETARGS.COM jemmex.exe ldlinux.sys SHSUCDHD.EXE TDSK.EXE
UPDATE.BAT vmsmount.exe
root at debian64:~#
10) Unmounted 10MB image:
root at debian64:~# umount /media/10MBfiledir
root at debian64:~#
As much as I understand, everything is done- 440 byte boot code in MBR
is present, partition table in MBR...