Can I recreate my .snap directories ?

Michael Sierchio kudzu at tenebras.com
Mon Jun 24 23:57:47 UTC 2019


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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


-- 

"Well," Brahmā said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata


More information about the freebsd-questions mailing list