Mounting cd9660 multiple times gives EBUSY [Was: unionfs a little improvement]

Ed Schouten ed at 80386.nl
Wed Aug 18 15:20:15 UTC 2010


* Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:
> What you are trying to do here is to mount /dev/iso9660/freebsd for the
> second time? This is not supported. The check is there to prevent doing
> this, as it will panic on you when you try to unmount first mount (not
> really a problem in your case, as the first mount is /, so you probably
> don't want to unmount it, but it is a problem in general).
> 
> You should be able to reproduce the panic with your patch applied by
> doing the following:
> 
> 	# mount -t cd9660 /dev/iso9660/freebsd /mnt0
> 	# mount -t cd9660 /dev/iso9660/freebsd /mnt1
> 	# umount /mnt0

Ah, I see. Well, I changed my setup to use an md root now. Works quite
nicely. Screenshot:

	http://80386.nl/pub/livecd.png

Thanks for the explanation!

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100818/563a1aa6/attachment.pgp


More information about the freebsd-current mailing list