Can I recreate my .snap directories ?
Thomas Mueller
mueller6722 at twc.com
Wed Jun 26 05:55:41 UTC 2019
from Polytropon:
> On Tue, 25 Jun 2019 19:25:21 +0000, Thomas Mueller wrote:
> > UFS-1 or 2 file system created by NetBSD would not have .snap directory.
> FreeBSD's newfs supports the following option:
> -n Do not create a .snap directory on the new file system. The
> resulting file system will not support snapshot generation, so
> dump(8) in live mode and background fsck(8) will not function
> properly. The traditional fsck(8) and offline dump(8) will work
> on the file system. This option is intended primarily for memory
> or vnode-backed file systems that do not require dump(8) or
> fsck(8) support.
> This limits the use of dump and fsck, but if you're not using those
> specific features, .snap won't be needed.
NetBSD fsck_ffs works on UFS-1 or 2 file system, lack of .snap directory is no impediment.
I have rescued FreeBSD file systems by booting into NetBSD and running their fsck_ffs when fsck_ffs from FreeBSD was not good enough.
Tom
More information about the freebsd-questions
mailing list