From owner-freebsd-arch@FreeBSD.ORG Mon Jul 8 18:45:56 2013 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 583C9C91; Mon, 8 Jul 2013 18:45:56 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id A97C81210; Mon, 8 Jul 2013 18:45:55 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id eg20so4131087lab.33 for ; Mon, 08 Jul 2013 11:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=vLMXrk3QdYQ8R336igSptN3Gy5oOwFwr3SmBqTrdPSA=; b=y/VXovr7ip1w13u7AfcLoU+KpdfzzOoojQ1+kZSalt/KuD8dGFqzVxaXmjfqRc+DNa imFSRpRBznX9OocurQVpFUBLcmleZrEbDcxJ9LotCkqIb1W00/Bce6QY8/zhvLPW7uNe RouTTi+UhS0BcaLOTPm3d3t3xX4U+/+O37RaEPQVDzagxUj+geouPn+W5mTf2XO3Ol9J E7GybjU/Lb3ATG04XpROYm7I+SbxgbYJMHuCCjNnNy8vuAmlhEyTmgW/TBFKa8KzzhJ4 o/w66bfA27ZNY7BaKGfV2eAX/ReoQgpyyeXhAV+CFx36McQj0tCrXYqvUG7bbeJKag/J NQzQ== MIME-Version: 1.0 X-Received: by 10.112.12.225 with SMTP id b1mr11385294lbc.3.1373309154637; Mon, 08 Jul 2013 11:45:54 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.149.38 with HTTP; Mon, 8 Jul 2013 11:45:54 -0700 (PDT) Date: Mon, 8 Jul 2013 11:45:54 -0700 X-Google-Sender-Auth: klM0fSD6x6IbmLg4GqwwsQyUkG0 Message-ID: Subject: [RFC] Review of mount.conf man page From: Craig Rodrigues To: freebsd-arch@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Marcel Moolenaar X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 18:45:56 -0000 Hi, In this GRN, Marcel overhauled the root mount logic: ------------------------------------------------------------------------ r214006 | marcel | 2010-10-17 22:01:53 -0700 (Sun, 17 Oct 2010) | 20 lines Re-implement the root mount logic using a recursive approach, whereby each root file system (starting with devfs and a synthesized configuration) can contain directives for mounting another file system as root. ------------------------------------------------------------------------ This stuff is very, very useful, and I have experimented with things like mounting a root file system on a geom_uzip image of a UFS file system and it works great. I looked at these threads to look for some examples: http://lists.freebsd.org/pipermail/freebsd-arch/2010-August/010521.html http://lists.freebsd.org/pipermail/freebsd-arch/2010-August/010547.html and also read the source code of src/sys/kern/vfs_mountroot.c. I would like to contribute a man page for the mount.conf file. My diff is here: http://people.freebsd.org/~rodrigc/mount-conf/mount.conf.diff.txt I also have the man page rendered in ASCII, for easier reading: http://people.freebsd.org/~rodrigc/mount-conf/mount.conf.8.txt Please review and provide feedback. I'd like to get this committed for 9.2 if possible. Thanks to Marcel for writing this code....it's really cool! -- Craig