LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-28-2003, 02:38 AM   #1
jsin
Member
 
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36

Rep: Reputation: 15
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.
 
Old 07-28-2003, 03:00 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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*
 
Old 07-28-2003, 05:33 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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...
 
Old 07-28-2003, 05:59 AM   #4
alpesh
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
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
 
Old 07-28-2003, 08:05 AM   #5
GhostOfYoda
Member
 
Registered: Jul 2003
Location: Manchester, UK
Distribution: Debian
Posts: 31

Rep: Reputation: 15
If you wish to delete the "c" directory (not the drive), I would unmount it first, before removing it.
 
Old 07-28-2003, 11:29 AM   #6
jsin
Member
 
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tried mounting NTFS drive to /home "suse9.1 Personal Ed." scratch09 Linux - Newbie 5 11-11-2004 02:36 PM
Can "minimize all windows" aka <windows>-m be emulated in Fedora Linux? jdruin Linux - Software 4 04-19-2004 08:19 PM
USB drive keeps mounting as "read only" I need to write to it. Lossenelin Linux - Hardware 1 02-12-2004 06:49 PM
Seeing Linux as a "Drive" from Windows OS on a dual boot System teclipse Linux - Newbie 4 09-29-2003 10:19 AM
Accessing windows drive from my "normal" user. At0mic_PC Slackware 6 08-01-2003 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration