Timeline for What is "File Packing" done by an Operating System?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 27, 2015 at 20:01 | comment | added | misha256 | @KorayTugay No problem. Your 2-byte example works like this: The 2 Bytes will be packed into 4096 Bytes by NTFS. Then, the 4096 Bytes will be split up and sent to the disk as eight consecutive blocks of 512 Bytes. | |
Feb 27, 2015 at 17:54 | comment | added | Koray Tugay | So what if I have a hard drive that has a block size of say 512 bytes but I format it by NTFS system? Then even if I save a 2 byte data, I will need to send 4096 bytes right, not 512? | |
Feb 27, 2015 at 17:52 | vote | accept | Koray Tugay | ||
Feb 26, 2015 at 1:45 | comment | added | misha256 | Incidentally, block-based IO is everywhere. Modern CPUs might demand 32-bit data, even when you only need to send an 8-bit value. Internally, SSD hard drives implement another layer of block-logic that's transparent to the PC/OS called pages. As if that's not enough, modern file-systems have their own block-logic too (e.g. NTFS default is 4096 Bytes). In all these cases data is being packed and unpacked to create the required blocks or extract meaningful data from such blocks. | |
Feb 26, 2015 at 1:38 | history | edited | misha256 | CC BY-SA 3.0 |
[Edit removed during grace period]
|
Feb 26, 2015 at 1:22 | history | edited | misha256 | CC BY-SA 3.0 |
added 26 characters in body
|
Feb 25, 2015 at 21:43 | history | answered | misha256 | CC BY-SA 3.0 |