VND and harddiscs have their own defect free space management.
This commit is contained in:
parent
d78e2d9ed2
commit
979954f179
|
@ -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
|
* Copyright (c) 2006 Reinoud Zandijk
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
|
||||||
|
@ -484,7 +484,7 @@ udf_update_discinfo(struct udf_mount *ump)
|
||||||
di->link_block_penalty = 0;
|
di->link_block_penalty = 0;
|
||||||
|
|
||||||
di->mmc_cur = MMC_CAP_RECORDABLE | MMC_CAP_REWRITABLE |
|
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->mmc_cap = di->mmc_cur;
|
||||||
di->disc_flags = MMC_DFLAGS_UNRESTRICTED;
|
di->disc_flags = MMC_DFLAGS_UNRESTRICTED;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue