From owner-freebsd-questions@freebsd.org Mon Jun 24 23:57:47 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 40B8615DC689 for ; Mon, 24 Jun 2019 23:57:47 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0086C8DF20 for ; Mon, 24 Jun 2019 23:57:45 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x836.google.com with SMTP id a15so16485914qtn.7 for ; Mon, 24 Jun 2019 16:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eM2U7dFOclc/CDYIkXZpwptwIsIo2tQB6x9WK03MEQA=; b=qBE8G3T6GQyPIeSwbTx0tOAykdZpUV9r/IHvdFCaCRjoey6rTgsqMvw/xRDFs7Q4Nw ZBBvs/p0F0iXkVZ0fIFKyStQIR/8k1zkNabQ+nD7KLeyUxzszP7+H4Iz7AODd8OPBAOj Zi+mI7S6JGAbVZLIgzd+HVNAQjWCjjxD3QXTMFGuSRQHV1JrS1l3anAwFfAoinWoXN1+ VmVJA+D4ojAFbBZX1b6BP93LcNm1C9fq5kzG85gD6lQ9kD7g0yW6IIEfzPJGN/1IV8fd CmKUxo4136kFqF5WB5FSXeO4SvTBe9DCau5eHWAGGipuGZ6IeKixWC27/L9QDAqGTAio tf1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eM2U7dFOclc/CDYIkXZpwptwIsIo2tQB6x9WK03MEQA=; b=h/l+M4LK+DPrbSRA96l7puTRfhS+4S+ejl+G+D7JN/RnwX0lanRToS/FdNj9u5XSoi pnyx+gGOYrGdm1wx4Tx9TSRAoFjV/HFwPPgFkxGGDVdn1Vx4EALDlFsmZJs54Qwcz0V6 GalfW2arUaA9BTRITC3GrjEzarz6iFyh73w/1CkiKh6KzldwP2Jmu/kDs6ZxUPsJdGUA arqTE2nTcQ/6VHWcKAbS2gJfV1rrn9wPbuJ2Fvg/9fp1n2ANVp60rIgYLi2NQespI6Ul 5JhBErlzUywEHWxIuZoxwQERxQFjHn6JSGzdpN4ZIERbpf1xaiCLVMOinTBlsME6Q7pa WLQg== X-Gm-Message-State: APjAAAWEafalwfXMfccEpBH95K7EP591hHGoE8Ua4RY56DhmbOkwDyvs SvEV2ZLz1KruF7+c/KBoY4jWwHa+EONGM5aGCQS4AP+Q1JF0Lg== X-Google-Smtp-Source: APXvYqwPN71vJqRNv46XrwHeKMmhvDXhhL2NkZcmRTJOXWqBZLCtUzL0JngjaRyaGFrdINYRIhelek7Q1h67P7KVggg= X-Received: by 2002:aed:2241:: with SMTP id o1mr120280394qtc.233.1561420665301; Mon, 24 Jun 2019 16:57:45 -0700 (PDT) MIME-Version: 1.0 References: <2214.1561413756@segfault.tristatelogic.com> In-Reply-To: <2214.1561413756@segfault.tristatelogic.com> From: Michael Sierchio Date: Mon, 24 Jun 2019 16:57:09 -0700 Message-ID: Subject: Re: Can I recreate my .snap directories ? To: "Ronald F. Guilmette" Cc: FreeBSD Questions X-Rspamd-Queue-Id: 0086C8DF20 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=qBE8G3T6 X-Spamd-Result: default: False [-5.19 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; IP_SCORE(-2.97)[ip: (-9.30), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx2.googlemail.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.912,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 23:57:47 -0000 It's just a directory. mkdir -p /.snap /usr/.snap /var/.snap chown root:operator /.snap /usr/.snap /var/.snap chmod 775 /.snap /usr/.snap /var/.snap On Mon, Jun 24, 2019 at 3:05 PM Ronald F. Guilmette wrote: > 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? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata