From owner-freebsd-questions@freebsd.org Mon Jun 24 22:02:39 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31A0515DABCB for ; Mon, 24 Jun 2019 22:02:39 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 426C38B266 for ; Mon, 24 Jun 2019 22:02:38 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 7EA374E64C; Mon, 24 Jun 2019 15:02:36 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Can I recreate my .snap directories ? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2213.1561413756.1@segfault.tristatelogic.com> Date: Mon, 24 Jun 2019 15:02:36 -0700 Message-ID: <2214.1561413756@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 426C38B266 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-5.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; SUBJECT_ENDS_QUESTION(1.00)[]; MX_GOOD(-0.01)[cached: mx1.tristatelogic.com]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; IP_SCORE(-2.91)[ip: (-7.64), ipnet: 69.62.128.0/17(-3.82), asn: 14051(-3.03), country: US(-0.06)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 22:02:39 -0000 I was looking at my various UFS filesystems and noticed each one had a .snap directory. I did some small amount of reading about the purpose of these online and was (incorrectly) persuaded that they had relevance only to people using dump/restore for backups which I personally don't use. So I went 'round and deleted each one from each of my UFS filesystems. In short, I bozo'd it. Now I just read the newfs man page, and the description of the -n option, and I see that these .snap directories are needed to support background fsck. So, can I just recreate them all, on my existing USF filesystems, i.e. via mkdir, and then setting the proper owner, group, and permissions? I mean they don't need to appear first in the relevant directory files or anything special like that, do they?