Re: Raw device access
- From: Jan Panteltje <pNaonStpealmtje@xxxxxxxxx>
- Date: Fri, 12 Dec 2008 17:21:29 GMT
On a sunny day (Fri, 12 Dec 2008 08:55:16 -0800 (PST)) it happened
"superhac007@xxxxxxxxx" <superhac007@xxxxxxxxx> wrote in
<e131897a-1fa6-41e6-b38b-3c4962259bec@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
Essentially that's what I did. I moved 446 bytes from the start of
the disk to the partition table. Since theres only 1 partition on my
flash drive I just needed the first partition's LBA_START (+8) field.
Then I took value which is stored there (first sector of partition1)
and multiplied by 512(all modern drives have 512 byte sectors)
Some of the newer high capacity SD cards have 1024 bit sectors or 'blocks',
or even bigger.
This starts at > 2GB I think.
http://www.hjreggel.net/cardspeed/special-sd.html
Only interesting if you are writing a driver for those perhaps, and
also when you consider the limited r/w cycles of FLASH memory,
as writing 4 x a 512 byte sector to a card with a block size of 2048
uses up 4 x the writes, compared to writing 2048 bits at the time.
This right?
.
- References:
- Raw device access
- From: superhac007@xxxxxxxxx
- Re: Raw device access
- From: Nate Eldredge
- Re: Raw device access
- From: Jan Panteltje
- Re: Raw device access
- From: superhac007@xxxxxxxxx
- Raw device access
- Prev by Date: Re: Raw device access
- Next by Date: Beta testers needed
- Previous by thread: Re: Raw device access
- Next by thread: Beta testers needed
- Index(es):
Relevant Pages
|