From: Vid Strpic <vms@bofhlet.net>
To: Matthew Mastracci <mmastrac@canada.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Removable USB device contents cached after removal?
Date: Thu, 1 Jan 2004 12:48:24 +0100 [thread overview]
Message-ID: <20040101114824.GG2432@home.bofhlet.net> (raw)
[-- 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 --]
next reply other threads:[~2004-01-01 12:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-01 11:48 Vid Strpic [this message]
2004-01-01 18:41 ` USB Digital Camera mount problem [WAS: Removable USB device contents cached after removal?] Jeff Sipek
-- strict thread matches above, loose matches on Subject: below --
2004-01-01 0:12 Removable USB device contents cached after removal? Matthew Mastracci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040101114824.GG2432@home.bofhlet.net \
--to=vms@bofhlet.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mmastrac@canada.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®