Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/rm Adjust comment to indicate what this code is actually...
details: https://anonhg.NetBSD.org/src/rev/bb30ee849227
branches: trunk
changeset: 557514:bb30ee849227
user: tls <tls%NetBSD.org@localhost>
date: Sun Jan 11 02:17:12 2004 +0000
description:
Adjust comment to indicate what this code is actually useful for, and that
it's not really "cheap".
diffstat:
bin/rm/rm.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 7fe2175ce3de -r bb30ee849227 bin/rm/rm.c
--- a/bin/rm/rm.c Sun Jan 11 02:13:14 2004 +0000
+++ b/bin/rm/rm.c Sun Jan 11 02:17:12 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rm.c,v 1.40 2004/01/11 02:04:05 tls Exp $ */
+/* $NetBSD: rm.c,v 1.41 2004/01/11 02:17:12 tls Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994, 2003
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)rm.c 8.8 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: rm.c,v 1.40 2004/01/11 02:04:05 tls Exp $");
+__RCSID("$NetBSD: rm.c,v 1.41 2004/01/11 02:17:12 tls Exp $");
#endif
#endif /* not lint */
@@ -314,8 +314,9 @@
* rm_overwrite --
* Overwrite the file 3 times with varying bit patterns.
*
- * This is a cheap way to *really* delete files. Note that only regular
- * files are deleted, directories (and therefore names) will remain.
+ * This is an expensive way to keep people from recovering files from your
+ * non-snapshotted FFS filesystems using fsdb(8). Really. No more. Only
+ * regular files are deleted, directories (and therefore names) will remain.
* Also, this assumes a fixed-block file system (like FFS, or a V7 or a
* System V file system). In a logging file system, you'll have to have
* kernel support.
Home |
Main Index |
Thread Index |
Old Index