Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 13:25:20 GMT
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/116931: lack of fsck_cd9660 prevents mounting iso images with mdconfig_md%d
Message-ID:  <200710041325.l94DPKX8002240@critter.freebsd.dk>
Resent-Message-ID: <200710041910.l94JA13G075545@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116931
>Category:       conf
>Synopsis:       lack of fsck_cd9660 prevents mounting iso images with mdconfig_md%d
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 04 19:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Sep 26 15:32:58 UTC 2007 root@critter.freebsd.dk:/usr/obj/freebsd/src/sys/C5 i386


	
>Description:
	

	Trying to mount an ISO image using the mdconfig_md%d= facility in
	/etc/rc.conf does not work because we do not have a fsck_cd9660
	program.
	
>How-To-Repeat:

	Add to /etc/rc.conf
		mdconfig_md0="-t vnode -o readonly -f /some/image.iso"
	Add to /etc/fstab
		/dev/md0     /cdrom     cd9660  ro,noauto       0       0

	mkdir -p /cdrom

	sh /etc/rc.d/mdconfig2 start
		
>Fix:

	The correct fix is to know if the filesystem can be fsck'ed or not
	but a workaround is to symlink fsck_cd9660 to /usr/bin/true

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710041325.l94DPKX8002240>