Displaying 20 results from an estimated 71 matches for "guestfs_findfs_label".
2014 Nov 28
0
[PATCH 3/3] uuid: make alias get-uuid for vfs_uuid
...;hutao@cn.fujitsu.com>
---
generator/actions.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index a35fe50..385b620 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -8540,6 +8540,7 @@ To find a filesystem from the label, use C<guestfs_findfs_label>." };
{ defaults with
name = "vfs_uuid";
style = RString "uuid", [Mountable "mountable"], [];
+ fish_alias = ["get-uuid"];
proc_nr = Some 254;
tests =
(let uuid = uuidgen () in [
--
1.9.3
2014 Nov 28
3
[PATCH 1/3] uuid: add support to change uuid of swap partition
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/uuids.c | 19 +++++++++++++++++++
sysprep/sysprep_operation_fs_uuids.ml | 2 --
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/daemon/uuids.c b/daemon/uuids.c
index 672f3db..431d867 100644
--- a/daemon/uuids.c
+++ b/daemon/uuids.c
@@ -29,6 +29,7 @@
GUESTFSD_EXT_CMD(str_tune2fs, tune2fs);
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.
2014 Dec 02
0
[PATCH 2/5] inspect_os: Add support for detecting OpenBSD
...*/
+ mountable = safe_strdup (g, fs->mountable);
+ else if (STRPREFIX (spec, "UUID="))
+ /* Resolve UUID= and LABEL= to the actual device. */
mountable = guestfs_findfs_uuid (g, &spec[5]);
else if (STRPREFIX (spec, "LABEL="))
mountable = guestfs_findfs_label (g, &spec[6]);
- /* Ignore "/.swap" (Pardus) and pseudo-devices like "tmpfs". */
- else if (STREQ (spec, "/dev/root"))
- /* Resolve /dev/root to the current device. */
- mountable = safe_strdup (g, fs->mountable);
+ /* Ignore "/.swap&qu...
2014 Dec 03
1
[PATCH 1/4] inspect_os: Add support for detecting OpenBSD
...fs->type == OS_TYPE_OPENBSD);
/* Generate a map of MD device paths listed in /etc/mdadm.conf to MD device
* paths in the guestfs appliance */
@@ -975,12 +1041,31 @@ check_fstab (guestfs_h *g, struct inspect_fs *fs)
else if (STRPREFIX (spec, "LABEL="))
mountable = guestfs_findfs_label (g, &spec[6]);
/* Ignore "/.swap" (Pardus) and pseudo-devices like "tmpfs". */
- else if (STREQ (spec, "/dev/root"))
- /* Resolve /dev/root to the current device. */
+ else if (STREQ (spec, "/dev/root") || (is_bsd && STREQ (mp, &qu...
2015 Mar 16
0
[PATCH] inspection: add support for systemd .mount files
...uot;) ||
+ STREQ (mp, "/sys"))
+ continue;
+
+ /* Resolve UUID= and LABEL= to the actual device. */
+ if (STRPREFIX (spec, "UUID="))
+ mountable = guestfs_findfs_uuid (g, &spec[5]);
+ else if (STRPREFIX (spec, "LABEL="))
+ mountable = guestfs_findfs_label (g, &spec[6]);
+ /* Ignore "/.swap" (Pardus) and pseudo-devices like "tmpfs". */
+ else if (STREQ (spec, "/dev/root") || (is_bsd && STREQ (mp, "/")))
+ /* Resolve /dev/root to the current device.
+ * Do the same for the / partitio...
2015 Mar 16
2
[PATCH] RFE: Inspection should support systemd mount units
Adds support for systemd .mount files, uses Augeas to extract mount points.
Fixes RHBZ#1113153.
Maros Zatko (1):
inspection: add support for systemd .mount files
src/inspect-fs-unix.c | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 240 insertions(+)
--
1.9.3
2013 Feb 12
7
Remaining btrfs patches
[PATCH 1/7] mount: Add mount_vfs_nochroot
This is significantly reworked from before. umount is gone as
discussed, and variable motion is minimised.
[PATCH 2/7] btrfs: Update btrfs_subvolume_list to take
Already provisionally ACKed. Previous comment was that cleanup could
be tidier. I looked into creating a new cleanup function for fs_buf,
but it isn't possible (or simple, anyway) in this
2013 Jan 24
3
[REVIEW ONLY] Mountable patches
These 3 patches implement support for APIs which must accept a mountable, but
don't update apis which must return mountables.
Matt
2013 Feb 07
12
[PATCH 01/12] generator: Add new Mountable argument type
This type is initially identical to Device.
---
generator/bindtests.ml | 2 +-
generator/c.ml | 7 +++++--
generator/csharp.ml | 6 ++++--
generator/daemon.ml | 4 ++--
generator/erlang.ml | 6 +++---
generator/fish.ml | 8 ++++----
generator/gobject.ml | 11 ++++++-----
generator/haskell.ml | 11 +++++++----
generator/java.ml | 10 +++++-----
2010 Aug 02
5
[PATCH v3 0/5] Inspection code in C
The first three patches were posted previously:
https://www.redhat.com/archives/libguestfs/2010-July/msg00082.html
The last two patches in this series change guestfish -i to use
this new code.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to
2010 Jul 29
4
[PATCH 0/3] Inspection code in C
These three patches (two were previously posted) can do simple
operating system inspection in C.
Example of use:
><fs> add-ro rhel55.img
><fs> run
><fs> inspect-os
/dev/VolGroup00/LogVol00
><fs> inspect-get-type /dev/VolGroup00/LogVol00
linux
><fs> inspect-get-distro /dev/VolGroup00/LogVol00
rhel
><fs> inspect-get-arch
2010 Aug 17
8
[PATCH v4 0/8] Inspection code in C
Previously discussed here:
https://www.redhat.com/archives/libguestfs/2010-August/msg00002.html
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
2017 May 04
4
[PATCH 0/3] generator: Allow returned strings to be annotated as devices.
If we want to permit more than 255 drives to be added, then we will
have to add the disks to the same virtio-scsi target using different
unit (LUN) numbers.
Unfortunately SCSI LUN enumeration in the Linux is not deterministic
(eg. two disks with target=0, lun=[0,1] can be enumerated as /dev/sda
or /dev/sdb randomly). Dealing with that will require some very
complex device name translation on the
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...[];
+ style = RString "label", [String (Mountable, "mountable")], [];
tests = [
InitBasicFS, Always, TestResultString (
[["set_label"; "/dev/sda1"; "LTEST"];
@@ -5791,7 +5791,7 @@ To find a filesystem from the label, use C<guestfs_findfs_label>." };
{ defaults with
name = "vfs_uuid"; added = (1, 3, 18);
- style = RString "uuid", [Mountable "mountable"], [];
+ style = RString "uuid", [String (Mountable, "mountable")], [];
fish_alias = ["get-uuid"];...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.
2010 Dec 07
0
builder-debian libguestfs FAILED tests 4c5038ab54fb6fdff75ca8d5fdda9e73f48a5050
...sts
warning: "guestfs_luks_format" has no tests
warning: "guestfs_luks_format_cipher" has no tests
warning: "guestfs_luks_add_key" has no tests
warning: "guestfs_luks_kill_slot" has no tests
warning: "guestfs_findfs_uuid" has no tests
warning: "guestfs_findfs_label" has no tests
1/321 test_mkfs_opts_0
2/321 test_lvm_canonical_lv_name_0
3/321 test_lvm_canonical_lv_name_1
4/321 test_pread_device_0
5/321 test_pwrite_device_0
6/321 test_download_offset_0
7/321 test_upload_offset_0
8/321 test_part_to_dev_0
9/321 test_part_to_dev_1
10/321 te...
2010 Dec 24
0
builder-debian libguestfs success 3f4dc56a32074a02b1b829bd7a91878f73022d1d
...sts
warning: "guestfs_luks_format" has no tests
warning: "guestfs_luks_format_cipher" has no tests
warning: "guestfs_luks_add_key" has no tests
warning: "guestfs_luks_kill_slot" has no tests
warning: "guestfs_findfs_uuid" has no tests
warning: "guestfs_findfs_label" has no tests
warning: "guestfs_getxattr" has no tests
warning: "guestfs_lgetxattr" has no tests
1/321 test_mkfs_opts_0
2/321 test_lvm_canonical_lv_name_0
3/321 test_lvm_canonical_lv_name_1
4/321 test_pread_device_0
5/321 test_pwrite_device_0
6/321 test_download...
2011 Jan 07
0
builder-debian libguestfs success 7e1114445e713c4a15f3f2cede5842044de1735a
...sts
warning: "guestfs_luks_format" has no tests
warning: "guestfs_luks_format_cipher" has no tests
warning: "guestfs_luks_add_key" has no tests
warning: "guestfs_luks_kill_slot" has no tests
warning: "guestfs_findfs_uuid" has no tests
warning: "guestfs_findfs_label" has no tests
warning: "guestfs_getxattr" has no tests
warning: "guestfs_lgetxattr" has no tests
1/321 test_mkfs_opts_0
2/321 test_lvm_canonical_lv_name_0
3/321 test_lvm_canonical_lv_name_1
4/321 test_pread_device_0
5/321 test_pwrite_device_0
6/321 test_download...