From owner-freebsd-current@FreeBSD.ORG Wed Dec 8 20:05:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE9216A4CE; Wed, 8 Dec 2004 20:05:57 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E2943D53; Wed, 8 Dec 2004 20:05:56 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iB8K5sDh093683; Wed, 8 Dec 2004 22:05:54 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 51291-07; Wed, 8 Dec 2004 22:05:53 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iB8K5rkm093680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Dec 2004 22:05:53 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iB8K5rNl001489; Wed, 8 Dec 2004 22:05:53 +0200 (EET) (envelope-from ru) Date: Wed, 8 Dec 2004 22:05:53 +0200 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20041208200553.GB1340@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@FreeBSD.org Subject: mount oddities X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 20:05:57 -0000 --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--