Can I recreate my .snap directories ?

Thomas Mueller mueller6722 at twc.com
Tue Jun 25 19:25:43 UTC 2019


from Valeri Galtsev:

> On 2019-06-24 19:47, Thomas Mueller wrote:
> > from Michael Sierchio:
       
> > > 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
       
> > Where do you get /usr/.snap and /var/.snap ?
       
> > I have seen /.snap in FreeBSD but never /usr/.snap or /var/.snap .
        
> Every mount point with UFS-2 mounted will have .snap directory. No places that
> are not actually mount points with UFS-2 mounted should not have .snap
> directories (ideally). Sometimes people do rsync and .snap sneak in from the
> place with different mount points structure...

> Valeri

UFS-1 or 2 file system created by NetBSD would not have .snap directory.

But I can see where a .snap directory coud sneak in through rsync. 

Tom



More information about the freebsd-questions mailing list