Yossarian
February 22nd, 2007, 11:23 AM
I would like to relate an amusing misadventure I had with Windows XP Pro.
I have two hard disks in my computer, both 40 gigs, both with 1 huge ntfs partition each. I set it up so one was mounted to C:\, and one was mapped to C:\Documents and Settings\Patrick\Desktop. This works well as I always download files to my desktop, so both disks are at about equal usage.
I was showing a buddy how I did it (you do it through the management console or something in the Control Panel) and saw that you can assign a parition multiple mount points.
I wanted to know if Windows would let you map something that didn't make sense, so I made a folder on my desktop called Stupid, and mapped the parition that was already mapped to the Desktop to that folder. So I have now a folder that contains itself.
Windows happily let me do this. Not wanting to tempt fate I quickly undid it and closed the control panel. However, the mapping stayed (although it said it didn't) so when I tried to delete the Stupid folder (holding shift to not move it to the recylce bin) it tried to delete everything. Luckily something was read only, or in use, or something, so it failed right away with an error message and didn't get lost in madness.
Anyone tried anything similar? If someone has a windows installation they don't care about, it would be cool to try mapping a folder to itself, or mapping two folders to each other.
I've never tried doing this with linux or BSD, are these systems smart enough to not let you do this?
I have two hard disks in my computer, both 40 gigs, both with 1 huge ntfs partition each. I set it up so one was mounted to C:\, and one was mapped to C:\Documents and Settings\Patrick\Desktop. This works well as I always download files to my desktop, so both disks are at about equal usage.
I was showing a buddy how I did it (you do it through the management console or something in the Control Panel) and saw that you can assign a parition multiple mount points.
I wanted to know if Windows would let you map something that didn't make sense, so I made a folder on my desktop called Stupid, and mapped the parition that was already mapped to the Desktop to that folder. So I have now a folder that contains itself.
Windows happily let me do this. Not wanting to tempt fate I quickly undid it and closed the control panel. However, the mapping stayed (although it said it didn't) so when I tried to delete the Stupid folder (holding shift to not move it to the recylce bin) it tried to delete everything. Luckily something was read only, or in use, or something, so it failed right away with an error message and didn't get lost in madness.
Anyone tried anything similar? If someone has a windows installation they don't care about, it would be cool to try mapping a folder to itself, or mapping two folders to each other.
I've never tried doing this with linux or BSD, are these systems smart enough to not let you do this?