Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.