Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 15:02:36 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   Can I recreate my .snap directories ?
Message-ID:  <2214.1561413756@segfault.tristatelogic.com>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2214.1561413756>