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

--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D/dev/zero of=3Dimage bs=3D1k count=3D1440
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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

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

--ftEhullJWpWg/VHq--



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