I've been playing around with disk IO on flash drives, HDDs, and SSDs by opening /dev/sd*
paths in Linux the way I would any other file.
I understand that the memory controller on the disk can hide true block order (via a mapping) from the OS.
This boils down to these questions:
Are the blocks in
/dev/sd*
in the order perceived by the OS, or in the order as perceived by the disk's memory controller?Is the order of blocks in
/dev/sd*
subjective between POSIX OSes?Can these properties change if done on an NT or Cygwin system?
Is this property different among Flash, HDD, and SSD?
Can a write occur to a specific index in an opened
/dev/sd*
path, or is this determined by the memory controller?
Thanks in advance!