summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c10
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c10
2 files changed, 14 insertions, 6 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 5830f03..df1a628 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -428,7 +428,8 @@ iso_mountfs(devvp, mp, td)
if (high_sierra) {
/* this effectively ignores all the mount flags */
- log(LOG_INFO, "cd9660: High Sierra Format\n");
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: High Sierra Format\n");
isomp->iso_ftype = ISO_FTYPE_HIGH_SIERRA;
} else
switch (isomp->im_flags&(ISOFSMNT_NORRIP|ISOFSMNT_GENS)) {
@@ -439,7 +440,8 @@ iso_mountfs(devvp, mp, td)
isomp->iso_ftype = ISO_FTYPE_9660;
break;
case 0:
- log(LOG_INFO, "cd9660: RockRidge Extension\n");
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: RockRidge Extension\n");
isomp->iso_ftype = ISO_FTYPE_RRIP;
break;
}
@@ -447,7 +449,9 @@ iso_mountfs(devvp, mp, td)
/* Decide whether to use the Joliet descriptor */
if (isomp->iso_ftype != ISO_FTYPE_RRIP && joliet_level) {
- log(LOG_INFO, "cd9660: Joliet Extension (Level %d)\n", joliet_level);
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: Joliet Extension (Level %d)\n",
+ joliet_level);
rootp = (struct iso_directory_record *)
sup->root_directory_record;
bcopy (rootp, isomp->root, sizeof isomp->root);
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 5830f03..df1a628 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -428,7 +428,8 @@ iso_mountfs(devvp, mp, td)
if (high_sierra) {
/* this effectively ignores all the mount flags */
- log(LOG_INFO, "cd9660: High Sierra Format\n");
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: High Sierra Format\n");
isomp->iso_ftype = ISO_FTYPE_HIGH_SIERRA;
} else
switch (isomp->im_flags&(ISOFSMNT_NORRIP|ISOFSMNT_GENS)) {
@@ -439,7 +440,8 @@ iso_mountfs(devvp, mp, td)
isomp->iso_ftype = ISO_FTYPE_9660;
break;
case 0:
- log(LOG_INFO, "cd9660: RockRidge Extension\n");
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: RockRidge Extension\n");
isomp->iso_ftype = ISO_FTYPE_RRIP;
break;
}
@@ -447,7 +449,9 @@ iso_mountfs(devvp, mp, td)
/* Decide whether to use the Joliet descriptor */
if (isomp->iso_ftype != ISO_FTYPE_RRIP && joliet_level) {
- log(LOG_INFO, "cd9660: Joliet Extension (Level %d)\n", joliet_level);
+ if (bootverbose)
+ log(LOG_INFO, "cd9660: Joliet Extension (Level %d)\n",
+ joliet_level);
rootp = (struct iso_directory_record *)
sup->root_directory_record;
bcopy (rootp, isomp->root, sizeof isomp->root);
OpenPOWER on IntegriCloud