From owner-freebsd-sysinstall@FreeBSD.ORG Mon Aug 2 11:07:12 2010 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06B1B106566C for ; Mon, 2 Aug 2010 11:07:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E74668FC13 for ; Mon, 2 Aug 2010 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o72B7BM8035243 for ; Mon, 2 Aug 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o72B7Bpp035241 for freebsd-sysinstall@FreeBSD.org; Mon, 2 Aug 2010 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Aug 2010 11:07:11 GMT Message-Id: <201008021107.o72B7Bpp035241@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 11:07:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/148350 sysinstall [patch] sysinstall(8) does not set "ntpdate chosen ser f bin/148220 sysinstall sysinstall(8): 9.0-current gets "Cannot resolv hostnam o bin/148201 sysinstall sysinstall(8): core dump (Error 10) while trying to in f bin/148143 sysinstall sysinstall(8) 8.1-RC1 segfault o bin/146299 sysinstall sysinstall(8): cannot create slice o bin/145735 sysinstall sysinstall(8) trashes Vista-created partition tables o bin/142960 sysinstall [patch] sysinstall(8) comparison of cdrom.inf CD_VERSI o bin/142867 sysinstall sysinstall(8): in a custom installation re-entering th o bin/140843 sysinstall sysinstall(8): cannot software install from usb o bin/140842 sysinstall sysinstall(8): destroyed ncurses interface with FBSD8. o bin/138423 sysinstall sysinstall(8): Installer (and sade) get wrong number o o bin/137864 sysinstall [patch] sysinstall(8): add possibility to shutdown/pow o bin/137713 sysinstall sysinstall(8): installer partition editor generates in f bin/136161 sysinstall sysinstall(8) installs wrong architecture on amd64 o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar s bin/123304 sysinstall sysinstall(8): missing sensible and user friendly prog o bin/121503 sysinstall sysinstall(8): 7.0 upgrade doesn't let me mount all of o bin/119077 sysinstall [patch] sysinstall(8) - reading packages from index is o bin/113979 sysinstall [patch] sysinstall(8) does not support UFS1 filesystem o bin/112757 sysinstall sysinstall(8): sysinstall(8): in the FDISK tool we can o bin/108191 sysinstall sysinstall(8): Disklabel editor help text (by F1 key) o bin/107830 sysinstall sysinstall(8): Change Units (Z) in fdisk doesn't work o bin/102498 sysinstall sysinstall(8): Cursor doesn't track sysinstall hilight a bin/101762 sysinstall sysinstall(8) does not obey /usr/ports symlink while i o bin/97108 sysinstall sysinstall(8): write failure on transfer (wrote -1 byt o bin/93275 sysinstall sysinstall(8): Failure to install after restarting ins o bin/90656 sysinstall sysinstall(8): 6.0-RELEASE (i386) cannot be installed o bin/79840 sysinstall sysinstall(8): Partitioning and formating a new disk f o bin/79621 sysinstall sysinstall(8): sysinstall(8) does not create a device o bin/78964 sysinstall sysinstall(8): can not write labels to hdd on installa f bin/73511 sysinstall sysinstall(8): SCSI drive install failure - RC2 o bin/73410 sysinstall sysinstall(8): Sysinstall could not allocate disklabel o bin/70002 sysinstall sysinstall(8): fails to locate FTP dirs if the OS has o bin/69986 sysinstall sysinstall(8): [patch] no job control in fixit shell o o bin/69942 sysinstall sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69723 sysinstall sysinstall(8): [request] allow to continue from packag o bin/62702 sysinstall sysinstall(8): backup of /etc and /root during sysinst o alpha/61940 sysinstall sysinstall(8): Can't disklabel new disk from FreeBSD/a o bin/61890 sysinstall sysinstall(8): fdisk(8) uses incorrect calculations fo o bin/60632 sysinstall sysinstall(8): UI bug in partition label screen in sys o bin/59708 sysinstall sysinstall(8): [patch] add sSMTP support for Mail sele o bin/53341 sysinstall sysinstall(8): [patch] dump frequency in sysinstall is o bin/46905 sysinstall sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/41949 sysinstall sysinstall(8): sysinstall sorts /etc/rc.conf during ne o bin/41850 sysinstall sysinstall(8): sysinstall fails to create root filesys f bin/40260 sysinstall sysinstall(8): hang when detecting devices (No CD/DVD s conf/39580 sysinstall sysinstall(8): [request] more secure mount options o bin/38056 sysinstall sysinstall(8): User (creation)'s "Member groups" item a bin/32375 sysinstall sysinstall(8): sysinstall doesn't respect User generat s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 50 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Mon Aug 2 23:03:12 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F29821065672 for ; Mon, 2 Aug 2010 23:03:12 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id DFEEA8FC08 for ; Mon, 2 Aug 2010 23:03:12 +0000 (UTC) Received: from [208.206.78.30] (port=60004 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1Og3fG-0004kU-Cx; Mon, 02 Aug 2010 15:39:24 -0700 From: Devin Teske To: freebsd-sysinstall@freebsd.org Content-Type: text/plain Organization: Vicor, Inc Date: Mon, 02 Aug 2010 15:39:22 -0700 Message-Id: <1280788762.19910.473.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: 410a188fc47d19c3889939fd9180a7d1 X-Scan-Host: postoffice.vicor.com Cc: Subject: Funky-See, Funky-Do (nonInteractive UFS1 specification) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 23:03:13 -0000 Let's have some fun. And while we're at it, contribute a patch that may benefit others. Let's say, for argument's sake, that you wanted to install FreeBSD-8.1 onto a UFS1 formatted filesystem (again... purely for your own enjoyment or luciferous paideia). Such a feat is indeed possible, and here's how: 1. When you are in the Disk Label Editor,... 2. Simply highlight the disk label and... 3. Press '1' on the keyboard. NOTE: A literal '1' is shown in the flags column. sysinstall(8) will indeed adhere to your desires and pass "-O1" (that's dash-oh-one) to newfs, causing the filesystem to be formatted as UFS1. Now, let's say that you wanted to do the SAME EXACT thing with the non- interactive scripting abilities of sysinstall(8). You're dead in the water. Although it's possible to do this in the interactive prompt-based install, it's NOT possible to do this in the non-interactive scripted install. For those not in the know, you can tell sysinstall to automatically format the target installation disk, using lines similar to those shown below in a sysinstall(8) configuration file: disk=/dev/da0 da0s1-1=ufs 2097152 / 0 da0s1-2=swap 2097152 none 0 da0s1-3=ufs 2097152 /var 1 da0s1-4=ufs 2097152 /tmp 1 da0s1-5=ufs 0 /usr 1 Here's the format: [disk]s1-N=[type] [size] [mntdir] [soft-updates] The size is in sectors. The last numeral (0 or 1) is a boolean flag for whether the given filesystem should have 'tunefs -n enable' called, enabling Soft-Updates (a performance enhancing feature). One thing that you may notice about the above format is that there is no way to specify the filesystem version for a ufs filesystem. In the above example, there are 4x ufs partitions which will all be formatted as UFS2 because there is no mechanism in sysinstall's scripting abilities to indicate that you would like UFS1 rather than UFS2. Enter patch... --- usr.sbin/sysinstall/label.c.orig 2010-02-19 12:26:30.000000000 -0800 +++ usr.sbin/sysinstall/label.c 2010-08-02 12:29:37.000000000 -0700 @@ -1611,10 +1611,11 @@ diskLabelNonInteractive(Device *dev) for (entries = 1;; entries++) { intmax_t sz; int soft = 0; + int ufs1 = 0; snprintf(name, sizeof name, "%s-%d", c1->name, entries); if ((cp = variable_get(name)) == NULL) break; - if (sscanf(cp, "%s %jd %s %d", typ, &sz, mpoint, &soft) < 3) { + if (sscanf(cp, "%s %jd %s %d %d", typ, &sz, mpoint, &soft, &ufs1) < 3) { msgConfirm("For slice entry %s, got an invalid detail entry of: %s", c1->name, cp); status = DITEM_FAILURE; break; @@ -1647,6 +1648,7 @@ diskLabelNonInteractive(Device *dev) pi = tmp->private_data = new_part(PART_FILESYSTEM, mpoint, TRUE); tmp->private_free = safe_free; pi->newfs_data.newfs_ufs.softupdates = soft; + pi->newfs_data.newfs_ufs.ufs1 = (ufs1 == 1) ? true : false; } } } With the above patch, you can now write the disk configuration as (specifying that each : disk=/dev/da0 da0s1-1=ufs 2097152 / 0 1 da0s1-2=swap 2097152 none 0 1 da0s1-3=ufs 2097152 /var 1 1 da0s1-4=ufs 2097152 /tmp 1 1 da0s1-5=ufs 0 /usr 1 1 Any other value in the last column will cause the filesystem to be written in the default UFS version (currently UFS2). Also note that with the above patch, the last column is optional, allowing us to retain backward compatibility with the old format (which lacks our new column). Only the first three columns are required. (ducks for flying fruit -- because he knows that a great many will not understand the beauty of his genius... aka madness) -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-sysinstall@FreeBSD.ORG Tue Aug 3 01:58:30 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E34891065670 for ; Tue, 3 Aug 2010 01:58:30 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A98238FC16 for ; Tue, 3 Aug 2010 01:58:30 +0000 (UTC) Received: by iwn35 with SMTP id 35so316658iwn.13 for ; Mon, 02 Aug 2010 18:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=zpH3sFKoA08+6ZEtSENRKRs/CmuKlFDkj++ybCJl0hA=; b=N5QkGlFG8Xb1qvAmJtGRpLmSyKr+zHT45fwBig4y3+NqOQtJUweNqywIFve7PHFy9x dh8PjDcKXGvxhzrVFd8Bz/zfls87oCZTWRHp4jppfz5ajeAImFMvePYI4GMZ6mkTSPyR e5N46OsPLfe6tVNjpP0M3mxrjAbkLDn16uFrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ed9GxxDJSgYZNhBtlOmvHzul2Yay65dnSK4srW67aQGGwMte3xZ2OUNlLUERoi6AaN OT9PYG5ZVzh/t8+2e6UhUeDVHpWLqBsR0Yb9VhMZUEvihLMO0HMu6L1iA5zX3iCdBCGs FdmF/vNV9DDYKdbdVtk14YmYBCFzVbIiDcKug= MIME-Version: 1.0 Received: by 10.231.17.12 with SMTP id q12mr7551227iba.160.1280800709785; Mon, 02 Aug 2010 18:58:29 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.231.187.104 with HTTP; Mon, 2 Aug 2010 18:58:29 -0700 (PDT) In-Reply-To: <1280788762.19910.473.camel@localhost.localdomain> References: <1280788762.19910.473.camel@localhost.localdomain> Date: Mon, 2 Aug 2010 18:58:29 -0700 X-Google-Sender-Auth: 6HtgPTLErj03Aub3lSVnp-r4QDU Message-ID: From: Garrett Cooper To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-sysinstall@freebsd.org Subject: Re: Funky-See, Funky-Do (nonInteractive UFS1 specification) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 01:58:31 -0000 On Mon, Aug 2, 2010 at 3:39 PM, Devin Teske wrote: > Let's have some fun. And while we're at it, contribute a patch that may > benefit others. ... > Also note that with the above patch, the last column is optional, > allowing us to retain backward compatibility with the old format (which > lacks our new column). Only the first three columns are required. Well... yeah... but specifying 1 1 really doesn't make sense because softupdates only exist in UFS2+ ;)... Thought: why not just make the last `column' feed into a program as options, like '-j enable -U', '-O1', etc...? Seems a bit more portable and tunable ;)... It's a simple enough patch though, and looks ok. Thanks, -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Tue Aug 3 09:42:55 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D9A106566B for ; Tue, 3 Aug 2010 09:42:55 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3248FC13 for ; Tue, 3 Aug 2010 09:42:55 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id C6B405C94; Tue, 3 Aug 2010 09:42:28 +0000 (UTC) Date: Tue, 3 Aug 2010 10:42:44 +0100 From: Bruce Cran To: Garrett Cooper Message-ID: <20100803104244.00000fa4@unknown> In-Reply-To: References: <1280788762.19910.473.camel@localhost.localdomain> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-sysinstall@freebsd.org Subject: Re: Funky-See, Funky-Do (nonInteractive UFS1 specification) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 09:42:55 -0000 On Mon, 2 Aug 2010 18:58:29 -0700 Garrett Cooper wrote: > Well... yeah... but specifying 1 1 really doesn't make sense because > softupdates only exist in UFS2+ ;)... http://www.freebsd.org/cgi/man.cgi?query=tunefs&apropos=0&sektion=0&manpath=FreeBSD+3.0-RELEASE&format=html suggests that softupdates were added in 3.0, which was several years before UFS2. -- Bruce Cran From owner-freebsd-sysinstall@FreeBSD.ORG Tue Aug 3 17:40:21 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170CB106566B; Tue, 3 Aug 2010 17:40:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D30518FC20; Tue, 3 Aug 2010 17:40:20 +0000 (UTC) Received: by pwj9 with SMTP id 9so1962652pwj.13 for ; Tue, 03 Aug 2010 10:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=y0xaC+HH6E9pvgH2mo/gBQr8YPePDHxBcG53jIzPn5U=; b=eO/LNJtswKBFBjhrWnvVnl6oPQ4yGwpCpj6MUUgQAicSZwIlnX1U4fcroPKWnNsTEC T6prRmEhEIuL2L+4HT1YqONzMipgKgkL0Xm6D/sKm0YX+Uu0SIWFTo7M5CeJ73RKgSjj IeqW3jAinkcID7koEkmG24rXHZiHZi3SqWcjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=h6FzkjGFIk1n4tEMDLao9vckOswSY4vIyfSZGYjMynEzLkP/iUNmiAGt74HFlHPW7q HUmLCd+PcE4hU6exPmsiEuU7Cj+yJCBFABso59TuOQGWpIjeDCeh/nQwFciBpH4CkYDN nVBWSOGvOUcvWDkatOqKac/ADy7sI5v/2jFL0= Received: by 10.142.211.4 with SMTP id j4mr6968541wfg.73.1280854601701; Tue, 03 Aug 2010 09:56:41 -0700 (PDT) Received: from [192.168.0.203] (deviant.freebsdgirl.com [173.8.183.73]) by mx.google.com with ESMTPS id f2sm9384183wfp.11.2010.08.03.09.56.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 09:56:36 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Garrett Cooper In-Reply-To: <20100803104244.00000fa4@unknown> Date: Tue, 3 Aug 2010 09:56:29 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <050864DD-59AD-479A-B3C8-3A7D0F3054AA@gmail.com> References: <1280788762.19910.473.camel@localhost.localdomain> <20100803104244.00000fa4@unknown> To: Bruce Cran X-Mailer: Apple Mail (2.1081) Cc: freebsd-sysinstall@freebsd.org, Garrett Cooper Subject: Re: Funky-See, Funky-Do (nonInteractive UFS1 specification) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 17:40:21 -0000 On Aug 3, 2010, at 2:42 AM, Bruce Cran wrote: > On Mon, 2 Aug 2010 18:58:29 -0700 > Garrett Cooper wrote: >=20 >> Well... yeah... but specifying 1 1 really doesn't make sense because >> softupdates only exist in UFS2+ ;)... >=20 > = http://www.freebsd.org/cgi/man.cgi?query=3Dtunefs&apropos=3D0&sektion=3D0&= manpath=3DFreeBSD+3.0-RELEASE&format=3Dhtml > suggests that softupdates were added in 3.0, which was several years > before UFS2. Sigh... fail for me. -Garrett= From owner-freebsd-sysinstall@FreeBSD.ORG Tue Aug 3 23:41:04 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 171821065676 for ; Tue, 3 Aug 2010 23:41:04 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id EBF968FC1A for ; Tue, 3 Aug 2010 23:41:03 +0000 (UTC) Received: from [208.206.78.30] (port=34276 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1OgR6G-0006q3-Eu; Tue, 03 Aug 2010 16:40:50 -0700 From: Devin Teske To: Garrett Cooper In-Reply-To: References: <1280788762.19910.473.camel@localhost.localdomain> Content-Type: text/plain Organization: Vicor, Inc Date: Tue, 03 Aug 2010 16:40:48 -0700 Message-Id: <1280878848.19910.516.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: a3583e57c7380816e3db6ac6ae074070 X-Scan-Host: postoffice.vicor.com Cc: freebsd-sysinstall@freebsd.org Subject: Re: Funky-See, Funky-Do (nonInteractive UFS1 specification) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 23:41:04 -0000 On Mon, 2010-08-02 at 18:58 -0700, Garrett Cooper wrote: > Thought: why not just make the last `column' feed into a program as > options, like '-j enable -U', '-O1', etc...? Seems a bit more portable > and tunable ;)... Well, that wouldn't work because different options need to be sent to different programs. For example, "-J enable" is an option to tunefs(8) while "-U" and "-O1" are options to newfs(8). Although, I do agree with you that it's a bit kludgey to just throw another column on the configuration data. After giving it more thought, I think this is a better solution: --- usr.sbin/sysinstall/label.c.orig 2010-02-19 12:26:30.000000000 -0800 +++ usr.sbin/sysinstall/label.c 2010-08-03 14:24:43.000000000 -0700 @@ -1647,6 +1647,8 @@ diskLabelNonInteractive(Device *dev) pi = tmp->private_data = new_part(PART_FILESYSTEM, mpoint, TRUE); tmp->private_free = safe_free; pi->newfs_data.newfs_ufs.softupdates = soft; + if (!strcmp(typ, "ufs1")) + pi->newfs_data.newfs_ufs.ufs1 = true; } } } Given the above patch, if one wanted to specify UFS1 as the filesystem type for non-interactive installation, here's how the configuration file should look: disk=/dev/da0 da0s1-1=ufs1 2097152 / 0 da0s1-2=swap 2097152 none 0 da0s1-3=ufs1 2097152 /var 1 da0s1-4=ufs1 2097152 /tmp 1 da0s1-5=ufs1 0 /usr 1 I think I like this much better. The patch is smaller too. -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-sysinstall@FreeBSD.ORG Wed Aug 4 18:41:50 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE66D1065677 for ; Wed, 4 Aug 2010 18:41:50 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8E08FC1B for ; Wed, 4 Aug 2010 18:41:49 +0000 (UTC) Received: from [208.206.78.30] (port=36516 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1OgiuQ-0003UN-D2; Wed, 04 Aug 2010 11:41:48 -0700 From: Devin Teske To: Bruce Cran Content-Type: text/plain Organization: Vicor, Inc Date: Wed, 04 Aug 2010 11:41:45 -0700 Message-Id: <1280947306.19910.541.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: 88db2959e544eeecca737f26d1e2c941 X-Scan-Host: postoffice.vicor.com Cc: freebsd-sysinstall@freebsd.org, brucec@freebsd.org Subject: slattach still in RELENG_8 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 18:41:50 -0000 Hi Bruce, et. al., For network.c (src/usr.sbin/sysinstall/network.c), we appear to have a tagging issue. In version 1.55, I see that you've removed PPP/SLIP code (very nice -- originally started out this e-mail with a request to remove erroneous call to `slattach' which is no longer available in 8.x but was pleasantly surprised to find that the deed had already been done by you 2.5 weeks ago). However, I am seeing that the call to `slattach' still exists in RELENG_8, RELENG_8_1, RELENG_8_1_0_RELEASE, RELENG_8_0, and RELENG_8_0_0_RELEASE. Yet... the CVS comment for the commit of version 1.55 of network.c in MAIN/HEAD which you entered does indeed indicate that the lack of `slattach' (used in mediaInitNetwork) should propagate to all 8.x tags. Your CVS comment for 1.55: "FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring and installing via such devices from sysinstall." -brucec I am just curious... Is a branching of network.c in the works for the remaining FreeBSD-8.x tags? I only ask because I'm doing a top-down remediation of sysinstall(8)'s use of external executables in RELENG_8 and found that `slattach' does not exist yet is still conditionally called. -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-sysinstall@FreeBSD.ORG Wed Aug 4 19:06:49 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8050C1065670 for ; Wed, 4 Aug 2010 19:06:49 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 5F25E8FC0C for ; Wed, 4 Aug 2010 19:06:49 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 317915C94; Wed, 4 Aug 2010 19:06:21 +0000 (UTC) Date: Wed, 4 Aug 2010 20:06:27 +0100 From: Bruce Cran To: Devin Teske Message-ID: <20100804200627.00002533@unknown> In-Reply-To: <1280947306.19910.541.camel@localhost.localdomain> References: <1280947306.19910.541.camel@localhost.localdomain> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-sysinstall@freebsd.org Subject: Re: slattach still in RELENG_8 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 19:06:49 -0000 On Wed, 04 Aug 2010 11:41:45 -0700 Devin Teske wrote: > Is a branching of network.c in the works for the remaining FreeBSD-8.x > tags? Yes, I have a lot of MFC's to do in the next few days - though only stable/8 will be affected by the SLIP/PPP changes since we can't change the RELEASE tags now. -- Bruce Cran