Subject: Re: smartmedia adaptors
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 01/23/2000 21:37:14
On Sun, Jan 23, 2000 at 10:23:14AM -0800, Wolfgang Rupprecht wrote:
> 
> Manuel Bouyer writes:
> > Do you unmout the disk before removing the pcmcia adapter ?
> 
> Yes, I unmount the pcmcia emulated disk.
> 
> > The wdc controller should detach on last close of the last open partition
> > of the disk.
> > Something seems wrong here. Or maybe you're using the mbrlabel hack to keep
> > the in-core disklabel sticky ?
> 
> I don't do anything explicit.  Is the mbrlabel hack now implicit?
> All I do is:
> 
>     mount -t msdos -r /dev/wd1e /mnt 
>     cp -p /mnt/imolym/pic*.jpg tmp
>     umount /mnt
> 
>     <change cards and repeat above steps>
> 
> It did take me a few seconds to realize that there is a phoney
> disklabel generated automatically and that wd1e is the msdos partition
> of this phoney label.

Ok, so the wdc instance should detach properly and shouldn't exist at all any
more. There's something brocken here ...

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--