Click here to Skip to main content
15,905,914 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: x86 Pi Opponent Pin
Michael Martin22-Jul-17 22:25
professionalMichael Martin22-Jul-17 22:25 
GeneralRe: x86 Pi Opponent Pin
Dan Neely24-Jul-17 3:31
Dan Neely24-Jul-17 3:31 
GeneralHow can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
swampwiz21-Jul-17 12:51
swampwiz21-Jul-17 12:51 
GeneralRe: How can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
Cornelius Henning21-Jul-17 13:18
professionalCornelius Henning21-Jul-17 13:18 
GeneralRe: How can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
Dave Kreskowiak21-Jul-17 13:34
mveDave Kreskowiak21-Jul-17 13:34 
GeneralRe: How can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
PIEBALDconsult21-Jul-17 14:02
mvePIEBALDconsult21-Jul-17 14:02 
GeneralRe: How can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
Jeremy Falcon21-Jul-17 23:33
professionalJeremy Falcon21-Jul-17 23:33 
GeneralRe: How can a cloned directory tree have the same "Size" but different "Size on Disk"? Pin
lopatir22-Jul-17 6:47
lopatir22-Jul-17 6:47 
Another complication to watch for:

the source may have junctions and/or shortcuts which if not tested the cloning process would probably copy as unique separate instances of the same original file/folder.

You must test FileAttributes.ReparsePoint. - for junctions you have to re-create brand new instances from scratch of that same shortcut/junction on the destination - they can't be copied even if using kernel32.dll CopyFile().
(See codeproject.com/Articles/15633/Manipulating-NTFS-Junction-Points-in-NET - some sloppy code and it's missing recreating the PrintName info, but with a bit of fixing/cleaning up does the job.)

In the User folder(s) for instance there are junctions that create circular/infinite references if blindly followed as ordinary folders.

Note: Applies to shadow copies too - which I'm sure you're using to avoid errors on locked/in-use files.
Sin tack
the any key okay

GeneralDOTD - Dilbert of the Day Pin
Kevin Marois21-Jul-17 10:33
professionalKevin Marois21-Jul-17 10:33 
GeneralRe: DOTD - Dilbert of the Day Pin
PIEBALDconsult21-Jul-17 11:01
mvePIEBALDconsult21-Jul-17 11:01 
GeneralRe: DOTD - Dilbert of the Day Pin
glennPattonWork322-Jul-17 2:53
professionalglennPattonWork322-Jul-17 2:53 
GeneralRe: DOTD - Dilbert of the Day Pin
Marc Clifton22-Jul-17 6:29
mvaMarc Clifton22-Jul-17 6:29 
GeneralRe: DOTD - Dilbert of the Day Pin
H.Brydon22-Jul-17 10:30
professionalH.Brydon22-Jul-17 10:30 
Generalin vivo Win OS transplant: the myth i can't let go of Pin
BillWoodruff21-Jul-17 6:50
professionalBillWoodruff21-Jul-17 6:50 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
Jeremy Falcon21-Jul-17 7:10
professionalJeremy Falcon21-Jul-17 7:10 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
lopatir21-Jul-17 7:57
lopatir21-Jul-17 7:57 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
Joan M21-Jul-17 7:59
professionalJoan M21-Jul-17 7:59 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
BillWoodruff21-Jul-17 8:29
professionalBillWoodruff21-Jul-17 8:29 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
Joan M21-Jul-17 8:49
professionalJoan M21-Jul-17 8:49 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
lopatir21-Jul-17 9:43
lopatir21-Jul-17 9:43 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
Joan M22-Jul-17 22:21
professionalJoan M22-Jul-17 22:21 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
dandy7221-Jul-17 10:29
dandy7221-Jul-17 10:29 
GeneralRe: in vivo Win OS transplant: the myth i can't let go of Pin
Marc Clifton22-Jul-17 6:37
mvaMarc Clifton22-Jul-17 6:37 
GeneralThought of the day Pin
OriginalGriff21-Jul-17 5:03
mveOriginalGriff21-Jul-17 5:03 
GeneralRe: Thought of the day Pin
Duncan Edwards Jones21-Jul-17 5:10
professionalDuncan Edwards Jones21-Jul-17 5:10 

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.