Displaying 20 results from an estimated 40000 matches similar to: "Re: guestmount without fstab"
2016 Feb 23
3
Re: guestmount without fstab
On Tue, Feb 23, 2016 at 06:21:34PM +0100, Pino Toscano wrote:
> On Tuesday 23 February 2016 15:21:17 Richard W.M. Jones wrote:
> > As for the particular question about lack of /etc/fstab. Are you
> > getting some kind of error when using the guestmount -i option? It
> > used to be (a long time ago) that libguestfs inspection[1] could not
> > handle guests that did not
2016 Feb 23
0
Re: guestmount without fstab
On Tuesday 23 February 2016 15:21:17 Richard W.M. Jones wrote:
> As for the particular question about lack of /etc/fstab. Are you
> getting some kind of error when using the guestmount -i option? It
> used to be (a long time ago) that libguestfs inspection[1] could not
> handle guests that did not have /etc/fstab, but that should be fixed
> in recent versions.
Not really:
2016 Feb 25
0
Re: guestmount without fstab
On Thursday 25 February 2016 10:26:18 Frantisek Kluknavsky wrote:
> On 02/23/2016 08:42 PM, Richard W.M. Jones wrote:
> > On Tue, Feb 23, 2016 at 06:21:34PM +0100, Pino Toscano wrote:
> >> On Tuesday 23 February 2016 15:21:17 Richard W.M. Jones wrote:
> >>> As for the particular question about lack of /etc/fstab. Are you
> >>> getting some kind of error
2016 Feb 25
0
Re: guestmount without fstab
On 02/23/2016 08:42 PM, Richard W.M. Jones wrote:
> On Tue, Feb 23, 2016 at 06:21:34PM +0100, Pino Toscano wrote:
>> On Tuesday 23 February 2016 15:21:17 Richard W.M. Jones wrote:
>>> As for the particular question about lack of /etc/fstab. Are you
>>> getting some kind of error when using the guestmount -i option? It
>>> used to be (a long time ago) that
2016 Dec 06
9
[PATCH 0/5] Improve inspection of /usr filesystems
Hi,
this patch series improves the way /usr filesystems are handled: tag
them appropriately, so later on we can find them and merge results they
contain directly back for the root filesystem.
The series includes also a new private debug API, and its usage to fix
the resolution of /dev/mapper/.. devices found in fstab; without it,
LVM /usr filesystems are not recognized as belonging to their
2011 Dec 08
1
guestmount failing to mount a qcow image
I've been able to mount this image with qemu-nbd on Fedora 15 with:
mkdir pb.test
cd pb.test
wget http://www.pixelbeat.org/guestfs/annoying.qcow2.gz
wget http://www.pixelbeat.org/guestfs/77de68daecd823babbb58edb1c8e14d7106e83bb_sm.gz
gzip -d *.gz
mkdir -p /var/lib/nova/instances/_base/
mv 77* /var/lib/nova/instances/_base/
modprobe nbd
qemu-nbd -c /dev/nbd1 annoying.qcow2
mkdir t
mount
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh
2016 Mar 17
2
[PATCH] inspect: improve UsrMove detection (RHBZ#1186935)
In case /usr is a symlink to /usr/bin, then we cannot rely on /usr/bin
to exist, since /usr might be in a different partition. Thus, in case
/bin is a symlink, check it points to "usr/bin".
---
src/inspect-fs.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/inspect-fs.c b/src/inspect-fs.c
index 02fdb2a..0714ae1 100644
---
2016 Feb 24
2
[PATCH] inspect: check also /etc/hosts for detecting Linux root (RHBZ#1203898)
Use /etc/hosts as alternative of /etc/fstab to detect whether a partition
represents the root of a Linux installation; the latter might not exist
in smaller/special installations like Docker images.
---
src/inspect-fs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/inspect-fs.c b/src/inspect-fs.c
index 02fdb2a..ad175f8 100644
--- a/src/inspect-fs.c
+++
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
2018 Jul 27
1
[PATCH] daemon: inspect: ignore fstab devs that cannot be resolved (RHBZ#1608131)
If the /etc/fstab of a guest contains devices specified with UUID or
LABEL, then the new OCaml inspection code will report the findfs failure
as general failure of the inspection. OTOH, the old C inspection code
simply ignored all the devices that cannot be resolved.
Hence, restore the old behaviour by ignoring unresolvable devices.
---
daemon/inspect_fs_unix_fstab.ml | 12 ++++++++++--
1 file
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 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/
2010 Dec 19
1
[ANNOUNCE] libguestfs 1.8.0 - tools for accessing and modifying VM disk images
We are pleased to announce the next stable release of libguestfs,
tools and a library for accessing, creating and modifying the contents
of virtual machines and disk images.
Home page: http://libguestfs.org/
Binary packages for:
Fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=8391
Debian: http://libguestfs.org/download/binaries/debian-packages/
Ubuntu:
2014 Feb 06
3
Possible to speed up guestmount?
Hi,
Apparently,
guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1
"/path/to/mountfolder"
is much slower than
kpartx -av "/path/to/raw_file"
mount /dev/mapper/loop0p1 /path/to/mountfolder
(Doing lots of read/write inside the image.)
I thought guestmount "only" scripts the above. Seems I was wrong on that.
I am currently using
2013 Mar 04
1
[PATCH] fuse: Add guestmount-cleanup program to handle unmounting (RHBZ#916780).
* PATCH FOR DISCUSSION ONLY - NOT TO BE APPLIED *
Colin suggested something which seems eminently sensible:
https://bugzilla.redhat.com/show_bug.cgi?id=916780
I've been through a couple of rounds of trying to implement this.
I started with adding the option as suggested to the guestmount
program, but it tended to make the guestmount program more complex.
More importantly, adding the option
2014 Sep 23
1
[PATCH] inspect: map Hurd devices, and enable fstab introspection
Add a mapping for the Hurd device names, so it is possible to enable the
inspection of /etc/fstab.
---
src/inspect-fs-unix.c | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
index 3f57cd5..b629508 100644
--- a/src/inspect-fs-unix.c
+++ b/src/inspect-fs-unix.c
@@ -78,6 +78,7 @@ static pcre
2010 Apr 14
1
[PATCH] Fix build error in fuse/guestmount.c
guestmount.c: In function 'main':
guestmount.c:899: error: implicit declaration of function 'setlocale'
[-Wimplicit-function-declaration]
guestmount.c wasn't including locale.h.
---
fuse/guestmount.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index b4a917f..27a4cef 100644
--- a/fuse/guestmount.c
+++
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
2016 Oct 14
1
guestmount issue with change directory (cd)
Hello,
I've got a strange behavior with guestmount: I've a root directory with
mod/owner = drwx------ root root. I cannot change directory to it as a
regular user (as normal), but I can list its content (not normally
normal) and I can change directory to a subdirectory in it which is mod
drwxr-xr-x.
E.g:
$ mkdir /tmp/mnt
$ guestmount --ro -i -a test.qcow2 /tmp/mnt/
$ cd /tmp/mnt
$ ls -ld