Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2004 22:05:53 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   mount oddities
Message-ID:  <20041208200553.GB1340@ip.net.ua>

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

[-- Attachment #1 --]
Hi Poul-Henning,

I first noticed this oddity with MS-DOS formatted floppies,
when no matter what floppy I insert into the drive later,
it's still treated as MS-DOS.

I believe the testcase below is related to the problem I'm
seeing.

dd if=/dev/zero of=image bs=1k count=1440
mdconfig -a -t vnode -f image -u 0
mount /dev/md0 /mnt
newfs /dev/md0
mount /dev/md0 /mnt && umount /mnt
mdconfig -du0
mdconfig -a -t vnode -f image -u 0
mount /dev/md0 /mnt
umount /mnt
mdconfig -du0

The second "mount" command should succeed but it doesn't.
Note that if you remove the first "mount" command, the
second one succeeds.


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBt16gqRfpzJluFF4RAh8bAJ0cSjubWcK9lTAkCo03ZG4s/4LJ6gCgmXwA
aagYDX4qi4RAGiI2i21YCAQ=
=MzUk
-----END PGP SIGNATURE-----

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