mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Removable USB device contents cached after removal?
@ 2004-01-01 11:48 Vid Strpic
  2004-01-01 18:41 ` USB Digital Camera mount problem [WAS: Removable USB device contents cached after removal?] Jeff Sipek
  0 siblings, 1 reply; 2+ messages in thread
From: Vid Strpic @ 2004-01-01 11:48 UTC (permalink / raw)
  To: Matthew Mastracci; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

On Wed, Dec 31, 2003 at 05:12:16PM -0700, Matthew Mastracci wrote:

[...]

> 1.  Insert card into reader.
> 2.  Mount card as directory somewhere in root filesystem, list contents 
> of card
> 3.  dd if=/dev/sdd1 count=1024 bs=1024 | hexdump
> 	- results in correct filesystem dump
> 4.  Remove card from reader.
> 5.  dd if=/dev/sdd1 count=1024 bs=1024 | hexdump
> 	- same filesystem dump as before!
> 6.  cd to mountpoint, contents are still available
> 7.  dd if=/dev/sdd1 of=/dev/null
>          - approx 3MB of card data still available
> 8.  umount the mountpoint from before

Did you try `eject sdd` after this, and if not, try, and see how it
works.

> 9.  dd if=/dev/sdd1 of=/dev/null results in "No medium found"

usb-storage behaves differently in 2.6 than in 2.4, maybe this is the
problem for you now.

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-mm2 #1 Tue Dec 30 10:21:33 CET 2003 i686
 12:46:44 up 1 day, 23:08, 11 users,  load average: 0.94, 0.68, 0.69
UNIX programmers DO IT with forks.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-01 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-01 11:48 Removable USB device contents cached after removal? Vid Strpic
2004-01-01 18:41 ` USB Digital Camera mount problem [WAS: Removable USB device contents cached after removal?] Jeff Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®