Disable read/write mounting for metadatapartition since attempts to delete
files now corrupt the image due to the lack of allocation scheme support.
This commit is contained in:
parent
30c78783eb
commit
93d7f858ba
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: udf_subr.c,v 1.53 2008/06/25 15:59:24 reinoud Exp $ */
|
||||
/* $NetBSD: udf_subr.c,v 1.54 2008/06/25 16:06:29 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006, 2008 Reinoud Zandijk
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.53 2008/06/25 15:59:24 reinoud Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.54 2008/06/25 16:06:29 reinoud Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
|
||||
@ -2935,7 +2935,7 @@ udf_read_metadata_nodes(struct udf_mount *ump, union udf_pmap *mapping)
|
||||
}
|
||||
} else {
|
||||
/* mounting read/write */
|
||||
if (error)
|
||||
/* if (error) */
|
||||
error = EROFS;
|
||||
}
|
||||
DPRINTFIF(VOLUMES, error, ("udf mount: failed to read "
|
||||
|
Loading…
Reference in New Issue
Block a user