From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: LVM support Date: Tue, 19 May 2015 12:32:44 +0200 Message-ID: <871tickgc3.fsf@gnu.org> References: <20150415050756.GC6648@venom> <878udt1sj5.fsf@gnu.org> <20150416062401.GD6648@venom> <87twwgxmrr.fsf@gnu.org> <20150417010911.GA610@venom> <87h9s9h41q.fsf@gnu.org> <20150501113230.GA1818@venom> <8761891lfq.fsf@gnu.org> <20150507080243.GA1683@venom.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuiEz-0004sH-Kz for guix-devel@gnu.org; Tue, 19 May 2015 10:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuiEv-0004MT-FH for guix-devel@gnu.org; Tue, 19 May 2015 10:11:29 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuiEv-0004MM-CG for guix-devel@gnu.org; Tue, 19 May 2015 10:11:25 -0400 Received: from eduroam-65-217.loria.fr ([152.81.65.217]:56815 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YuiEu-0007IQ-Tc for guix-devel@gnu.org; Tue, 19 May 2015 10:11:25 -0400 In-Reply-To: <20150507080243.GA1683@venom.lan> (=?utf-8?B?IlRvbcOhxaEgxIxl?= =?utf-8?B?Y2giJ3M=?= message of "Thu, 7 May 2015 10:02:43 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Tom=C3=A1=C5=A1 =C4=8Cech skribis: > On Sun, May 03, 2015 at 09:59:53PM +0200, Ludovic Court=C3=A8s wrote: [...] >>Could you send an updated patch? It sounds like we=E2=80=99re almost the= re, >>I guess. > > Not there yet. Now I need to make some changes with mounting order to help > non-root filesystems on LVM volume. > > Right now it seems it tries to: > 1] mount all filesystems > 2] run udev Right. > But I need to make it: > 1] mount /dev > 2] run udev service (with the `udevadm settle' in the end) > 3] mount the rest of filesystems OK. Note that =E2=80=98file-system-service=E2=80=99 has a #:requirements parame= ter, which is where we could pass '(udev). But maybe some of the file systems defined in (gnu system file-systems) need to be mounted before udev is started. You=E2=80=99ll have to try. ;-) > It seems that /sys and /proc is mounted already from initrd phase using > mount-essential-file-systems. Is there reason not to put /dev there as we= ll? The reason to do it this way is that it avoids another special case. That said, in practice /dev is mounted from the initrd because %devtmpfs-file-system has =E2=80=98needed-for-boot?=E2=80=99 set. > I see none so I'll try to add /dev filesystem mounting there (and to > move-essential-file-systems) and remove it from %base-file-systems. I don=E2=80=99t think this is necessary. Thanks, Ludo=E2=80=99.