Re: kern/60456: FFS_NO_SNAPSHOT option is not entirely effective

"Taylor R Campbell via gnats" <[email protected]> Sat, 18 Jul 2026 19:55:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR kern/60456; it has been noted by GNATS.

From: Taylor R Campbell <[email protected]>
To: Jason Thorpe <[email protected]>
Cc: "J. Hannken-Illjes" <[email protected]>,
	[email protected],
	[email protected]
Subject: Re: kern/60456: FFS_NO_SNAPSHOT option is not entirely effective
Date: Sat, 18 Jul 2026 19:51:35 +0000

 Perhaps we should have an option that elides all of the file system
 snapshot code, but adds a small check so that if you try to mount a
 file system with any snapshots, it refuses to mount read/write -- only
 allows mounting file systems with snapshots read-only, so that you
 won't inadvertently corrupt the snapshots.
 
 (That said: it's really nice to have fs-internal snapshots, for
 reliable backups and for system updates, without having to rely on a
 snapshot mechanism for the storage medium.  Maybe if you're just
 running a VM, or you're booting from an SD card that you can easily
 swap, none of that matters, but if the storage medium itself isn't
 easily snapshottable or swappable, ffs snapshots are very useful.)