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 03-16-2005, 09:17 PM   #1
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Why can Knoppix access my Windows files!?


Thanks for reading this post.

Why can I see my Windows files in Knoppix under 'hda1'? That's very scary to me, because I thought the safety of Knoppix came from the fact that it treated the Knoppix drive as a separate partition, so no matter how badly I screw up Knoppix can never see, harm or manipulate anything I have under my Windows drive.

I thought the point of a partition is COMPLETE 100% independence between drives. Is this not the case, or is it the case but Knoppix is not really meant to be simulating a partition?

Can somebody please explain what exactly a partition is, what its implications are, and whether Knoppix is actually simulating a partitioned drive while the LiveCD is in your drive?

Apparently it only has read-only access to the Windows files, but still, the answers to all my questions above totally escape me.

Thanks a lot!
 
Old 03-16-2005, 09:24 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Re: Why can Knoppix access my Windows files!?

Quote:
Originally posted by veeruk101
Thanks for reading this post.

Why can I see my Windows files in Knoppix under 'hda1'? That's very scary to me, because I thought the safety of Knoppix came from the fact that it treated the Knoppix drive as a separate partition, so no matter how badly I screw up Knoppix can never see, harm or manipulate anything I have under my Windows drive.

I thought the point of a partition is COMPLETE 100% independence between drives. Is this not the case, or is it the case but Knoppix is not really meant to be simulating a partition?

Can somebody please explain what exactly a partition is, what its implications are, and whether Knoppix is actually simulating a partitioned drive while the LiveCD is in your drive?

Apparently it only has read-only access to the Windows files, but still, the answers to all my questions above totally escape me.

Thanks a lot!
Knoppix can see the Windows drive because it's mounted.
Unmount it and it wont be able to
Code:
umount /dev/hda1
The actual "drive" that Knoppix is running in/on is stored in RAM.
 
Old 03-16-2005, 10:07 PM   #3
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Plus your windoze drive is mounted in read-only mode in Knoppix by default, so you can't write to the windoze drive unless you change the write permissions.
 
Old 03-17-2005, 09:40 AM   #4
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
A partition is a logical piece of a drive. It is also physically contiguous, that is, it is not dispersed across the drive in bits and pieces, rather, it is one "chunk" of the drive.

The point of a partition is that if you screw up *one* partition, you can wipe it out without affecting data on any *other* partition. However, they do not provide complete, 100% independence. For instance, it is a common practice to put "/home" on a separate partition on a Linux install. This way, if you have to reinstall your OS, for whatever reason, you don't lose any of your *personal* data.

Any OS can "see" files on any partition formatted with a filesystem that it can understand, as long as that partition is mounted on that OS's filesystem. Thus, Windows can have multiple "drives" (really partitions) like C:, D:., E:, etc. on a hard disk, that it "maps" (mounts) to the filesystem, but it can't by default see Linux-filesystem partitions. Linux, OTOH, understands Windows filesystems, so it can mount virtually any partition you will have on your home PC.

Thus, it is up to the computer operator to not mount, or unmount, any partitions they do not want to have available for access, and mount as read-only any partitions which contain data to be read, but not written to.

Your other question has already been answered: Knoppix's "partition" is actually just in RAM.
 
  


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
moving files between windows partitions, in knoppix Antilocust Linux - Software 6 07-24-2005 05:48 AM
access to windows files eltn10 Linux - General 3 09-30-2004 06:59 AM
how can I access windows files on a network? bashrc2 Linux - Networking 2 03-24-2004 12:13 AM
How do I access locked files with Knoppix??? Quick question r3dhatter Linux - Distributions 2 03-14-2004 10:13 PM
access linux files from windows? okok Linux - Newbie 4 02-05-2002 06:20 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration