From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 29 22:07:51 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3971065670 for ; Tue, 29 Jun 2010 22:07:51 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E9C868FC1A for ; Tue, 29 Jun 2010 22:07:50 +0000 (UTC) Received: by qyk12 with SMTP id 12so39936qyk.13 for ; Tue, 29 Jun 2010 15:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=4wuT+/XJ+31tdQMBE6NnGUlAdN/yh8PwxtwodKN+/ns=; b=fQj7BG1GAWjcFnHBLW+WHuh6gLRpLto2VivqQoVoah5clFYncWea3RDkdFnhBaVo/T hpX+W+q5WDa+3PA+gUbZK8JPBFt2f50R724sHKtW3l5vZ4+5V9FgmvPFGmZu1BWY8ALp ULXOmOFN3I9d3hysUsxDbfqwYYdYKx7jSnIEI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=scj2hqBdzIOMaGP7Cd3wz1vQlbquXRnpwr8O7ITfPZVtBJdAax8rae8gNj72+9ulqh vYzSxLjSCcxQCu7r4nRvUoBEmKU7d7Bd2kV44M+f/1StWAyUJDfkD/8r3PDmqGt5CaBl 5oFwH51hJoHDThe32E7/FhMWpj4sSoAFw18Co= MIME-Version: 1.0 Received: by 10.224.78.157 with SMTP id l29mr5344060qak.214.1277849254703; Tue, 29 Jun 2010 15:07:34 -0700 (PDT) Received: by 10.229.221.83 with HTTP; Tue, 29 Jun 2010 15:07:33 -0700 (PDT) Date: Tue, 29 Jun 2010 15:07:33 -0700 Message-ID: From: Garrett Cooper To: FreeBSD-Hackers Content-Type: multipart/mixed; boundary=00c09f9c9762e95631048a327659 Subject: Set default pxeboot vfs.root.mountfrom to nfs? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 22:07:51 -0000 --00c09f9c9762e95631048a327659 Content-Type: text/plain; charset=ISO-8859-1 Hi Hackers, I realize this is a trivial patch, but it's a minor item that I found kind of fascinating (and not thoroughly documented elsewhere because many examples are booting mfsroots instead of directly booting off nfs roots), but I'm proposing that pxeboot default to vfs.root.mountfrom="nfs" to reduce the need for special case loader.conf files just for pxe booting (and thus, enable out-of-the-box netbooting ^o^!!!). Thoughts? Thanks! -Garrett --00c09f9c9762e95631048a327659 Content-Type: application/octet-stream; name="pxeboot-default-to-nfs.diff" Content-Disposition: attachment; filename="pxeboot-default-to-nfs.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gb104zyr0 SW5kZXg6IGJvb3QvaTM4Ni9saWJpMzg2L3B4ZS5jCj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGJvb3QvaTM4Ni9s aWJpMzg2L3B4ZS5jCShyZXZpc2lvbiAyMDk1NjMpCisrKyBib290L2kzODYvbGliaTM4Ni9weGUu Ywkod29ya2luZyBjb3B5KQpAQCAtMzA4LDYgKzMwOCw3IEBACiAJCX0KIAkJc2V0ZW52KCJib290 Lm5mc3Jvb3Quc2VydmVyIiwgaW5ldF9udG9hKHJvb3RpcCksIDEpOwogCQlzZXRlbnYoImJvb3Qu bmZzcm9vdC5wYXRoIiwgcm9vdHBhdGgsIDEpOworCQlzZXRlbnYoInZmcy5yb290Lm1vdW50ZnJv bSIsICJuZnMiLCAwKTsKIAkJc2V0ZW52KCJkaGNwLmhvc3QtbmFtZSIsIGhvc3RuYW1lLCAxKTsK IAl9CiAgICAgfQo= --00c09f9c9762e95631048a327659--