Hirdetés
- Íme az új Android Auto!
- Szívós, szép és kitartó az új OnePlus óra
- Xiaomi 17 Ultra - jó az optikája
- Android alkalmazások - szoftver kibeszélő topik
- Motorola Edge 50 Pro - több Moto-erő kéne bele
- MIUI / HyperOS topik
- Nemzetközi vizekre evezett a Realme GT 7 és GT 7T
- Poco F8 Ultra – forrónaci
- Xiaomi 15T Pro - a téma nincs lezárva
- Vivo X300 Ultra - tárcsázz, ha van rá keret!
Új hozzászólás Aktív témák
-
krealon
veterán
válasz
margithid
#1633
üzenetére
Does a rewritten file on NTFS use the same blocks?
"In general, block allocation is the most expensive operation in filesystems, so filesystems will try quite hard to avoid it, in particular by reusing blocks when possible. This would mean the following:
When overwriting an existing file, the same blocks are reused. New blocks are allocated when the new file data exceeds that of the overwritten files.
When truncating an existing file, all the blocks are released, thus potentially reusable for other file operations. In that case, the new file may allocate new blocks. There is no guarantee that the new file contents will reallocate the same blocks, and, in particular, the old blocks might have been reallocated to other files in the mean time.
However, it depends a lot on the filesystem internals. Log-structured filesystems perform all writes sequentially, throughout the whole partition, so it is pretty much guaranteed, with such a filesystem, that the new file will not overwrite the blocks from the old file. Journaling filesystems may copy the file contents to an extra structure (the "journal") in addition to the actual permanent storage (depending on whether the journaling extends to the file contents, or just the metadata). Some filesystems also use a "phase tree" which can be viewed as a log-structured filesystem, with a tree instead of a list; for these, overwrites may or may not happen.
An important point to consider is that block allocation strategies do not depend only on the filesystem, but also on the implementation. There is no guarantee that Windows XP and Windows 7, for instance, behave similarly on the same NTFS filesystem. One OS version may find it worthwhile to keep around old blocks to "speed up (re)allocation" while another could employ another strategy. This is all heuristics, tuned and retuned. Thus, one cannot really answer your question about "NTFS"; one would have to talk about "NTFS as implemented in OS foobar, version 42.17, build 3891"."
Vagyis a naplozott fajlrendszer miatt, az uj fajlokat, lehetoleg korabban nem hasznalt blokkokra teszi a rendszer, igy a torolt fajlok az disk image-ben tovabbra is foglaljak a helyet. Ezert novekednek folyamatosan a virtualis gep disk-image fajljai.
Új hozzászólás Aktív témák
- Energiaital topic
- Óriási ugrás: teszten az ASUS Zenbook A16 és a Snapdragon X2
- sziku69: Szólánc.
- sziku69: Fűzzük össze a szavakat :)
- Luck Dragon: Asszociációs játék. :)
- Vicces képek
- Xbox Series X|S
- Idén télen jön a most bemutatott Metro 2039
- Vezetékes FEJhallgatók
- Milyen billentyűzetet vegyek?
- További aktív témák...
- MS SQL Server 2016, 2017, 2019
- Számlás!Steam,EA,Epic és egyébb játékok Pc-re vagy XBox!
- Kaspersky, BitDefender, Avast és egyéb vírusírtó licencek a legolcsóbban, egyenesen a gyártóktól!
- Játékkulcsok olcsón: Steam, Uplay, GoG, EA, Xbox stb.
- Game Pass Ultimate előfizetések 3 - 36 hónapig azonnali kézbesítéssel a LEGOLCSÓBBAN! AKCIÓ!
- Akció! Csere-Beszámítás! Asus ROG G614J! I7 13650HX / RTX 4060 / 16GB DDR5 / 1TB Nvme SSD
- Dell Latitude 5420 14" Touchscreen i5-1135G7 16GB 256GB 1 év garancia, 4G LTE OPCIÓ
- Magyar, Aktiválatlan! Apple MacBook Pro 14! M3, 8GB, 500GB! BeszámítOK
- AKCIÓ! AMD Ryzen 9 5900X 12mag 24szál processzor garanciával hibátlan működéssel
- Apple iPad 7 32GB (3 hó Garancia)
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

