Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/udf VND and harddiscs have their own defect free spac...



details:   https://anonhg.NetBSD.org/src/rev/177c5b724d0f
branches:  trunk
changeset: 588009:177c5b724d0f
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Feb 04 23:21:43 2006 +0000

description:
VND and harddiscs have their own defect free space management.

diffstat:

 sys/fs/udf/udf_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9d2808f9c79d -r 177c5b724d0f sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c     Sat Feb 04 23:14:48 2006 +0000
+++ b/sys/fs/udf/udf_subr.c     Sat Feb 04 23:21:43 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.3 2006/02/04 21:29:11 reinoud Exp $ */
+/* $NetBSD: udf_subr.c,v 1.4 2006/02/04 23:21:43 reinoud Exp $ */
 
 /*
  * Copyright (c) 2006 Reinoud Zandijk
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: udf_subr.c,v 1.3 2006/02/04 21:29:11 reinoud Exp $");
+__RCSID("$NetBSD: udf_subr.c,v 1.4 2006/02/04 23:21:43 reinoud Exp $");
 #endif /* not lint */
 
 
@@ -484,7 +484,7 @@
        di->link_block_penalty  = 0;
 
        di->mmc_cur     = MMC_CAP_RECORDABLE | MMC_CAP_REWRITABLE |
-               MMC_CAP_ZEROLINKBLK;
+               MMC_CAP_ZEROLINKBLK | MMC_CAP_HW_DEFECTFREE;
        di->mmc_cap    = di->mmc_cur;
        di->disc_flags = MMC_DFLAGS_UNRESTRICTED;
 



Home | Main Index | Thread Index | Old Index