From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 02:20:30 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD201065675 for ; Wed, 14 Jan 2009 02:20:30 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9C18FC1E for ; Wed, 14 Jan 2009 02:20:30 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-001-114.pools.arcor-ip.net [88.66.1.114]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1LMvMr1YKQ-0003HQ; Wed, 14 Jan 2009 03:20:29 +0100 Received: (qmail 6193 invoked from network); 14 Jan 2009 02:20:28 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by laiers.local with SMTP; 14 Jan 2009 02:20:28 -0000 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Wed, 14 Jan 2009 03:20:28 +0100 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: <20090113210716.GI41799@obiwan.tataz.chchile.org> <20090113212355.GG2247@deviant.kiev.zoral.com.ua> <20090114011055.GK41799@obiwan.tataz.chchile.org> In-Reply-To: <20090114011055.GK41799@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901140320.28524.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18J9zROyqoLtqL3GDXz4L24u/FsuFaNpvKG8ZU pMoBZftPAG62jVEEB8IjIsY03WTY/s6HCubWx8dGV649wRxE2q M5iAzEi9TmF1bNYjTVRBw== Cc: Kostik Belousov , Jeremie Le Hen Subject: Re: fstab type "dp" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 02:20:31 -0000 On Wednesday 14 January 2009 02:10:55 Jeremie Le Hen wrote: > Dear Kostik, > > On Tue, Jan 13, 2009 at 11:23:55PM +0200, Kostik Belousov wrote: > > What are the supposed advantages of this approach over the dumpdev > > variable in rc.conf ? I see that having whole partition usage > > configuration in fstab is natural, so the idea of the patch is > > probably right. > > This is exactly the point. fstab(5) will describe every partition > usage. > > > One the other hand, is it possible to enchance > > this to allow specification of the swap partition that is also > > a dump partition, in fstab ? > > Well, actually I think it makes more sense to automatically add "dp" > device as swap. You will find an updated patch attached where swapon(8) > has been modified to implement this behaviour. Is it better now? I don't agree here. The point of having a dedicated dump device could be to not overwrite the state of the swap when dumping core. In addition, a dump device could double as a place for suspend to disk if/when we implement this - in this scenario it would also be required that the dump device does not hold valuable swap data. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News