From owner-freebsd-arch@FreeBSD.ORG Sun Jan 30 07:41:49 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090F3106566C; Sun, 30 Jan 2011 07:41:49 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id AEAA78FC18; Sun, 30 Jan 2011 07:41:48 +0000 (UTC) Received: by yxh35 with SMTP id 35so1699795yxh.13 for ; Sat, 29 Jan 2011 23:41:47 -0800 (PST) Received: by 10.150.199.15 with SMTP id w15mr3853838ybf.400.1296373307828; Sat, 29 Jan 2011 23:41:47 -0800 (PST) Received: from [10.0.1.198] ([72.253.42.56]) by mx.google.com with ESMTPS id u5sm1213702yba.22.2011.01.29.23.41.44 (version=SSLv3 cipher=RC4-MD5); Sat, 29 Jan 2011 23:41:46 -0800 (PST) Date: Sat, 29 Jan 2011 21:44:45 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Hans Petter Selasky In-Reply-To: <201101291032.35544.hselasky@c2i.net> Message-ID: References: <201101281009.32986.jhb@freebsd.org> <201101291032.35544.hselasky@c2i.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arch@freebsd.org Subject: Re: ofed merge soon X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 07:41:49 -0000 On Sat, 29 Jan 2011, Hans Petter Selasky wrote: > Hi, > > Just a comment: > > + > +#define DEFINE_MUTEX(lock) \ > + mutex_t lock; \ > + SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS) > + > +static inline void > +linux_mutex_init(mutex_t *m) > +{ > + > + memset(&m->sx, 0, sizeof(m->sx)); > + sx_init_flags(&m->sx, "lnxmtx", SX_NOWITNESS); > +} > + > +#define mutex_init linux_mutex_init > > I see you workaround the fact that Linux does not destroy any mutexes by > disabling witness. Do you have any plan to upgrade the Linux 3rd party code to > destroy mutexes? It introduces too many diffs that are difficult to maintain. I don't think it's viable. One option would be to tag the memory linux uses so that when it's freed we reclaim any locks in it. You could scan the witness tables for pointers within the free'd region fairly easily. It wouldn't be pretty though. Thanks, Jeff > > --HPS > From owner-freebsd-arch@FreeBSD.ORG Sun Jan 30 09:16:55 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DABA106566B for ; Sun, 30 Jan 2011 09:16:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9056D8FC15 for ; Sun, 30 Jan 2011 09:16:53 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=Z1UOoeQKCxYwIfKCYq0A:9 a=65sFI8CvKIg5ZxEf6SgA:7 a=L5yuOhafPm41-rTcNX_ie-2hqpgA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 80488029; Sun, 30 Jan 2011 10:16:52 +0100 From: Hans Petter Selasky To: freebsd-arch@freebsd.org Date: Sun, 30 Jan 2011 10:16:55 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201101291032.35544.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101301016.55633.hselasky@c2i.net> Cc: Subject: Re: ofed merge soon X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 09:16:55 -0000 On Sunday 30 January 2011 08:44:45 Jeff Roberson wrote: > On Sat, 29 Jan 2011, Hans Petter Selasky wrote: > > Hi, > > > > Just a comment: > > > > + > > +#define DEFINE_MUTEX(lock) \ > > + mutex_t lock; \ > > + SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS) > > + > > +static inline void > > +linux_mutex_init(mutex_t *m) > > +{ > > + > > + memset(&m->sx, 0, sizeof(m->sx)); > > + sx_init_flags(&m->sx, "lnxmtx", SX_NOWITNESS); > > +} > > + > > +#define mutex_init linux_mutex_init > > > > I see you workaround the fact that Linux does not destroy any mutexes by > > disabling witness. Do you have any plan to upgrade the Linux 3rd party > > code to destroy mutexes? > > It introduces too many diffs that are difficult to maintain. I don't > think it's viable. One option would be to tag the memory linux uses so > that when it's freed we reclaim any locks in it. You could scan the > witness tables for pointers within the free'd region fairly easily. It > wouldn't be pretty though. How about requiring that Linux code, once imported, must destroy it's mutexes? --HPS From owner-freebsd-arch@FreeBSD.ORG Sun Jan 30 12:24:14 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29FBB106566B for ; Sun, 30 Jan 2011 12:24:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id DFED28FC1C for ; Sun, 30 Jan 2011 12:24:13 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p0UCC8Qn006948; Sun, 30 Jan 2011 07:12:08 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Sun, 30 Jan 2011 07:12:08 -0500 (EST) Date: Sun, 30 Jan 2011 07:12:08 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Hans Petter Selasky In-Reply-To: <201101301016.55633.hselasky@c2i.net> Message-ID: References: <201101291032.35544.hselasky@c2i.net> <201101301016.55633.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arch@freebsd.org Subject: Re: ofed merge soon X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 12:24:14 -0000 On Sun, 30 Jan 2011, Hans Petter Selasky wrote: > On Sunday 30 January 2011 08:44:45 Jeff Roberson wrote: >> On Sat, 29 Jan 2011, Hans Petter Selasky wrote: >>> Hi, >>> >>> Just a comment: >>> >>> + >>> +#define DEFINE_MUTEX(lock) \ >>> + mutex_t lock; \ >>> + SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS) >>> + >>> +static inline void >>> +linux_mutex_init(mutex_t *m) >>> +{ >>> + >>> + memset(&m->sx, 0, sizeof(m->sx)); >>> + sx_init_flags(&m->sx, "lnxmtx", SX_NOWITNESS); >>> +} >>> + >>> +#define mutex_init linux_mutex_init >>> >>> I see you workaround the fact that Linux does not destroy any mutexes by >>> disabling witness. Do you have any plan to upgrade the Linux 3rd party >>> code to destroy mutexes? >> >> It introduces too many diffs that are difficult to maintain. I don't >> think it's viable. One option would be to tag the memory linux uses so >> that when it's freed we reclaim any locks in it. You could scan the >> witness tables for pointers within the free'd region fairly easily. It >> wouldn't be pretty though. > > How about requiring that Linux code, once imported, must destroy it's mutexes? Or add a mutex_destroy for all OS's, and make it a noop for Linux. Then there are no diffs to maintain... -- DE From owner-freebsd-arch@FreeBSD.ORG Sun Jan 30 12:44:32 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E99051065670; Sun, 30 Jan 2011 12:44:32 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id A3B638FC16; Sun, 30 Jan 2011 12:44:32 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p0UCTKnm037762 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 30 Jan 2011 04:29:31 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4D4559A2.7040601@freebsd.org> Date: Sun, 30 Jan 2011 04:29:22 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Daniel Eischen References: <201101291032.35544.hselasky@c2i.net> <201101301016.55633.hselasky@c2i.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org, Hans Petter Selasky Subject: Re: ofed merge soon X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 12:44:33 -0000 On 1/30/11 4:12 AM, Daniel Eischen wrote: > On Sun, 30 Jan 2011, Hans Petter Selasky wrote: > >> On Sunday 30 January 2011 08:44:45 Jeff Roberson wrote: >>> On Sat, 29 Jan 2011, Hans Petter Selasky wrote: >>>> Hi, >>>> >>>> Just a comment: >>>> >>>> + >>>> +#define >>>> DEFINE_MUTEX(lock) \ >>>> + mutex_t >>>> lock; \ >>>> + SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS) >>>> + >>>> +static inline void >>>> +linux_mutex_init(mutex_t *m) >>>> +{ >>>> + >>>> + memset(&m->sx, 0, sizeof(m->sx)); >>>> + sx_init_flags(&m->sx, "lnxmtx", SX_NOWITNESS); >>>> +} >>>> + >>>> +#define mutex_init linux_mutex_init >>>> >>>> I see you workaround the fact that Linux does not destroy any >>>> mutexes by >>>> disabling witness. Do you have any plan to upgrade the Linux 3rd >>>> party >>>> code to destroy mutexes? >>> >>> It introduces too many diffs that are difficult to maintain. I don't >>> think it's viable. One option would be to tag the memory linux >>> uses so >>> that when it's freed we reclaim any locks in it. You could scan the >>> witness tables for pointers within the free'd region fairly >>> easily. It >>> wouldn't be pretty though. >> >> How about requiring that Linux code, once imported, must destroy >> it's mutexes? > > Or add a mutex_destroy for all OS's, and make it a noop > for Linux. Then there are no diffs to maintain... the upstream source is linux only code and they do not accept non linux patches. From owner-freebsd-arch@FreeBSD.ORG Mon Jan 31 03:41:20 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2940D1065672; Mon, 31 Jan 2011 03:41:20 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF6B18FC2A; Mon, 31 Jan 2011 03:41:19 +0000 (UTC) Received: by qwj9 with SMTP id 9so4917450qwj.13 for ; Sun, 30 Jan 2011 19:41:18 -0800 (PST) Received: by 10.224.135.232 with SMTP id o40mr5799884qat.392.1296445278050; Sun, 30 Jan 2011 19:41:18 -0800 (PST) Received: from [10.0.1.198] ([72.253.42.56]) by mx.google.com with ESMTPS id t7sm14503556qcs.4.2011.01.30.19.41.14 (version=SSLv3 cipher=RC4-MD5); Sun, 30 Jan 2011 19:41:16 -0800 (PST) Date: Sun, 30 Jan 2011 17:44:15 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Julian Elischer In-Reply-To: <4D4559A2.7040601@freebsd.org> Message-ID: References: <201101291032.35544.hselasky@c2i.net> <201101301016.55633.hselasky@c2i.net> <4D4559A2.7040601@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Daniel Eischen , Hans Petter Selasky , freebsd-arch@freebsd.org Subject: Re: ofed merge soon X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 03:41:20 -0000 On Sun, 30 Jan 2011, Julian Elischer wrote: > On 1/30/11 4:12 AM, Daniel Eischen wrote: >> On Sun, 30 Jan 2011, Hans Petter Selasky wrote: >> >>> On Sunday 30 January 2011 08:44:45 Jeff Roberson wrote: >>>> On Sat, 29 Jan 2011, Hans Petter Selasky wrote: >>>>> Hi, >>>>> >>>>> Just a comment: >>>>> >>>>> + >>>>> +#define DEFINE_MUTEX(lock) >>>>> \ >>>>> + mutex_t lock; >>>>> \ >>>>> + SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS) >>>>> + >>>>> +static inline void >>>>> +linux_mutex_init(mutex_t *m) >>>>> +{ >>>>> + >>>>> + memset(&m->sx, 0, sizeof(m->sx)); >>>>> + sx_init_flags(&m->sx, "lnxmtx", SX_NOWITNESS); >>>>> +} >>>>> + >>>>> +#define mutex_init linux_mutex_init >>>>> >>>>> I see you workaround the fact that Linux does not destroy any mutexes by >>>>> disabling witness. Do you have any plan to upgrade the Linux 3rd party >>>>> code to destroy mutexes? >>>> >>>> It introduces too many diffs that are difficult to maintain. I don't >>>> think it's viable. One option would be to tag the memory linux uses so >>>> that when it's freed we reclaim any locks in it. You could scan the >>>> witness tables for pointers within the free'd region fairly easily. It >>>> wouldn't be pretty though. >>> >>> How about requiring that Linux code, once imported, must destroy it's >>> mutexes? >> >> Or add a mutex_destroy for all OS's, and make it a noop >> for Linux. Then there are no diffs to maintain... > > the upstream source is linux only code and they do not accept non linux > patches. Julian's right. They won't accept anything. There is also the problem that their locks have no names and witness requires a name. We'd have to name them by address or something similarly hacky and this then leaves holes in what witness can discover. Fortunately, they have their own lock order test tool (lockdep) and do their own order validation. The places where they cross over into FreeBSD are few and well contained. If we can assume that they get the locks right on their own platform and we get our locks correctly it's not so hard to manage the places that they meet. Thanks, Jeff > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > From owner-freebsd-arch@FreeBSD.ORG Tue Feb 1 14:55:33 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADCDE1065697; Tue, 1 Feb 2011 14:55:33 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id DC1A68FC0C; Tue, 1 Feb 2011 14:55:32 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 5284AE820B; Tue, 1 Feb 2011 14:55:31 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=QlOOSbq5+k9A 65ZWPHD+lfNwx7c=; b=aerCazZQPyeFOy1Sg69W7lzNLpSuZVklTQnOZ1+j2Dz2 BtNAj98VTO3tcU+RUHKiXqXs8eqYc9GYvn0lWjIRN2wvWsfcYIuDvuH+TgUyemlm d9qidAnBTVYYhZky9+OljRjxbx9RpgyKeqEYjpTL+XeBC4f5qOAFtrSryGQjJaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=SLn0jR CuPu7WWnjSRSW5VRyUbJyCjEiJAN3MfqNSXjKTeIDhCKE91ZQmQ0RMWhcSnMO8J7 QCXcWMzpilTQNUBykkTCmk+pYZB1MRX5nFTBC0jb5ebNJT505ALmwGuPqsxtfHtg 5pWP42eudQU3OlUlZ9Fg8mdHsfZAwUcR/wNAc= Received: from unknown (client-86-23-95-6.brhm.adsl.virginmedia.com [86.23.95.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id F0288E820A; Tue, 1 Feb 2011 14:55:30 +0000 (GMT) Date: Tue, 1 Feb 2011 14:55:27 +0000 From: Bruce Cran To: Nathan Whitehorn Message-ID: <20110201145527.000002d7@unknown> In-Reply-To: <4D3C8037.6040406@freebsd.org> References: <4D28EB32.9090807@freebsd.org> <4D3C8037.6040406@freebsd.org> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org, freebsd-sysinstall@freebsd.org, Garrett Cooper Subject: Re: BSDInstall ISO images X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 14:55:33 -0000 On Sun, 23 Jan 2011 13:23:35 -0600 Nathan Whitehorn wrote: > There's a help line at the bottom of the screen with this > information. Do you have a suggestion for making it more intuitive? > Dialog doesn't support drop-down menus, which is what I would > ordinarily use on this field. ae@ had a good idea with his sade project at svn://svn.freebsd.org/base/user/ae/usr.sbin/sade . It lists the available partition types in a list which the user can select from. > > - Home directory - /usr/home was the traditional home directory root > > for BSD I thought. I thought it was /home. If you don't have a separate /home partition then /home gets symlinked to /usr/home. But please don't set the homedir to /usr/home in /etc/passwd because that'll break systems where people put /home on a different disk. -- Bruce Cran From owner-freebsd-arch@FreeBSD.ORG Tue Feb 1 15:14:23 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FAE5106564A; Tue, 1 Feb 2011 15:14:23 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 95A8E8FC22; Tue, 1 Feb 2011 15:14:22 +0000 (UTC) Received: by bwz12 with SMTP id 12so6470174bwz.13 for ; Tue, 01 Feb 2011 07:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=g2Tt+IltGJOmnMKOLmr4HLy6l29iXpJjvC9BQ5HMf4I=; b=Q/asIRH8FIDVLBJrMco0goVCgKnfmu0p36MStX6+zwJLorHU2soRP00L3GTq6vFA0X 8VeseMIP3zAarkS7kH6YKm721elOKMeqh/fd771qKYSG+8AI/7fFSwVs1WBycBBwIpCP wnbSbqmb8xRclJ6+dD/rSoSrlq6sPanpPAW6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=Fn2dg0QyxAYFCJqjVA1TfsnNHua7qqM8FV/iVmS3Xu7GW+h08iMXMfFzOtYfQP+T+2 4K6Z1JeQE+i3SZ4eZqDO5QMhIwsoFPDNsy17/mKMnuZ8X3k+kbpvmoxgKuYXfS7wGeas XEsp/kXKzwzhvizCksMk7cwlX5nTuz7bG83Ys= Received: by 10.204.72.194 with SMTP id n2mr6772563bkj.128.1296573260111; Tue, 01 Feb 2011 07:14:20 -0800 (PST) Received: from ernst.jennejohn.org (p578E211A.dip.t-dialin.net [87.142.33.26]) by mx.google.com with ESMTPS id q18sm11029211bka.15.2011.02.01.07.14.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Feb 2011 07:14:19 -0800 (PST) Date: Tue, 1 Feb 2011 16:14:17 +0100 From: Gary Jennejohn To: Bruce Cran Message-ID: <20110201161417.2a1e6e7d@ernst.jennejohn.org> In-Reply-To: <20110201145527.000002d7@unknown> References: <4D28EB32.9090807@freebsd.org> <4D3C8037.6040406@freebsd.org> <20110201145527.000002d7@unknown> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-sysinstall@freebsd.org, Garrett Cooper , Nathan Whitehorn , freebsd-arch@freebsd.org Subject: Re: BSDInstall ISO images X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 15:14:23 -0000 On Tue, 1 Feb 2011 14:55:27 +0000 Bruce Cran wrote: > On Sun, 23 Jan 2011 13:23:35 -0600 > Nathan Whitehorn wrote: > > > - Home directory - /usr/home was the traditional home directory root > > > for BSD I thought. > > I thought it was /home. If you don't have a separate /home partition > then /home gets symlinked to /usr/home. But please don't set the > homedir to /usr/home in /etc/passwd because that'll break systems where > people put /home on a different disk. > +1 mine is on a separate partition. -- Gary Jennejohn From owner-freebsd-arch@FreeBSD.ORG Tue Feb 1 17:45:59 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8C89106564A for ; Tue, 1 Feb 2011 17:45:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7445C8FC16 for ; Tue, 1 Feb 2011 17:45:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id p11HgawQ050789 for ; Tue, 1 Feb 2011 10:42:36 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4D48460C.4080604@bsdimp.com> Date: Tue, 01 Feb 2011 10:42:36 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-arch@freebsd.org References: <4D28EB32.9090807@freebsd.org> <4D3C8037.6040406@freebsd.org> <20110201145527.000002d7@unknown> <20110201161417.2a1e6e7d@ernst.jennejohn.org> In-Reply-To: <20110201161417.2a1e6e7d@ernst.jennejohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: BSDInstall ISO images X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 17:45:59 -0000 On 02/01/2011 08:14, Gary Jennejohn wrote: > On Tue, 1 Feb 2011 14:55:27 +0000 > Bruce Cran wrote: > >> On Sun, 23 Jan 2011 13:23:35 -0600 >> Nathan Whitehorn wrote: >>>> - Home directory - /usr/home was the traditional home directory root >>>> for BSD I thought. >> I thought it was /home. If you don't have a separate /home partition >> then /home gets symlinked to /usr/home. But please don't set the >> homedir to /usr/home in /etc/passwd because that'll break systems where >> people put /home on a different disk. >> > +1 > > mine is on a separate partition. Mine too. I name the /home partition differently on all my boxes too, since it is hard to mount foo:/home and bar:/home on the box baz and have things in those trees that have absolute path names not fight each other. better to mount /foo and /bar on baz (and foo and/or bar). But maybe I'm just weird that way. Warner From owner-freebsd-arch@FreeBSD.ORG Tue Feb 1 17:50:36 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92BFE106566B for ; Tue, 1 Feb 2011 17:50:36 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6948FC24 for ; Tue, 1 Feb 2011 17:50:35 +0000 (UTC) Received: by eyf6 with SMTP id 6so3444635eyf.13 for ; Tue, 01 Feb 2011 09:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/DikGs0KA2hmNHp7RUFgK7aVThqXkyIyxoc7U3DYEeM=; b=l0Qz8/o+kyigm7WgEzLFO7qdSKmisyMtJP1c82eP8u5lB/CMZZzMonzZ2/dVAZsU5J H3CTV+pi3GP/tSHLta6jLUV1eY55p5CpC9Gb0oI+8eJMbEk2yrNc3m7GQ9j5I57GSKti 10Rc1UZUMZ5Yt2gJqA92+6aN3cox4HgahFe1Q= 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 :content-transfer-encoding; b=p/glJQZbf2snflnbH6w9s6tx3iwctIiHE1MXJh75pDcqNV1FUp2sygKFA17GAV1XC8 CG8FCTn4jLV1pwGu0MSmpIxNSOElRV+DDbd0JjvhSJ5rJ3OUTDGSM30br4V0NDJ1bQii iPHZIOMwmZWGvIPHwc7xieuk/vYDOZtw828fw= MIME-Version: 1.0 Received: by 10.216.3.3 with SMTP id 3mr979869weg.57.1296582634744; Tue, 01 Feb 2011 09:50:34 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.71.200 with HTTP; Tue, 1 Feb 2011 09:50:34 -0800 (PST) In-Reply-To: <4D48460C.4080604@bsdimp.com> References: <4D28EB32.9090807@freebsd.org> <4D3C8037.6040406@freebsd.org> <20110201145527.000002d7@unknown> <20110201161417.2a1e6e7d@ernst.jennejohn.org> <4D48460C.4080604@bsdimp.com> Date: Tue, 1 Feb 2011 09:50:34 -0800 X-Google-Sender-Auth: DZlSLF2cIe0WBfXgcMmB71e64to Message-ID: From: Garrett Cooper To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arch@freebsd.org Subject: Re: BSDInstall ISO images X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 17:50:36 -0000 On Tue, Feb 1, 2011 at 9:42 AM, Warner Losh wrote: > On 02/01/2011 08:14, Gary Jennejohn wrote: >> >> On Tue, 1 Feb 2011 14:55:27 +0000 >> Bruce Cran =A0wrote: >> >>> On Sun, 23 Jan 2011 13:23:35 -0600 >>> Nathan Whitehorn =A0wrote: >>>>> >>>>> - Home directory - /usr/home was the traditional home directory root >>>>> for BSD I thought. >>> >>> I thought it was /home. If you don't have a separate /home partition >>> then /home gets symlinked to /usr/home. =A0But please don't set the >>> homedir to /usr/home in /etc/passwd because that'll break systems where >>> people put /home on a different disk. >>> >> +1 >> >> mine is on a separate partition. > > Mine too. =A0I name the /home partition differently on all my boxes too, = since > it is hard to mount foo:/home and bar:/home on the box baz and have thing= s > in those trees that have absolute path names not fight each other. =A0bet= ter > to mount /foo and /bar on baz (and foo and/or bar). =A0But maybe I'm just > weird that way. $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0s1a 19G 223M 18G 1% / devfs 1.0K 1.0K 0B 100% /dev /dev/ada0s1h 786G 38G 685G 5% /scratch /dev/mfid0a 1.8T 432G 1.2T 25% /store /dev/ada0s1g 7.7G 124K 7.1G 0% /tmp /dev/ada0s1e 29G 8.1G 19G 30% /usr /dev/ada0s1f 29G 5.0G 22G 19% /usr/home /dev/ada0s1d 12G 725M 10G 7% /var /dev/md0 9.7G 1.0G 7.9G 11% /usr/obj linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc linsysfs 4.0K 4.0K 0B 100% /usr/compat/linux/sys procfs 4.0K 4.0K 0B 100% /proc I separate out /usr/home out of habit :). Thanks, -Garrett