From owner-freebsd-current@FreeBSD.ORG Thu Jul 10 13:58:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB31537B401 for ; Thu, 10 Jul 2003 13:58:56 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B18843F75 for ; Thu, 10 Jul 2003 13:58:55 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h6AKwnw20728; Thu, 10 Jul 2003 17:58:49 -0300 Message-ID: <3F0DD389.8000302@tcoip.com.br> Date: Thu, 10 Jul 2003 17:58:49 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030702 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Poul-Henning Kamp References: <4173.1057869071@critter.freebsd.dk> In-Reply-To: <4173.1057869071@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: FreeBSD-rc@yahoogroups.com Subject: Re: support for mounting md(4) based filesystem at boot [PATCHES] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 10 Jul 2003 20:58:57 -0000 Poul-Henning Kamp wrote: > >>Bah. Add a prerequisites field to fstab with all the filesystems that >>must be mounted before that one can be mounted. > > > That's not enough. > > I have filesystems I don't want fscked/mounted until after sshd > will accept my login for instance (I hate waiting for a fsck of > /home/ncvs...) (Yes yes yes, bgfsck improves things a bit). > > Please don't hack /etc/fstab yet another time, please try to do > it in a future-proof way (which doesn't suck) I should have waited a bit before replying (after all, the message was from 22th last month anyway). Your next reply on the thread enlightened me to the scope of the problem. Having a different script for each fs in rc.d would enable one to deal with such problems. Want a fs to have a particular dependency? Edit the script and add it. But then we would have many files to deal with the fs, and very verbose at that, not to mention easy to misconfigure. We could teach some tool to edit them, but we would be back to teaching some program about all filesystems. It fails the "doesn't suck" requirement, but, as I said, it is food for thought. Whatever we chose, I think filesystems should be something that can be dependencies and depended on for rc.d ordering. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net After all my erstwhile dear, My no longer cherished, Need we say it was not love, Just because it perished? -- Edna St. Vincent Millay