conf/116931: lack of fsck_cd9660 prevents mounting iso images with mdconfig_md%d

Poul-Henning Kamp phk at critter.freebsd.dk
Thu Oct 4 12:10:02 PDT 2007


>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 at 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:


More information about the freebsd-bugs mailing list