Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-28-2003, 02:38 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36
Rep:
|
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.
|
|
|
07-28-2003, 03:00 AM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
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*
|
|
|
07-28-2003, 05:33 AM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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...
|
|
|
07-28-2003, 05:59 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Rep:
|
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
|
|
|
07-28-2003, 08:05 AM
|
#5
|
Member
Registered: Jul 2003
Location: Manchester, UK
Distribution: Debian
Posts: 31
Rep:
|
If you wish to delete the "c" directory (not the drive), I would unmount it first, before removing it.
|
|
|
07-28-2003, 11:29 AM
|
#6
|
Member
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36
Original Poster
Rep:
|
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 10:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|