Displaying 8 results from an estimated 8 matches for "is_volum".
Did you mean:
is_volume
2005 Jul 12
1
HAL and mounting volume
...fo.parent = '/org/freedesktop/Hal/devices/block_8_16' (string)
info.category = 'volume' (string)
info.capabilities = 'block volume' (string)
info.bus = 'block' (string)
block.no_partitions = false (bool)
block.have_scanned = false (bool)
block.is_volume = true (bool)
block.device = '/dev/sdb' (string)
block.major = 8 (0x8) (int)
block.minor = 16 (0x10) (int)
block.storage_device = '/org/freedesktop/Hal/devices/block_8_16'
(string)
what is wrong?
--
Petr Kl?ma
e-mail: petr.klima at jihomilk.cz...
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-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-storage | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/scr...
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.
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...o find the base device
if [[ "${udi}" =~ \$ ]]; then
- udi=$(echo $udi | sed 's/\$/ /g')
+ udi=$(echo "$udi" | sed 's/\$/ /g')
for found in ${udi}; do
- if [[ "false" == $(hal-get-property --udi $found --key block.is_volume) ]]; then
- udi=$found
+ if [[ "false" == $(hal-get-property --udi "$found" --key block.is_volume) ]]; then
+ udi="$found"
break
fi
done
@@ -127,7 +127,7 @@ get_drive_size()
# If...
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.
...UDI was found then iterate over them to find the base device
- if [[ "${udi}" =~ \$ ]]; then
- udi=$(echo "$udi" | sed 's/\$/ /g')
- for found in ${udi}; do
- if [[ "false" == $(hal-get-property --udi "$found" --key block.is_volume) ]]; then
- udi="$found"
- break
- fi
- done
- fi
- if [ -z "$udi" ]; then
- # If hal didn't find the device, it could be a virtio block device
- # or a multipath device
- # In this case, use sfdisk...
2008 Jul 28
5
Hardware serial number access from (a) command(s)
Over the weekend, I had to make a technical support call on one of my
DVD burners, and at one point the recorded message mentioned I should
have my serial number handy. I thought there was a way to read that
from at least one piece of software on the system, but I couldn't
remember one and man -k on a number of subjects was unrevealing.
Can someone enlighten me (us)?
Thanks.
mhr
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.