Re: Raw device access



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?


.



Relevant Pages

  • Re: Sync option destroys flash!
    ... >> production) had capacitors to be able to finish writing the block they ... are you talking about the SanDisk SDCFI or SDCFJ series? ... We were told the new cards that they offer to OEMs have new firmware ... > logical/physical sector map. ...
    (Linux-Kernel)
  • Re: Write disk image to multiple drives
    ... hoping to fill one CF's busy time writing to others over serial ... system the other day and haven't had a chance to test it with 16 cards, ... mounting of hotplugged block devices) and hacked the script to filter ... (partition block devices are subfolders of their ...
    (comp.os.linux.misc)
  • Re: Ide hd problem
    ... >> the middle of writing a sector to the media. ... Can't fsck help you fix the partition? ...
    (comp.os.linux.setup)
  • RE: Change Tracks Per Sector on system Partition
    ... mirroring system partitions of a cluster to an offsite SAN due to differing ... We cannot physically read the file system boot sector usually at ... If your software mirror a Windows NT/2000/2003 operating system partition ... another disk that is translated as 32spt, ...
    (microsoft.public.windows.server.setup)
  • Re: OT File recovery Software
    ... > I guess some of you never used the fix MBR command? ... > The Master Boot Record will be created when you create the first ... > partition on the hard disk. ... > first sector on the disk. ...
    (alt.med.fibromyalgia)