From owner-freebsd-questions@FreeBSD.ORG Fri Sep 5 03:35:48 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32F8A47C for ; Fri, 5 Sep 2014 03:35:48 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD7151FAC for ; Fri, 5 Sep 2014 03:35:47 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id hz20so13118983lab.31 for ; Thu, 04 Sep 2014 20:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pkWOsjCdaeOvNPh9mRXTeEW/m3g00bi33CrHC5FuhbY=; b=x8nVgxUcM3XIKtNZ6Sp002eYse77Wk3EdgIBYwQkDggJJgMNzXSnhTZkpTYMJ3S1mN yLqHqkTMsUKDXn77mZ/iD+iNmbItqIM7ZuURssXKEtcA3KNIhMNcer0zEi9iyhVfy8e1 HP9p0p4ObSZU/jdR9HOHCrMSZNeYy8xcrEsHD1ufxqdKyKtgAUX1rH0asxWjhDqHXNz5 GfC8SiPoEZ9mwoc+/lLO2dFXORVGtDnHbz+0gnGO3paPxZHVqDLBJw+zhNcoDwq6+dKg cCJJS2dRXAHNBa3sR+5Ti9dDZPfZ4ZeJFHXuvCkRd2CsLz8NDTJUwjHfuQtOYTmEsfu0 K8iQ== MIME-Version: 1.0 X-Received: by 10.112.19.70 with SMTP id c6mr8411641lbe.20.1409888145541; Thu, 04 Sep 2014 20:35:45 -0700 (PDT) Received: by 10.25.44.202 with HTTP; Thu, 4 Sep 2014 20:35:45 -0700 (PDT) In-Reply-To: <20140905030813.GA52942@admin.sibptus.tomsk.ru> References: <20140904150739.GA42707@admin.sibptus.tomsk.ru> <20140904153042.GA42968@admin.sibptus.tomsk.ru> <448ulz5ps3.fsf@be-well.ilk.org> <20140905030813.GA52942@admin.sibptus.tomsk.ru> Date: Thu, 4 Sep 2014 22:35:45 -0500 Message-ID: Subject: Re: /etc on a separate filesystem ? From: Adam Vande More To: Victor Sudakov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 03:35:48 -0000 On Thu, Sep 4, 2014 at 10:08 PM, Victor Sudakov wrote: > Adam Vande More wrote: > > > > > > > Michael Sierchio wrote: > > > >> > Is it possible to keep /etc on a separate filesystem? > > > >> No. /etc/fstab, among other things > > > > > > > > That's why I am asking. > > > > > > It kind of depends on *why* you're asking. > > > > > > Sounds an awful lot like an XY problem to me. > > That's fair. Let me explain my purpose. I have created a LiveUSB for > testing and hardware diagnostics with dualboot: FreeBSD amd64 and > i386. I was looking for a way for them to share a common /etc. > > If there is no easy way, I can rsync changes of /etc from one system > to another on shutdown, or find something else. That is a better description. If this tool is going to be confined to a network you have control over, doing a diskless mount on /etc may be sufficient. Otherwise unison does FS synchronization, or you could take a more targeted approach with rcs(1). -- Adam