Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/share/man/man4 Pull up revision 1.11 via patch (requested...



details:   https://anonhg.NetBSD.org/src/rev/4bb0293135bf
branches:  netbsd-3
changeset: 576875:4bb0293135bf
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Aug 14 21:13:32 2005 +0000

description:
Pull up revision 1.11 via patch (requested by hubertf in ticket #625):
Add support for reading cloop2 compressed filesystem images,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.

diffstat:

 share/man/man4/vnd.4 |  19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diffs (63 lines):

diff -r 68f0965d0f32 -r 4bb0293135bf share/man/man4/vnd.4
--- a/share/man/man4/vnd.4      Sun Aug 14 21:13:30 2005 +0000
+++ b/share/man/man4/vnd.4      Sun Aug 14 21:13:32 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: vnd.4,v 1.9 2001/09/11 23:18:55 wiz Exp $
+.\"    $NetBSD: vnd.4,v 1.9.8.1 2005/08/14 21:13:32 riz Exp $
 .\"
 .\" Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,7 +34,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 30, 1995
+.Dd July 16, 2005
 .Dt VND 4
 .Os
 .Sh NAME
@@ -42,6 +42,7 @@
 .Nd vnode disk driver
 .Sh SYNOPSIS
 .Cd "pseudo-device vnd" Op Ar count
+.Cd "options VND_COMPRESSION
 .Sh DESCRIPTION
 The
 .Nm
@@ -67,8 +68,18 @@
 In this example, no more than 4
 .Nm vnd Ns s
 may be configured.
+To also compile in support for reading compressed disk images,
+add the following option to your kernel config file:
+.Bd -unfilled -offset indent
+options        VND_COMPRESSION    # compressed vnd(4)
+.Ed
+Compressed disk images are expected in the cloop2 format,
+they can be created from "normal" disk images by the
+.Xr vndcompress 1
+program. 
 .Pp
 There is a run-time utility that is used for configuring
+both compressed and uncompressed
 .Nm vnd Ns s .
 See
 .Xr vnconfig 8
@@ -79,6 +90,7 @@
 vnd device special files.
 .El
 .Sh SEE ALSO
+.Xr vndcompress 1 ,
 .Xr MAKEDEV 8 ,
 .Xr config 8 ,
 .Xr fsck 8 ,
@@ -88,6 +100,9 @@
 .Sh HISTORY
 The vnode disk driver was originally written at the University of
 Utah.
+The compression handling is based on code by
+.An Cliff Wright
+.Aq cliff%snipe444.org@localhost . 
 .Sh BUGS
 The
 .Nm



Home | Main Index | Thread Index | Old Index