Date: Sun, 17 Jun 2001 11:10:41 -0700 From: Dima Dorfman <dima@unixfreak.org> To: Jens Schweikhardt <schweikh@schweikhardt.net> Cc: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: mdconfig/umount Fatal trap 12 Message-ID: <20010617181041.7153C3E0B@bazooka.unixfreak.org> In-Reply-To: <20010617121217.A2453@schweikhardt.net>; from schweikh@schweikhardt.net on "Sun, 17 Jun 2001 12:12:17 %2B0200"
next in thread | previous in thread | raw e-mail | index | archive | help
Jens Schweikhardt <schweikh@schweikhardt.net> writes: > hello, world\n > > with a system cvsupped June 6th I can reliably reproduce a > [panic] > when I try to unmount a deleted mdconfig device. Here's the recipe: > > # file iso is a Freebsd 4.3 Wind River CD image made with > # dd if=/dev/cd0c of=file.iso bs=2048 > > mdconfig -a -t vnode -f file.iso > mount -t cd9660 /dev/md0 /mnt/freebsd-cd > mdconfig -d -u md0 > umount /dev/md0 > > I'm not sure if this is the right fix but what about having the > mdconfig -d fail with EBUSY in case someone tries to delete a mounted > md device? Been there, done that. Got the patches and long thread(s) to prove it ;-). See message ID 20010313071744.C988C3E09@bazooka.unixfreak.org. > > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617181041.7153C3E0B>