Displaying 11 results from an estimated 11 matches for "getss".
Did you mean:
gets
2014 Nov 23
0
[PATCH 2/3] New API: guestfs_blockdev_setra: Adjust readahead for filesystems and devices.
...-setrw", 0, 0);
+ return (int) call_blockdev (device, "--setrw", -1, 0);
}
int
do_blockdev_getro (const char *device)
{
- return (int) call_blockdev (device, "--getro", 0, 1);
+ return (int) call_blockdev (device, "--getro", -1, 1);
}
int
do_blockdev_getss (const char *device)
{
- return (int) call_blockdev (device, "--getss", 0, 1);
+ return (int) call_blockdev (device, "--getss", -1, 1);
}
int
do_blockdev_getbsz (const char *device)
{
- return (int) call_blockdev (device, "--getbsz", 0, 1);
+ return (int) ca...
2014 Nov 23
7
[PATCH 0/3] patches needed for virt-bmap
See http://rwmj.wordpress.com/2014/11/23/mapping-files-to-disk/
2014 Nov 24
2
[PATCH v2 0/2] patches needed for virt-bmap
Does *not* incorporate changes suggested by Pino yet.
Rich.
2020 Feb 10
1
[PATCH] lib: allow to specify physical/logical block size for disks
...turned by the C<BLKPBSZGET> ioctl and
+describes the disk's hardware sector size which can be relevant for the
+alignment of disk data.
+
+Logical block size would be the value returned by the C<BLKSSZGET> ioctl and
+describes the smallest units for disk I/O. (C<guestfs_blockdev_getss> API call
+will return this value).
+
+Possible values for C<blocksize> parameter are 0, 512 and 4096. F<0> is a
+special value which instructs libguestfs to do nothing special and it is up to
+the current backend what block size to expose (usually 512 bytes).
+
+Only a subset of th...
2006 May 29
0
subversion password using capistrano on textdrive
Hi,
I am trying to set up capistrano for use on textdrive, and followed
the instructions posted at this very helpful site:
http://blog.tuples.us/pages/rails-guide
My problem is that when I try to execute rake remote:exec
ACTION=cold_deploy the execution getss stuck when it tries to access
my subversion repository.
** [out :: myurl.com] Authentication realm: <http://myurl.com:80> myurl.com
** [out :: myurl.com] Password for ''bnevile'':
** [out :: myurl.com] subversion is asking for a password
** [out :: myurl.com] Authenticati...
2010 Dec 02
2
[PATCH 0/2] Add mkfs-opts API with optional arguments
.../dev/vda1 blocksize:32768
mkfs_opts "vfat" "/dev/vda1" "blocksize:32768"send_to_daemon: 0x2393bc0 g->state = 3, n = 72
proc 278 (mkfs_opts) took 0.30 seconds
recv_from_daemon: 0x2393bc0 g->state = 3, size_rtn = 0x7fffd24c565c, buf_rtn = 0x7fffd24c5650
blockdev --getss /dev/vda1
mkfs -t vfat -s 64 /dev/vda1
= 0
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://et.redhat.com/~rjones/libguestfs/
See what it can do: htt...
2020 Feb 11
2
[PATCH v2] lib: add support for disks with 4096 bytes sector size
...1 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Test blocksize parameter of add-drive command
+
+set -e
+
+$TEST_FUNCTIONS
+skip_if_skipped
+
+# Test valid values
+for expected_bs in 512 4096; do
+ actual_bs=$(guestfish --ro add /dev/null blocksize:${expected_bs} : run : blockdev-getss /dev/sda)
+ if [ "${actual_bs}" != "${expected_bs}" ]; then
+ echo "$0: error: actual blocksize doesn't match expected: ${actual_bs} != ${expected_bs}"
+ exit 1
+ fi
+done
+
+# Test without blocksize parameter
+expected_bs=512
+actual_bs=$(guest...
2014 Sep 26
9
[PATCH v4 0/7] virt-resize: add support for resizing logical partitions
Hi Rich,
This is v3 series to add support for resizing MBR logical partitions.
changes to v3:
1. merge patch 1 and patch 3 in v3
2. let mbr_part_type return 'primary' for GPT partitions
3. add test for resizing logical partitions
4. fix extending the extended partition (yet). see patch 7.
changes to v2:
1. remove p_part_num
2. remove filter_parts
3. name the function
2014 Sep 09
2
Re: CoreOS support
...ibguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = 0
libguestfs: trace: available "ntfsprogs ntfs3g"
libguestfs: trace: available = 0
libguestfs: trace: available "btrfs"
libguestfs: trace: available = -1 (error)
libguestfs: trace: blockdev_getss "/dev/sdb"
libguestfs: trace: blockdev_getss = 512
libguestfs: trace: blockdev_getsize64 "/dev/sda"
libguestfs: trace: blockdev_getsize64 = 10737418240
libguestfs: trace: blockdev_getsize64 "/dev/sdb"
libguestfs: trace: blockdev_getsize64 = 10737418240
libguestfs: trac...
2014 Sep 09
2
Re: CoreOS support
...ailable) took 0.00 seconds
guestfsd: main_loop: new request, len 0x38
guestfsd: error: btrfs: group not available
gulibguestfs: recv_from_daemon: 76 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 01 | 00 12 34 02 | ...
libguestfs: trace: available = -1 (error)
libguestfs: trace: blockdev_getss "/dev/sdb"
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 3b | 00 00 00 00 | ...
estfsd: main_loop: proc 216 (available) took 0.00 seconds
guestfsd: main_loop: new request, len 0x34
udevadm settle
blockdev --getss /dev/sdb
libguestfs: recv_from_da...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change.
I'll get back to that series shortly ;-)
It turned into a factorization and constification exercise
during which I got a taste of ocaml. Thanks to Rich Jones
for help with a few snippets in generator.ml.
The overall result is that many previously-manually-maintained
bits from daemon/*.c functions are now hoisted into the automatically-