Lines Matching +full:gzip +full:. +full:tar +full:. +full:gz
1 $NetBSD: advanced.1,v 1.6 2017/05/09 23:26:49 kamil Exp $
3 Using the file advanced.1.conf, we might obtain the following results:
6 % mount `pwd`/advanced.1.conf /p
10 % cat /p/fs//etc/rc # Note the double /, as fs/ is stripped.
14 # don't really need to specify the extra slash.
32 % cat /etc/rc | gzip > /tmp/rc.gz
34 % cksum /tmp/rc /p/gzcat//tmp/rc.gz
36 1896381655 10514 /p/gzcat//tmp/rc.gz
38 % cat /etc/rc > /p/gzip//tmp/rc.gz.2
40 % ls -l /tmp/rc.gz*
41 -rw-r--r-- 1 root wheel 3751 Jul 6 01:25 /tmp/rc.gz
42 -rw-r--r-- 1 root wheel 3751 Jul 6 01:26 /tmp/rc.gz.2
44 % cat /etc/rc > /p/gzip9//tmp/rc.gz9
46 % ls -l /tmp/rc.gz9
47 -rw-r--r-- 1 root wheel 3748 Jul 6 01:27 /tmp/rc.gz9
49 % cat /p/gzcat//tmp/rc.gz9 | cksum
52 % cat /p/ftp/ftp.NetBSD.org:pub/NetBSD/README
55 % cat /p/http://www.NetBSD.org/index.html
58 # And now for some more creative uses...
61 % cp /p/ftp/ftp.NetBSD.org:pub/NetBSD/NetBSD-current/tar_files/src/bin.tar.gz .
63 % cp /p/ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/tar_files/src/sbin.tar.gz .
65 % tar xzf sbin.tar.gz
67 # Or, we can be fancier. Tar tries to convert /p/ftp/a:b into a
69 # circumvent that by using cat.
70 % cat /p/gzcat//p/ftp/ftp.NetBSD.org:pub/NetBSD/NetBSD-current/tar_files/src/sbin.tar.gz | tar xf -
76 % cat mount_portal.8 | bzip2 -9 > mount_portal.8.bz2
78 % rm mount_portal.8
80 % ln -s /p/bzcat//usr/share/man/man8/mount_portal.8.bz2 mount_portal.8
85 % cat /p/nroff//p/bzcat//usr/share/man/man8/mount_portal.bz2
86 <also works.>
90 % cat /p/nroff%/p/bzcat%/usr/share/man/man8/mount_portal.bz2
92 # Also, we can provide read-only 'sysctlfs' functionality. This
93 # is provided by the shell script sysctlfs.sh, which should be in
94 # /usr/share/examples/mount_portal.
96 % cat /p/sysctl/kern.mbuf