search for: zcat

Displaying 20 results from an estimated 205 matches for "zcat".

Did you mean: cat
2012 Sep 25
1
Problem with zcat uncompressing man pages
Hi When I read 'certain' -- not all -- man pages zcat writes a small error to stderr when opening the man page; however, the man page does actually open. The message i get on the terminal is: zcat: error writing to output: Broken pipe zcat: /usr/local/man/man5/muttrc.5.gz: uncompress failed When closing the man page, another message is shown on s...
2005 Jun 18
2
Cron.daily
After update from CentOS 3.4 to 3.5 on 3 different boxes, I got the following message from each server ============================================ Subject: Cron <root at premiere> run-parts /etc/cron.daily > /etc/cron.daily/makewhatis.cron: > > > zcat: stdout: Broken pipe > > zcat: stdout: Broken pipe > > zcat: stdout: Broken pipe > > zcat: stdout: Broken pipe > .... ########Truncated due to size####################### ============================================ What does "zcat: stdout: Broken pipe" mean? Shou...
2017 Mar 13
0
[PATCH 1/2] v2v: -i ova: Hoist utility functions to the top of the file.
...let dirs, files = List.partition Sys.is_directory files in + let files = + List.filter (fun x -> Filename.check_suffix x ext) files in + files @ loop (rest @ dirs) + in + loop [dir] + +(* Uncompress the first few bytes of [file] and return it as + * [(bytes, len)]. [zcat] is the command to use (eg. zcat or xzcat). + *) +let uncompress_head zcat file = + let cmd = sprintf "%s %s" zcat (quote file) in + let chan_out, chan_in, chan_err = Unix.open_process_full cmd [||] in + let b = Bytes.create 512 in + let len = input chan_out b 0 (Bytes.length b) in +...
2008 Jun 08
1
Unable to cat raw /dev/fd0 more than one time
...erents machines, one PII and one 486 laptop, they behave the same When init run those actions are made echo "Insert the root-1.img floppy and press Enter" read ANSWER mount -t tmpfs tmpfs /initramfs echo -n "Loading root-1 initramfs ... " cd /initramfs && cat /dev/fd0 | zcat -d | cpio -i echo "Insert the root-2.img floppy and press Enter" read ANSWER echo -n "Loading root-2 initramfs ... " cd /initramfs && cat /dev/fd0 | zcat -d | cpio -i Reading is fine for root-1 Loading root-1 initramfs ... zcat: stdin: decompression OK, trailing garbag...
2005 Jul 31
0
[patch] kbuild: build all targets in gzip
...p/Kbuild b/gzip/Kbuild --- a/gzip/Kbuild +++ b/gzip/Kbuild @@ -1,49 +1,28 @@ +# +# Kbuild file for gzip +# +# The gzip executable user-progs := gzip -gzip-y := gzip.o util.o unzip.o inflate.o +gzip-y := gzip.o util.o unzip.o inflate.o -ifeq (a,b) +# Additional targets +always := gunzip zcat gzip.stripped -Kept for convinience -ZIPSRCS = zip.c deflate.c trees.c bits.c -UNZIPSRCS = unzip.c inflate.c +# Optional ZIP support +gzip-$(CONFIG_KLIB_ZIP) += zip.o deflate.o trees.o bits.o +cflags-$(CONFIG_KLIB_ZIP) += -DSUPPORT_ZIP +EXTRA_USERCFLAGS := $(cflags-y) -SRCS = gzip.c util.c $(...
2017 May 08
3
[PATCH 0/3] v2v: -i ova: Prefer pigz or pxz for uncompressing OVA
https://bugzilla.redhat.com/show_bug.cgi?id=1448739
2018 Feb 26
4
How to update modules in iniramfs fastly
...s://access.redhat.com/solutions/24029). This solution does not work in CentOS 7, because initramfs in CentOS 7 is not a gzipped cpio: [root at bogon a]# file /boot/initramfs-3.10.0-693.el7.x86_64.img /boot/initramfs-3.10.0-693.el7.x86_64.img: ASCII cpio archive (SVR4 with no CRC) If I use zcat /boot/initrd-2.6.18-164.6.1.el5.img | cpio -idmv to uncompress initramfs, it will report errors: [root at bogon a]# zcat /boot/initramfs-3.10.0-693.el7.x86_64.img | cpio -idmv gzip: /boot/initramfs-3.10.0-693.el7.x86_64.img: not in gzip format cpio: premature end of archive > _________...
2015 Sep 15
1
[PATCH] daemon: initrd: print return value from failing process
If either zcat or cpio fails when spawned in initrd-list, pclose will return the actual return value of it, but reply_with_perror still uses errno regardless; thus, the reported error is: libguestfs: error: initrd_list: pclose: Success which is not much helpful. Instead, when pclose returns > 0, extract t...
2017 Mar 13
4
[PATCH 0/2] v2v: -i ova: A couple of cleanup patches.
A couple of patches cleaning up the -i ova code. These are both just refactoring (or should be at any rate). The second patch is best viewed with 'git show -w' to exclude whitespace changes. Rich.
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
.../' then Hostfiles else if len >= 2 && buf.[0] = '-' then Excludefiles else if len >= 1 && isalnum buf.[0] then Packages + else if len = 0 then Empty else error "%s: unknown file type in supermin directory" file and get_compressed_file_content zcat file = -- 2.17.2
2016 Nov 21
2
Re: [PATCH v2 2/5] v2v: ova: don't detect compressed disks, read the OVF instead
...; and "compressed" let could be isolated in the "let filename" block. > + > + let filename = if compressed then ( > + let new_filename = tmpdir // String.random8 () ^ ".vmdk" in > + let cmd = > + sprintf "zcat %s > %s" (quote ovf_folder // filename) (quote new_filename) in > + if shell_command cmd <> 0 then > + error (f_"error uncompressing %s, see earlier error messages") > + filename; > + new_filename > +...
2008 Jun 17
1
Bug#486557: cpio segfault
...ous cpio files. It seems to work for > small files, but fail for larger ones, including the d-i root floppy > image. > > For example: > > joey at kodama:/tmp/empty>wget http://people.debian.org/~joeyh/d-i/images/20080401-09:01/floppy/root.img > joey at kodama:/tmp/empty>zcat root.img | sudo /usr/lib/klibc/bin/cpio -i > zsh: broken pipe zcat root.img | > zsh: segmentation fault sudo /usr/lib/klibc/bin/cpio -i right easy testcase. > Or: > > joey at kodama:/bin>find . | cpio --quiet -o -H newc >|~/bin.cpio > joey at kodama:/bin>cd...
2016 Nov 12
0
[PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...file. *) - let exploded = + let exploded, partial = (* The spec allows a directory to be specified as an ova. This * is also pretty convenient. *) - if is_directory ova then ova + if is_directory ova then ova, false else ( let uncompress_head zcat file = let cmd = sprintf "%s %s" zcat (quote file) in @@ -67,11 +73,53 @@ object tmpfile in + (* Untar only ovf and manifest from the archive *) + let untar_partial file outdir = + let files = + external_command (sprintf "ta...
2006 Jul 23
2
Broken pipe
I updated my x86 machine day before yesterday, and I noticed two things. The clamav user and group was deleted, and not recreated, and when the makewhatis ran, I got a page full of "zcat: stdout: Broken pipe" entries. What gives with the makewhatis and clamav? Was clamav removed from the software? I encountered no errors when the transaction check and transactions were run. Hints? -- Sam W.Drinkard -- sam at wa4phy.net NOAA Cooperative Observer http://wa4phy.net Augus...
2001 Oct 30
6
ext3 patch does not want to gunzip
Hi, I seem to have a problem with compiling the kernel 2.4.13 on redhat 7.2? It would compile fine but have errors about ext3 support on reboot. I download ext3-2.4-0.9.13-2413.gz to my linux machine to enable it be useful with ext3 support but when I try to gunzip it with the instructions gunzip < ~/ext3-2.4-0.9.13-2413.gz | patch -p1 i get gunzip: stdin: not in gzip format I get an
2016 Nov 21
2
Re: [PATCH v2 4/5] v2v: ova: don't extract files from OVA if it's not needed
...let exploded, partial = > (* The spec allows a directory to be specified as an ova. This > * is also pretty convenient. > *) > - if is_directory ova then ova > + if is_directory ova then ova, false > else ( > let uncompress_head zcat file = > let cmd = sprintf "%s %s" zcat (quote file) in > @@ -67,11 +73,53 @@ object > > tmpfile in > > + (* Untar only ovf and manifest from the archive *) > + let untar_partial file outdir = I'd rename this as "untar...
2006 Nov 14
2
gzfile with multiple entries in the archive
...using readLines I miss the initial line of each member of the archive - and also the name of the file although the archive otherwise complete (but useless!). Is there any way within R to extract both the list of files in a tgz archive and to extract any one of these files? Clearly I can use zcat and tar on Linux, but I need this to work within the R environment on Windows! Thanks John James [[alternative HTML version deleted]]
2016 Nov 04
0
[PATCH 4/5] v2v: ova: don't extract files from OVA if it's not needed
...file. *) - let exploded = + let exploded, partial = (* The spec allows a directory to be specified as an ova. This * is also pretty convenient. *) - if is_directory ova then ova + if is_directory ova then ova, false else ( let uncompress_head zcat file = let cmd = sprintf "%s %s" zcat (quote file) in @@ -67,11 +70,19 @@ object tmpfile in + (* Untar only ovf and manifest from the archive *) + let untar_partial file outdir = + let cmd1 = [ "tar"; "-tf" ; file ] in +...
2006 Jul 23
3
cron.weekly
Just looked at the log from the x86_64 machine and I see the same zcat: stdout: Broken pipe in the 00-makewhatis.cron job as on the x86 machine. Did I miss some thread about current updates somewhere? sam -- Sam W.Drinkard -- sam at wa4phy.net NOAA Cooperative Observer http://wa4phy.net Augusta Area Mesonet
2007 Mar 28
6
ZFS and UFS performance
...ed as HW RAID 5 with 10 disks and 2 spares and it''s exported to the V240 as a single LUN. We create iso images of our product in the following way (high-level): # mkfile 3g /isoimages/myiso # lofiadm -a /isoimages/myiso /dev/lofi/1 # newfs /dev/rlofi/1 # mount /dev/lofi/1 /mnt # cd /mnt; zcat /product/myproduct.tar.Z | tar xf - and we finally use mkisofs to create the iso image. UFS performance ---------------------- We created a UFS file system on the above LUN and the above iso creation process takes about 5 mins. (I don''t have the exact numbers) ZFS performance ----------...