search for: mksquashf

Displaying 20 results from an estimated 116 matches for "mksquashf".

Did you mean: mksquashfs
2017 Feb 14
2
Re: [PATCH 09/10] New API: mksquashfs
...14, 2017 at 09:12:10AM +0100, Pino Toscano wrote: > Introduce a new API to create a new squashfs filesystem out of a path > in the guest. It can be configured to exclude paths based on patterns, > and to select which compression use for the filesystem. > > The advantage of running mksquashfs directly in the appliance is that > ownerships are properly saved, as opposed to tar_out + local untar. I'm fairly sure this was proposed before as an API, but I cannot find that right now. Was rejected because mksquashfs doesn't support streaming output. However I'm fine with th...
2017 Feb 15
0
Re: [PATCH 09/10] New API: mksquashfs
...0100, Pino Toscano wrote: > > Introduce a new API to create a new squashfs filesystem out of a path > > in the guest. It can be configured to exclude paths based on patterns, > > and to select which compression use for the filesystem. > > > > The advantage of running mksquashfs directly in the appliance is that > > ownerships are properly saved, as opposed to tar_out + local untar. > > I'm fairly sure this was proposed before as an API, but I cannot find > that right now. Was rejected because mksquashfs doesn't support > streaming output. Yes...
2017 Feb 14
0
[PATCH 09/10] New API: mksquashfs
Introduce a new API to create a new squashfs filesystem out of a path in the guest. It can be configured to exclude paths based on patterns, and to select which compression use for the filesystem. The advantage of running mksquashfs directly in the appliance is that ownerships are properly saved, as opposed to tar_out + local untar. --- appliance/packagelist.in | 2 + daemon/Makefile.am | 1 + daemon/squashfs.c | 150 +++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 26 ++++++++ go...
2008 Apr 24
2
Kickstart network settings problem -SOLVED
....img mkdir tmp mount -t squashfs -o loop stage2.img ./tmp cd tmp vi ./usr/lib/anaconda/kickstart.py # comment out dispatch.skipStep("network") at around line 876 or use Ray's patch. mkdir ../new-stage2 tar cf - . | ( cd ../new-stage2/ ; tar xf - . ) cd .. yum -y install squashfs-tools mksquashfs ./new-stage2/ stage2.img.new Now replace the stage2.img file on the web server with the stage2.img.new file, renamed to stage2.img of course. Dean.
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
...h when running extra-data.d scripts dib: re-read list of scripts when running in-chroot hooks dib: cleanup logs at end of build copy-out: new 'excludes' optional argument dib: add appliance check hook in Output_format daemon: move make_exclude_from_file as common helper New API: mksquashfs dib: add squashfs output format appliance/packagelist.in | 2 + daemon/Makefile.am | 1 + daemon/daemon.h | 2 + daemon/guestfsd.c | 62 +++++++++++++++++ daemon/squashfs.c | 150 ++++++++++++++++++++++++++++++++++++++++++ daemon/tar...
2011 Feb 23
0
squashfs in the hundreds of GB range
Hello listmates, I am running mksquashfs trying to archive a 400GB+ directory. It has already taken about a day and the resultant archive is only about 40GB thus far and the command is not done yet. Has anyone made a squashfs that size? Is it normal for the process to take this long? If it is not - what am I doing wrong. I am using the...
2014 Jul 15
2
Re: working with mount-local
...gh it's possible, it is not possible to stream the output > (unlike, say, guestfs_tar_out or guestfs_cpio_out). This means that > the maximum size of the squashfs would be quite small. > > Nevertheless we could add an API to do it. (Even better if you can > find a way to stream mksquashfs). May be i'm wrong but does it possible to create ability to export guest file system via 9p proto? If yes - i can mount share with fuse inside go application via 9p protocol... -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru jabber: vase@selfip.ru
2014 Jul 15
2
Re: working with mount-local
2014-07-16 0:58 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>: > BTW is there any reason to use FUSE instead of using the libguestfs > API directly? Using the API is going to be much more robust. I'm need to create squashfs from root file system. I see some methods like tar and cpio, but i can't find anything suitable for creating squashfs. Also i can't use root
2009 Sep 22
1
[PATCH] edit-livecd in python
...a argument '$bad_arg'"; try_h; exit 1 -fi - -# first, check to see we are root -if [ $( id -u ) -ne 0 ]; then - die "Must run as root" -fi - -# Check for some prerequisites. -# "type" prints "PROG not found" if it's not in $PATH. -type mkisofs -type mksquashfs -type sed -type implantisomd5 - -sane_name() -{ - case $1 in - *[^a-zA-Z0-9._,+:/@%=-]*) false;; - *) true;; - esac -} - -# Fail if names we'll use contain white space or shell meta-characters -sane_name "$PWD" || die "invalid working directory name: $PWD" -sane_nam...
2017 Apr 06
0
[PATCH v6 4/7] New API: yara_destroy
...ded Yara rules in order to free libguestfs resources." }; + ] diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index d50cc9efa..d471b1a83 100644 --- a/generator/proc_nr.ml +++ b/generator/proc_nr.ml @@ -480,6 +480,7 @@ let proc_nr = [ 470, "internal_find_inode"; 471, "mksquashfs"; 472, "yara_load"; +473, "yara_destroy"; ] (* End of list. If adding a new entry, add it at the end of the list diff --git a/lib/MAX_PROC_NR b/lib/MAX_PROC_NR index 68cfb10d1..8410b8b89 100644 --- a/lib/MAX_PROC_NR +++ b/lib/MAX_PROC_NR @@ -1 +1 @@ -472 +473 -- 2.11....
2009 Aug 13
1
Summary of current test failures
CentOS 5.3 and RHEL 5.4 both fail on these 3 tests only: 82/212 test_zero_0 umount: /dev/sda1: umount: /dev/sda1: not found test_zero_0 FAILED 83/212 test_fsck_0 umount: /dev/sda1: umount: /dev/sda1: not found test_fsck_0 FAILED 84/212 test_fsck_1 umount: /dev/sda1: umount: /dev/sda1: not found test_fsck_1 FAILED Debian fails on 57 / 212 tests, but they all seem to be of the same type:
2017 Feb 14
0
[PATCH 10/10] dib: add squashfs output format
...1301 USA. + *) + +open Common_utils +open Common_gettext.Gettext + +open Output_format + +let squashfs_check (g : Guestfs.guestfs) = + g#available [| "squashfs" |] + +let squashfs_run_fs (g : Guestfs.guestfs) filename _ = + message (f_"Compressing the image as squashfs"); + g#mksquashfs ~excludes:[| "sys/*"; "proc/*"; "dev/*" |] ~compress:"xz" + "/" filename + +let fmt = { + defaults with + name = "squashfs"; + check_appliance_prerequisites = Some squashfs_check; + run_on_filesystem = Some squashfs_run_fs; +...
2008 Sep 30
1
Questions on custom LiveCD
I tried making my own LiveCD according to the instructions on the project site. First, applause, the basic procedure works like a charm. It's really easy to do and works right from the beginning (I'm building it inside a VM). I tried the minimal and the desktop version (with a few changes). I have encountered a few problems and have some questions. The German keyboard I set in the
2017 Mar 12
8
[PATCH v4 0/7] Feature: Yara file scanning
Rebase patches on top of 1.37.1. No changes since last series. Matteo Cafasso (7): daemon: expose file upload logic appliance: add yara dependency New API: yara_load New API: yara_destroy New API: internal_yara_scan New API: yara_scan yara_scan: added API tests appliance/packagelist.in | 4 + configure.ac | 1 + daemon/Makefile.am
2017 Apr 24
0
[PATCH v8 6/8] New API: internal_yara_scan
...ile with the loaded yara rules"; + longdesc = "Internal function for yara_scan." }; + ] diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index d471b1a83..c7619638a 100644 --- a/generator/proc_nr.ml +++ b/generator/proc_nr.ml @@ -481,6 +481,7 @@ let proc_nr = [ 471, "mksquashfs"; 472, "yara_load"; 473, "yara_destroy"; +474, "internal_yara_scan"; ] (* End of list. If adding a new entry, add it at the end of the list diff --git a/generator/structs.ml b/generator/structs.ml index c1c9b668e..834fa9c54 100644 --- a/generator/structs.ml...
2017 Apr 06
0
[PATCH v6 5/7] New API: internal_yara_scan
...ile with the loaded yara rules"; + longdesc = "Internal function for yara_scan." }; + ] diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index d471b1a83..c7619638a 100644 --- a/generator/proc_nr.ml +++ b/generator/proc_nr.ml @@ -481,6 +481,7 @@ let proc_nr = [ 471, "mksquashfs"; 472, "yara_load"; 473, "yara_destroy"; +474, "internal_yara_scan"; ] (* End of list. If adding a new entry, add it at the end of the list diff --git a/generator/structs.ml b/generator/structs.ml index c1c9b668e..834fa9c54 100644 --- a/generator/structs.ml...
2017 Apr 04
0
[PATCH v5 5/7] New API: internal_yara_scan
...ile with the loaded yara rules"; + longdesc = "Internal function for yara_scan." }; + ] diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index d471b1a83..c7619638a 100644 --- a/generator/proc_nr.ml +++ b/generator/proc_nr.ml @@ -481,6 +481,7 @@ let proc_nr = [ 471, "mksquashfs"; 472, "yara_load"; 473, "yara_destroy"; +474, "internal_yara_scan"; ] (* End of list. If adding a new entry, add it at the end of the list diff --git a/generator/structs.ml b/generator/structs.ml index c1c9b668e..01aa3d371 100644 --- a/generator/structs.ml...
2017 Apr 06
14
[PATCH v6 0/7] Feature: Yara file scanning
v6: - use new test functions - fix yara_detection struct field names - revert yara_load function to initial version With Pino we were exploring the idea of allowing Users to load multiple rule files with subsequent calls to yara_load API. https://www.redhat.com/archives/libguestfs/2016-November/msg00119.html It turns out impractical due to YARA API limitations. It is possible to load multiple
2017 Apr 25
8
[PATCH v9 0/7] Feature: Yara file scanning
v9: - fixes according to comments Matteo Cafasso (7): daemon: expose file upload logic appliance: add yara dependency New API: yara_load New API: yara_destroy New API: internal_yara_scan New API: yara_scan yara_scan: added API tests appliance/packagelist.in | 4 + configure.ac | 1 + daemon/Makefile.am | 4 +-
2017 Mar 12
0
[PATCH v4 3/7] New API: yara_load
...of the basic lists of actions. *) diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index b3be31996..d50cc9efa 100644 --- a/generator/proc_nr.ml +++ b/generator/proc_nr.ml @@ -479,6 +479,7 @@ let proc_nr = [ 469, "aug_transform"; 470, "internal_find_inode"; 471, "mksquashfs"; +472, "yara_load"; ] (* End of list. If adding a new entry, add it at the end of the list diff --git a/gobject/Makefile.inc b/gobject/Makefile.inc index 8fa8599d3..b0ebf15d9 100644 --- a/gobject/Makefile.inc +++ b/gobject/Makefile.inc @@ -111,7 +111,8 @@ guestfs_gobject_header...