Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 00:30:08 +0100
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        freebsd-current@FreeBSD.org
Subject:   Wrong behaviour with stacked mounts
Message-ID:  <20070305233008.GA2479@obiwan.tataz.chchile.org>

next in thread | raw e-mail | index | archive | help
Hi list,

% jarjarbinks:/mnt/msdos:129# echo $PWD
% /mnt/msdos
% jarjarbinks:/mnt/msdos:130# mount -t msdosfs
% /dev/ad0s5 on /mnt/msdos (msdosfs, local)
% jarjarbinks:/mnt/msdos:131# mount -t msdosfs /dev/da0s1 /mnt/msdos/
% jarjarbinks:/mnt/msdos:132# mount -t msdosfs
% /dev/ad0s5 on /mnt/msdos (msdosfs, local)
% /dev/da0s1 on /mnt/msdos (msdosfs, local)
% jarjarbinks:/mnt/msdos:133# umount /mnt/msdos/
% umount: unmount of /mnt/msdos failed: Device busy

Whilst the current shell current directory vnode (I'm not sure I'm
totally right here) is still the lower mount point (/dev/ad0s5),
umount(8) refuses to umount the upper mount point.


Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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