Subject: CVS commit: src/sys/ufs/ffs
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/10/2005 22:22:32
Module Name: src
Committed By: dsl
Date: Thu Feb 10 22:22:32 UTC 2005
Added Files:
src/sys/ufs/ffs: ffs_snapshot_stub.c
Log Message:
Add a stub file so that snapshot support can be compiled out.
Will allow INSTALL_TINY to fit back in its designated space.
Since the calling code doesn't allow a snapshot mount to fail, this code
will output a warning and delete any snapshots it finds.
This only happend on rw mounts - snapshots don't seem to be created
when mounting ro.
The whole way the snapshots gets mounted is a PITA anyway, the superblock
'last mounted' time should be used to validate that the fs hasn't been
mounted elsewhere.
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/ufs/ffs/ffs_snapshot_stub.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.