search for: udi

Displaying 20 results from an estimated 59 matches for "udi".

Did you mean: edi
2009 May 26
0
[PATCH node] Fixes when more than one UDI is returned while getting a drive's size.
If more than one UDI is returned, they are delimited by a carriage return. That is changed to a space, then the lot is iterated over. Each UDI is tested to see if it has the property "block.is_volume=false". If so then that UDI is for the underlying block device and not a logical volume on the device. Signed...
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.
2010 May 13
0
[PATCH] Replace the HAL calls with udev/systool calls.
...6.3 diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..1cfc2db 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -460,16 +460,16 @@ set ${ntproot}/keys /etc/ntp/keys\n\ function setup_menu { NICS="" - udi_list=$(hal-find-by-capability --capability net.80203) - if [ -n "$udi_list" ]; then - for d in $udi_list; do - if [[ ! "$(hal-get-property --udi $d --key net.physical_device)" =~ computer ]]; then - NICS="$NICS $(hal-get-property --udi "$d" --key ne...
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure that all multipath devices are excluded in the list of available drives. Only drives with an identified bus are included in the list now.
2009 May 21
1
[PATCH node] display descriptions for all disks
...0..671ad7d 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -36,15 +36,17 @@ logging_min_size=5 data_min_size=5 swap_min_size=5 -get_selected_drive_size() +get_drive_size() { - start_log + local drive=$1 + local space_var=$2 + local size= - local udi=$(hal-find-by-property --key block.device --string $DRIVE) + local udi=$(hal-find-by-property --key block.device --string $drive) if [ -z "$udi" ]; then # If hal didn't find the device, it could be a virtio block device # In this case, use sfdisk -s to get th...
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes of storage, such as removeable media devices with no media present.
2009 Jun 25
1
[PATCH node] Fixes when a removable media is removed. bz#507455
...+++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 0fcc0bc..41177a4 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -62,7 +62,10 @@ get_drive_size() size=$(hal-get-property --udi "$udi" --key storage.size) if [[ "${size}" == "0" ]]; then # disk is probably hot-swappable, use different HAL key - size=$(hal-get-property --udi "$udi" --key storage.removable.media_size) + # but first check that...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ev + mpath_device="$dev" fi - eval $mpath_var=$mpath_device + eval $mpath_var="$mpath_device" } get_drive_size() { - local drive=$1 - local space_var=$2 + local drive="$1" + local space_var="$2" local size= - local udi=$(hal-find-by-property --key block.device --string $drive) + local udi=$(hal-find-by-property --key block.device --string "$drive") # if more than one UDI was found then iterate over them to find the base device if [[ "${udi}" =~ \$ ]]; then - udi=$(echo $ud...
2009 Jul 14
1
[PATCH node] Filters out all non-physical networking devices.
...orking | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 6d23735..0de7529 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -375,7 +375,9 @@ function setup_menu udi_list=$(hal-find-by-capability --capability net.80203) if [ -n "$udi_list" ]; then for d in $udi_list; do - NICS="$NICS $(hal-get-property --udi "$d" --key net.interface)" + if [[ ! "$(hal-get-property --udi $d --key net.originating_dev...
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...e=0; $size / (1024 * 1024)" | bc -l) - echo "$drive ($size MB)" + eval $space_var=$size + + debug "::size=$size" + + debug "get_drive_size: exit" +} + +print_drive_size () +{ + debug "print_drive_size: start" + local drive=$1 + local udi=${2-} + + if [ -z "$udi" ]; then + for this_udi in $(hal-find-by-capability --capability storage); do + if [[ "$(hal-get-property --udi $this_udi --key block.device)" = "$drive" ]]; then + udi=$this_udi + fi + done...
2003 Sep 05
1
how to compile ssh with pam
...not depend on finding a compiled openssh with PAM on the internet, so I compiled my own version with Pam but Of course I am sure I am missing some compilation switches and options. SO my question to you is : How do I compile an openssh that works with PAM on Unix or Linux. Than you very much Udi Gamliel 301-435-1968 Udi Gamliel DNST/EOS Tel - 301-435-1968 10401 Fernwood 20814
2003 Sep 08
1
how to compile ssh with Pam using securid
...=========== > I am not sure if I have to edit the files in > /contrib/sshd.pam.freebsd > /contrib/sshd.pam.generic > before I compile the new ssh and put the RSA securid lib as follows > sshd auth required /lib/security/pam_securid.so reserve > > thank you very much again > Udi > 301-435-1968 > > > > > > > > > > > > > > > > > > > -----Original Message----- > From: Ben Lindstrom [mailto:mouring at etoh.eviladmin.org] > Sent: Friday, September 05, 2003 2:37 PM > To: Gamliel, Udi (NIH/CIT) > Cc: 'ope...
2009 Mar 17
0
[LLVMdev] Printing x86 ASM for Function
...n't know how to fill in. > Is there a helper function to create such a pass? Once I have the pass > created, do I just add it to a FunctionPassManager? > > X86IntelAsmPrinter is used when compiling to an assembly file. If you want to see the output of your jitted code, you need udis (./configure --with-udis=...) and that the macro NDEBUG is not defined (see lib/ExecutionEngine/JIT/JITEmitter.cpp line 1156). Nicolas > Thank you for your time, > > - Maxime >
2009 Mar 16
2
[LLVMdev] Printing x86 ASM for Function
Hello, I would like to know how to go about printing the x86 assembly output for a compiled function (I'm using the JIT). I saw there is a X86IntelAsmPrinter on doxygen. However, it takes several arguments I don't know how to fill in. Is there a helper function to create such a pass? Once I have the pass created, do I just add it to a FunctionPassManager? Thank you for your time, -
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
...he iscsi disk is not shown, please ensure you are logged into the correct target\n" + bus = dbus.SystemBus () + hal_obj = bus.get_object ('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager') + hal = dbus.Interface (hal_obj, 'org.freedesktop.Hal.Manager') + udis = hal.FindDeviceByCapability ('storage') + dev_dict = {} + dev_count = 1 + for udi in udis: + dev_obj = bus.get_object ('org.freedesktop.Hal', udi) + dev = dbus.Interface (dev_obj, 'org.freedesktop.Hal.Device') + dev_bus=dev.GetProperty ('s...
2008 Sep 16
2
Cypress Semiconductor USB to serial
My UPS has a usb interface with USB-to-Serial chip. But ucycom driver doesn't recognize it. uhid driver does, but it doesn't help me, I need a virtual com port. (output below is without uhid loaded) What can I do to get it working? udi = '/org/freedesktop/Hal/devices/usb_device_665_5161_noserial' freebsd.device_file = '/dev/ugen1' (string) freebsd.driver = 'ugen' (string) freebsd.unit = 1 (0x1) (int) info.bus = 'usb_device' (string) info.parent = '/org/freedesktop/Hal/devices/usb...
2007 Jun 01
0
HAL and NUT feedback
...jell, sorry, I'm still much late in emptying my mail stack... 2007/5/25, Kjell Claesson <kjell.claesson at epost.tidanet.se>: > Den Friday 25 May 2007 08.52.20 skrev Arnaud Quette: > > > > I would be interested in some more info: > > - lshal -u <your device's UDI> > > the UDI can be obtained for ex. through hal-device-manager > > lshal -lu /org/freedesktop/Hal/devices/usb_device_592_2_noserial > udi = '/org/freedesktop/Hal/devices/usb_device_592_2_noserial' > ac_adaptor.present = true (bool) > battery.charge_level.design...
2002 Dec 03
1
Long Share Names and Windows NT Workstation 4.0
...mit is 12 characters for NT, our Windows 98, 2000 and XP machines work with longer share names. If so does anyone know if there is a patch to make long share names work with NTWS 4.0? Best regards, Keith ------------------------------------------------ Keith Grabham Senior ICT Administrator Fugro-UDI Ltd Denmore Road Bridge of Don Aberdeen AB23 8JW Tel: +44 (0) 1224 257500 Ext 7570 Fax: +44 (0) 1224 853911 Direct: +44 (0) 1224 257570 Mobile: +44 (0) 7740 852334 <http://www.fugro-udi.co.uk> e-mail k.grabham@fugro-udi.co.uk ------------------------------------------------- IMPORTANT NOTE:...
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike