search for: b1a2f8f

Displaying 2 results from an estimated 2 matches for "b1a2f8f".

2014 Dec 02
0
[PATCH 4/5] Fix fstab block device resolution for FreeBSD
...g. 'b' (swap) partition is missing but 'd' partition is defined. Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> --- src/inspect-fs-unix.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 3a2f81a..b1a2f8f 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -1620,9 +1620,13 @@ resolve_fstab_device (guestfs_h *g, const char *spec, Hash_table *md_map, free (slice); free (part); + if (part_i > 2) + /* Partition 'c' has the size of the enclosing slice. Not map...
2014 Dec 02
0
[PATCH 5/5] Add freebsd and netbsd distros
...nternal.h +++ b/src/guestfs-internal.h @@ -543,6 +543,8 @@ enum inspect_os_distro { OS_DISTRO_SLES, OS_DISTRO_OPENBSD, OS_DISTRO_ORACLE_LINUX, + OS_DISTRO_FREEBSD, + OS_DISTRO_NETBSD, }; enum inspect_os_package_format { diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index b1a2f8f..ff6a156 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -591,6 +591,7 @@ int guestfs___check_freebsd_root (guestfs_h *g, struct inspect_fs *fs) { fs->type = OS_TYPE_FREEBSD; + fs->distro = OS_DISTRO_FREEBSD; /* FreeBSD has no authoritative version file. The vers...