From owner-freebsd-current Thu Oct 4 9:17:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from fepA.post.tele.dk (fepA.post.tele.dk [195.41.46.143]) by hub.freebsd.org (Postfix) with ESMTP id 3755B37B401 for ; Thu, 4 Oct 2001 09:17:17 -0700 (PDT) Received: from arnold.neland.dk ([62.243.124.200]) by fepA.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with ESMTP id <20011004161715.TJHF1168.fepA.post.tele.dk@arnold.neland.dk>; Thu, 4 Oct 2001 18:17:15 +0200 Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.6/8.11.6) with ESMTP id f94GHDM60387; Thu, 4 Oct 2001 18:17:18 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Thu, 4 Oct 2001 18:17:13 +0200 (CEST) From: Leif Neland To: Jun Kuriyama Cc: Bernd Walter , Subject: Re: named pid file in /var/run/named/pid? In-Reply-To: <7md743mtp2.wl@waterblue.imgsrc.co.jp> Message-ID: <20011004181305.B57424-100000@arnold.neland.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 4 Oct 2001, Jun Kuriyama wrote: > At Thu, 4 Oct 2001 11:21:19 +0000 (UTC), > Bernd Walter wrote: > > I run an md based filesystem for /var/run so it is empty after startup. > > Does that mean that I also need to take care of creating directories in > > it during boot - and maintaining myself on every box. > > Or it it the responsibility of the programms to enshure that the > > directories they need are created? > > /var/run/named is created by mtree (/etc/mtree/BSD.var.dist). If you > want to use md(4) for /var/run, you should make directory after > /var/run creation. Is it possible to make the md-filesystem automatically make the needed subdirectories, when a program wants to create /var/run/a/very/deeply/nested/file ? Or would that just be too ugly, mixing device drivers with high-level file operations? Guess so.. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message