mount oddities

Ruslan Ermilov ru at FreeBSD.org
Wed Dec 8 12:05:57 PST 2004


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 at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041208/0315c40f/attachment.bin


More information about the freebsd-current mailing list