| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If virt-filesystems was pointed to an image that contained
bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid
could fail, resulting in errors like this:
libguestfs: error: vfs_label: /dev/vda1:
These errors can be ignored and shouldn't stop virt-filesystems
from working.
(cherry picked from commit 97339a0f43d687efac6f7edafdf21e4b8d9b35e8)
|
|
|
|
| |
(cherry picked from commit 7e1114445e713c4a15f3f2cede5842044de1735a)
|
|
|
|
|
| |
This also adds a regression test.
(cherry picked from commit 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44)
|
|
|
|
|
|
|
|
|
| |
Although this doesn't seem to cause a crash, valgrind confirms
that this is a genuine off-by-one bug. It could potentially
cause a crash if you did:
echo 'echo ~root/foo' | guestfish
(cherry picked from commit a9802509184341e731de5c9af363184a9964a8a7)
|
|
|
|
| |
(cherry picked from commit 72f4b2e7493bf81b111ecd83490c9d3ad2480382)
|
|
|
|
| |
(cherry picked from commit 1b1db82d64a9664f0da1c628ee896a113a605739)
|
|
|
|
| |
(cherry picked from commit 440cd23f54f44132b8ff3d1e5b0b05b9dd5cc1c0)
|
|
|
|
| |
(cherry picked from commit 9ae4168c30b8be57909f5b0104c5e925743c6cc0)
|
|
|
|
| |
(cherry picked from commit dd7ad7c7ebd7b3cf7fbcc03d3baadbb77bf4203a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This a purpose patch to avoid the message "unknown filesystem /dev/hdc".
Where /dev/hdc is an entry in fstab for CDROM.
Example of fstab:
/dev/hdc /media/cdrom auto
pamconsole,exec,noauto,managed 0 0
https://bugzilla.redhat.com/show_bug.cgi?id=666577
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
(cherry picked from commit f07a0b6f1e01f12db0286ae49744deee0efcb5b9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hi,
This is a purpose patch to avoid the message: unknown filesystem label
SWAP-sda2.
Instead of validate the label with 'eq', use '=~' and /$label/i.
https://bugzilla.redhat.com/show_bug.cgi?id=666578
Thanks
Douglas
(cherry picked from commit 5cab0d6c807d8a3bf9690375c663d11a10e21656)
|
|
|
|
|
|
|
|
|
|
|
| |
This patch to avoid the message "unknown filesystem /dev/fd0".
https://bugzilla.redhat.com/show_bug.cgi?id=666577
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Thanks
Douglas
(cherry picked from commit e99ac0394acbba2923e361d84511b9646f464585)
|
|
|
|
| |
(cherry picked from commit 5c9e8a65fe89e5e6baca8651000885d8467356ff)
|
|
|
|
| |
(cherry picked from commit d71faf98624c1fb2c760e0e9f55205beb06b7644)
|
|
|
|
| |
(cherry picked from commit 7a8c60e1c8fbaf09fb2fa2fe10b50df39c0d9650)
|
|
|
|
| |
(cherry picked from commit ce85a6a82ae80fdfb3eb7c2c2251658f8aadc241)
|
|
|
|
| |
(cherry picked from commit 86a53e17de672a79a994b905676b4566da9f072c)
|
|
|
|
| |
(cherry picked from commit 33e9639f2037540a89a9bbaf7212683e8a60fe84)
|
|
|
|
| |
(cherry picked from commit cdc798ac3558e416dc756a0fcefad2af5ca307e0)
|
|
|
|
| |
(cherry picked from commit 22042693cc1e0455a4a503dba93a9fedc9c74f04)
|
|
|
|
| |
(cherry picked from commit 1a9b7df8f2092701fdc5a77a4d9edfcaa1a20acf)
|
|
|
|
| |
(cherry picked from commit 49b2ae2e69e1a273b4d4a8746a872ec00b91c86f)
|
|
|
|
| |
(cherry picked from commit 327442119ff1f1791a0682928e59b0c4b4752007)
|
| |
|
|
|
|
|
|
| |
Because we didn't match on word boundaries, the previous
code would get confused by similar APIs, eg. getxattr vs getxattrs.
(cherry picked from commit 7ba1b55aa79c56ded770f8ea46716eb054fbfe78)
|
|
|
|
|
|
|
| |
Add a new section called "EXTENDING LIBGUESTFS" to the
guestfs manual page which contains all the information
previously in "HACKING".
(cherry picked from commit d2400da92e5e2cc7fd5e33e61220a33214d5241c)
|
|
|
|
| |
(cherry picked from commit 84fbe21855b5b304413075fecb444135397591e6)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Don't exclude upstart from the appliance. It provides /sbin/reboot
which is required by virt-rescue.
|
|
|
|
|
| |
Create a separate file 'excludelist.in' that contains these
regular expressions, and process it the same way as packagelist.in.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These APIs are essentially required to work around a problem
with ntfs-3g. This filesystem (or FUSE?) does not list all
extended attributes of a file when you call listxattr(2). However
if you know the name of an extended attribute, you can retrieve
it directly using getxattr(2).
The current APIs (getxattrs etc) are simple to use, but they
don't work if we can't list out the extended attributes (ie.
by calling listxattr(2)).
Example using the new APIs on an ntfs-3g filesystem:
><fs> lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000 16 24 00 00 |.$..|
00000004
><fs> lgetxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
00000000 03 00 00 a0 34 00 00 00 00 00 18 00 1a 00 10 00 |....4...........|
00000010 5c 00 3f 00 3f 00 5c 00 43 00 3a 00 5c 00 55 00 |\.?.?.\.C.:.\.U.|
00000020 73 00 65 00 72 00 73 00 00 00 43 00 3a 00 5c 00 |s.e.r.s...C.:.\.|
00000030 55 00 73 00 65 00 72 00 73 00 00 00 |U.s.e.r.s...|
0000003c
><fs> getxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
><fs> getxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
><fs> lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000 16 24 00 00 |.$..|
00000004
><fs> getxattr "/Users" system.ntfs_attrib | hexdump -C
00000000 11 00 00 00 |....|
00000004
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|