Mounting windows "c" drive in Linux
Hi guys, I have some questions, but first my biggest one
is about Windows and Linux. I have Windows 2000, on a 40 gig drive which I partitioned into 2 20 gig partitions, one for each OS. I have mounted my Windows "C" folder in Linux and everything seems fine, my question is if I were to delete the directory "C" (being the mount point of my windows c: folder) will it actually get rid of C: drive, or just the mount point? I dont want to actually erase my drive somehow by doing something stupid. Thanks for all your help. |
I believe it's part of your filesystem once mounted. If you did 'rm -rf' it might well delete it, or possibly throw an error. I've never tried it. Then again, it probably doesn't have write (or 'unwrite') enabled as an NTFS partition, so it'd probably just return an error. With it unmounted, you can delete the bare mount point without deleting the partition, obviously. But just don't delete it and it won't be deleted. *g*
|
Yeah I'd agree with digiot. If you can't write to the partition then you certainly can not delete anything on it. After all, deleting things is just writing nothing.
Give it a shot! Whats the worst that could happen? You lose your windows partition... |
ya sure it will delete data from c:
s ur Os and sys files all things but u can usr read only option during mounting |
If you wish to delete the "c" directory (not the drive), I would unmount it first, before removing it.
|
Thanks for all your help guys.
Last night I tried something with this C dir. I tried to rename it to Windows(because I am open to violent fits of stupidity so i need to safeguard myself where i can), but couldnt. So I unmounted it, then tried to rename the dir, and it worked. I also changed the setting in my fstab and it now mounts automatically. I gave myself all options in this dir to read and write, so I need to be careful. Going by what I learned last night, and what Ghost of Yoda said, I think Im safe as long as its unmounted if I try to del that dir. Thank you so much for all of your help guys. I may try unmount it delete it just to see what happens. Ill let you know how it turns out either tonight, or in a few days once I reinstall both OS!! lol |
All times are GMT -5. The time now is 08:16 PM. |