Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 16:57:09 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Can I recreate my .snap directories ?
Message-ID:  <CAHu1Y702UxMiFURL56-CrLUz%2B4SEPLirsYZXBz1B8=_x6rWUKw@mail.gmail.com>
In-Reply-To: <2214.1561413756@segfault.tristatelogic.com>
References:  <2214.1561413756@segfault.tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rfg@tristatelogic.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y702UxMiFURL56-CrLUz%2B4SEPLirsYZXBz1B8=_x6rWUKw>