Click here to Skip to main content
15,896,359 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: CCC 21/5 Pin
PeejayAdams21-May-18 2:06
PeejayAdams21-May-18 2:06 
GeneralRe: CCC 21/5 - you win Pin
OriginalGriff21-May-18 2:46
mveOriginalGriff21-May-18 2:46 
JokeRe: CCC 21/5 - you win Pin
Duncan Edwards Jones21-May-18 2:53
professionalDuncan Edwards Jones21-May-18 2:53 
GeneralRe: CCC 21/5 - you win Pin
OriginalGriff21-May-18 2:57
mveOriginalGriff21-May-18 2:57 
QuestionRe: CCC 21/5 - you win Pin
megaadam21-May-18 3:58
professionalmegaadam21-May-18 3:58 
AnswerRe: CCC 21/5 - you win Pin
Duncan Edwards Jones21-May-18 4:07
professionalDuncan Edwards Jones21-May-18 4:07 
GeneralShould I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
swampwiz20-May-18 10:18
swampwiz20-May-18 10:18 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Randor 20-May-18 10:42
professional Randor 20-May-18 10:42 
Hi,

Files can be stored on the drive in multiple ways... here are some examples that will cause differing 'Size on Disk'.

FileA.txt stored on Drive A:
If you store a 1KB file (such as small source code file) on a NTFS partition with 4KB (default) sector size... then the 1KB file has a 4KB 'Size on Disk'. The sector unfortunately has 3KB of wasted space.

FileB.txt stored on Drive B:
If you copy that 1kb file and paste it onto an external drive... and that drive saves the file directly into the $MFT then that 1KB file takes 1KB of space.

Right clicking in Explorer on the file in FileA.txt will have '4KB Size on Disk' and right clicking on FileB.txt it will have '1KB Size on Disk'.

Multiply that 3KB difference by a few thousand small source code files and your folders can have large differences in the size reported on disk.

Best Wishes,
-David Delaune
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
kalberts21-May-18 12:06
kalberts21-May-18 12:06 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Randor 21-May-18 12:45
professional Randor 21-May-18 12:45 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Daniel Pfeffer20-May-18 10:47
professionalDaniel Pfeffer20-May-18 10:47 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
CodeWraith20-May-18 11:49
CodeWraith20-May-18 11:49 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Daniel Pfeffer20-May-18 18:45
professionalDaniel Pfeffer20-May-18 18:45 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
kalberts21-May-18 12:35
kalberts21-May-18 12:35 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Randor 20-May-18 12:05
professional Randor 20-May-18 12:05 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Daniel Pfeffer20-May-18 18:37
professionalDaniel Pfeffer20-May-18 18:37 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Randor 20-May-18 20:56
professional Randor 20-May-18 20:56 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Daniel Pfeffer20-May-18 21:29
professionalDaniel Pfeffer20-May-18 21:29 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
kalberts21-May-18 11:44
kalberts21-May-18 11:44 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Randor 21-May-18 13:05
professional Randor 21-May-18 13:05 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
kalberts21-May-18 12:30
kalberts21-May-18 12:30 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
Daniel Pfeffer21-May-18 20:15
professionalDaniel Pfeffer21-May-18 20:15 
GeneralRe: Should I be concerned if "Size on disk" for directory is different on C: than on external drive? Pin
kalberts21-May-18 11:57
kalberts21-May-18 11:57 
GeneralHow agile are you? Pin
Sander Rossel20-May-18 0:52
professionalSander Rossel20-May-18 0:52 
GeneralRe: How agile are you? Pin
Eddy Vluggen20-May-18 2:15
professionalEddy Vluggen20-May-18 2:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.