From owner-cvs-all@FreeBSD.ORG Fri May 18 22:07:32 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 716FA16A400; Fri, 18 May 2007 22:07:32 +0000 (UTC) (envelope-from bde@optusnet.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7BA13C44C; Fri, 18 May 2007 22:07:31 +0000 (UTC) (envelope-from bde@optusnet.com.au) Received: from c211-30-216-190.carlnfd3.nsw.optusnet.com.au (c211-30-216-190.carlnfd3.nsw.optusnet.com.au [211.30.216.190]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l4IM7M0s014768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 May 2007 08:07:25 +1000 Date: Sat, 19 May 2007 08:07:22 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Giorgos Keramidas In-Reply-To: <20070518205340.GA36079@kobe.laptop> Message-ID: <20070519073416.L44599@delplex.bde.org> References: <200705181357.l4IDvHIP099048@repoman.freebsd.org> <20070518204131.GA50910@xor.obsecurity.org> <20070518205340.GA36079@kobe.laptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Kris Kennaway Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.8 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 22:07:32 -0000 On Fri, 18 May 2007, Giorgos Keramidas wrote: > On 2007-05-18 16:41, Kris Kennaway wrote: >> On Fri, May 18, 2007 at 01:57:17PM +0000, Giorgos Keramidas wrote: >>> keramida 2007-05-18 13:57:17 UTC >>> >>> FreeBSD src repository (doc committer) >>> >>> Modified files: >>> sbin/mdconfig mdconfig.8 >>> Log: >>> Add an example which shows how mdconfig(8) can be used >>> to mount an ISO 9660 CD image file. I'm not sure this example should exist. There is not much special about cd9660 images. The previous example works for all types of images, except it spells the mount command as plain "mount" so ffs is implied, but there are proposals or commits to determine the filesystem type automatically. Bugs in this example: - it says "To mount", but it actually creates an md disk and mounts a file system. - it spells the mount command as mount_cd9660 instead of "mount -t cd9660". Bugs in nearby examples: - the previous one says "To create ... a disk", but it actually creates a mounted file system (it creates 3 things and mounts 1). >>> >>> PR: 112691 >>> Submitted by: Warren Block, wblock at wonkity.com >>> MFC after: 3 days >> >> An interesting trick is that bsdtar can read ISO files without needing >> to mount them - I wonder if a cross-reference is appropriate. > > Good idea. I don't know right now of a good way to reference bsdtar, > but maybe we can extend the sample with something like: > > The bsdtar(1) utility can also be used to peek into ISO 9660 CD > images, or even to ``extract'' files from them. > > or would a reference like this be more appropriate to mount_cd9660(1), > in a part of the manpage which points to mdconfig(8) and bsdtar(1)? Even bsdtar itself doesn't document this explicitly, at least in 6.2. It points to libarchive(5) for the complete list of supported formats. Bruce