chuckles I inspected the vmx file for a computer fornsics assignment to see what files get loaded and... looks like my lecturer used a pirated version of windows
One of these thing just aint like the other. I am sure someone here can answer this question more definativly , I swear I am reading it right? but mabey not. 2 data chunks linked from Microsoft, 100% reversal of the direction of links
All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store. Each component has a unique name that includes the version, language, and processor architecture that it was built for. The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected” by hard linking from the component store.
In practice, nearly every file in the WinSxS directory is a “hard link” to the physical files elsewhere on the system— meaning that the files are not actually in this directory.blogs.msdn.com/b/e7/archive/2008/11/19/…
I need to know so i dont talk out my butt. and I want to know the actual location of the files.
So i am seeing things? when it says the WinSxS folder is the only location the component is found, and the other blog says the files are NOT in the WInSxS directory ?
I just ran the nirsoft NTFSLinksView utility on the Windows and Winsxs folders and it found no links (and then ran it on c:\users to make sure it wasn't a false negative)
@Paul If you happen to still have it running, and ran it on the system32 folder, the files in there are "projected" by hard linking from the component store?
I am running a full scan right now, so that will include system32 - but I did one previously and didn't see any links. So either neither description is correct, or I am missing something
Well I know one thing, the Systems reported space usage for the WinSxS is larger than its reality. And i certannly believe them when they say that it is not as large as it seems.
but my loose math here shows about 2.5Gig , should be in it. which seems relative to the size of the DVD that gets installed there?
This pic shows my system. 13 gig max size disk, the cluster view shows that most of it is used up.
the normal disk size thing, showing that there is ~12g of used space. The All files count which is WRONG, because there could not be 16G used on a 13G drive, and the file count, on the SXS which is also wrong.
Adding up all the Other files (approx) other than the SXS ammounts to ~9.2G
Ok, I did an infinite depth scan from c:\ and all it found were the standard junctions from c:\users -> c:\documents and settings (and the links within), and c:\program data -> c:\users\all users
right, no compression has been applied yet. this is sort of a fresher install, only 64 programs on it now, and the drivers.
none of the big pig programs are there yet because i have to get everything else straight and Image it again. It also is expandable partition (space avilable), it is not actually running out of space. it is just partitioned this way for viewing.
If I run hardlink_scanner it tells me that the winsxs folder contains many hard links
Phew
It is interesting, because the article suggests that the files "aren't actually in winsxs but are links from elsewhere in the file system". Of course, that doesn't make sense with hardlinks - the file is not in either folder specifically, each hardlink is equal
So it makes just as much sense to say all the files are in Winsxs, but with hardlinks from elsewhere
If you create a second hardlink to the file, then deleted the first hardlink, it is the same as "moving" the file - the file never gets moved, it is just changed in the mft
Yeah
Deleting a file in Windows is the same as deleting a hardlink. Once the hardlink count is zero the space is freed.
Hmm
Perhaps it isn't that simple, but it seems this is the best way to visualise it
perhaps that is why MS described it that way. I think you figured it out for me, which just leaves the "install disk" the original install, those files should not have multiple hard links?
@surfasb the whole thing starts back at the MS links, where MS tries to descibe "where" the stuff is located. and Paul helped me out bigtime, i mentally can adopt to it now.
@TomWijsman Yeah the issue earlier in the thread is that they describe it both ways "reside elsewhere, links in winsxs" and "reside in winsxs, links elsewhere"
@Psycogeek > Hard links are not NTFS file system objects, but they are instead a link to a file (in detail, they refer to the MFT entry as that stores extra information about the actual file). The MFT entry has a field that remembers the amounts of time a file is being hard linked to.
@TomWijsman YEs and how easily it would have been to understand that If i didnt have the assistance of MS saying it is Here and not there, and then 100% reversing that.
On the subject of links, if there is a symlink in a directory to a parent directory, how does explorer or anything else for that matter avoid getting trapped in endless recursion as it tries to enumerate all files?
@Psycogeek I recommend you get Link Shell Extension. It not only puts icons on files with more than one hardlink, it can tell you also where the other hardlinks are.
@soandos From there, it's just a matter of keeping track of where you've been. I forgot what the algorithm is called, but it's basically where you check if you've been down that branch before. Once you've been down all the branches, you are done.
I took CS but haven't been using the algorithms quite so much in my work. I was going around interviewing and you know, at the interview is the wrong place to start trying to recall long-lost information from school. :\
They'd ask me something, I'd think about it, give the wrong answer, they ask me to explain it, I think some more, and then I get that "aha" moment and realize what the right answer was. :o
@surfasb Nick said that the WinSxS folder is hundereds of megabytes at most, which is laughable via hundreds of analisis on the web , where people used hard link utilities
@soandos True, which is why you'd keep track of the visited nodes along the current path and not descend into them again. but that's just an addition to the base DFS process.
@surfasb Well i will get this Install going to look, then i will know more. but i was trying to just cover the INSTALL disk that resides somewhere around there.
@Psycogeek Again, that's talking about folder sizes, which doesn't exist in this case. Any folder which contains files with more than one link doesn't have a size. The abstraction doesn't fit in that case.
Dangit... On occasion my computer just hangs... screen goes black, no response yet fans are still spinning, can't even use the motherboard's reset button or hold the power button to shut it off. Have to switch off the PSU. Faulty motherboard?
Like, this happened just now.
Actually, then fans would still be spinning since the motherboard isn't acting as the fan controller. But still. :P
@surfasb Correct, what matters is the space required to store the to-visit list. with DFS that space is the same as the path length, and can be stored as a stack.
@DanD Yeah, when I saw DFS uses a stack, Dan's comment made so much sense.
Knowing more about human psych than I do algorithms, I thought about it differently.
My thoughts were, "Well humans don't store crap in deep branches. On top of that, they usually want to search because they have no idea which branch to choose, not so much where in a branch is the item."
Heh, our server farms had UPS backup. Just the desktop systems didn't.
Though when I got a Linux box for my cubicle, they did give me a UPS since they were kinda intended to be "always on" and IT didn't want to support them officially :P
@surfasb Ok got the link extention showing Little Red arrows on "files that have more than one link" ? and in the properties they show having more than one hard link.
@sidran32 I get brown outs when i turn a vacuum (or other like device) on or when others in the building do; which is why i got a UPS, but its turned out to be nice to have on a number of occasions also considering that i leave my computer on and my laptop has clocked over 540 days on (although not consecutive)
@surfasb With the link extention tool the files with No little cute arrow, have no extra links "Those files reside in that actual location & only there" ?
@DanD A brown-out is when the power goes completely out for only a few seconds. I do see the lights dim when the refrigerator's compressor kicks in and stuff but it doesn't do anything to my computer.
Unless you mean turning a vacuum on actually kicks the power out for a few seconds, which is odd :o
@sidran32 well, by brown out i mean any drop in power voltage. i.e. lights dim. what your calling one is just a momentary black out. when the voltage drops to zero.
There are the 27 language repetition items, i only need 1, and other various things not installed that I will not ever install, Those might break a Update though :-(
@surfasb Yes much safer , even if it lost any links, it could be put back
@surfasb Umm hey i am not awake enough for you to be throwing curve balls :-) the system32 folder in win64bit holds the 64bit files . then my brain explodes again
Is it possible to set up a solar-powered network where one can access all files on any computer connected to the network if they give access without use of the internet using a Wireless Bridge mesh (or whatever it would be called) ?
@JamesRoseman Given the right solar panels, networking equipment, and configuration, I don't see why not? I can't say I've seen something like that before, solar powered, anyway...
I just switched back to IE9 on my laptop, from Chrome. It's a good browser, but mainly because it looks better with my theming. Chrome just breaks when themed...
i think they should pass it in congress, then get it Keeled by the supreme court (freedom of speech and unconstitional), then it will live like Roe-V-Wade forever ?
it would then become a "president" for other law cases, making them wisk right on though.
You mean precedent. However, the issue is that you can't immediately challenge the law in the Supreme Court unless it affects you somehow. Like, if they used it to take your site down, you could bring it up in court, and it would have to get escalated to the Supreme Court by the lower courts. Too much at stake to take that route.
@JamesRoseman You had a question about this didn't you? WDS is an option as well as the repeater bridge option in the answer. If you google dd-wrt wds the first link shows you the various options supported by dd-wrt, which is a very flexible OS for domestic wifi routers
I installed dd-wrt on my router. Made my wifi connection actually be reliable instead of cutting out all the time and eventually having to reboot the router manually about once a week. :)
Still have to reboot now and then but at least I can schedule it to reboot automatically and at night. :P
I didnt have to go to harvard, to see a great Natzi ploy. It is brilliant. Were going to take away your freedom unless you help us find and kill all the bad people. Then the people all jump around and start turning eachother in :-)
@JourneymanGeek Ok that works :-) McCarthyism drove hundreds of thousands of trade unionists, peace activists, communists and free-thinkers of no particular ideology at all into isolation and poverty. It destroyed the lives of those witch-hunted, and intimidated millions of others into “keeping their heads down” and their mouths shut.
And at the end of the McSopa era , the internet will be fully "cleansed" of all the rif raf, and "The One" will have control of the whole thing. the Gov-o-Corp the one single all encompasing corporation goverment combinations.
@Psycogeek: I think the problem is, lots of corps would prefer something closer to the old walled garden, rather than the vaguely organised anarhy the internet is
funny thing is, lots of old timers wouldn't mind if the riffraff and the corps were in a walled garden ;p
mine is basically struggling to work out a new strategy in an era when people can actually shock pull up old things they said, and point out when they make mistakes AND be heard
I'd love to buy a ton, put them in weatherproof cases with solar panels, and hire friends to help assemble a ton then create a mesh network at my campus.
I asked a question about networking and somebody said that they were in the process (or wanted to? I forget...) take a DS and gut it, use the SanDisk port and configure a wireless extender, and make it weather/tamper/shock-proof. Then throw it on the roof of Starbucks and extend their free internet haha.