LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you share files between partitions? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-share-files-between-partitions-118103/)

malignity 11-20-2003 03:14 AM

How do you share files between partitions?
 
I have looked (more like lurked) around reading similar problems posted here but none seem to help because they get side tracked rather quickly. My question is how do you get Linux (Fedora running Gnome) to see, read and write to my Windows XP partition (Fat32) and my secondary hard drive (also Fat32).

I used SuSE 9 last night and my C: drive appeared under Gnome's desktop but because XP was NTFS it could only read the files. This morning I got rid of SuSE (did not like it) and re-installed XP so that XP would be on Fat32.

Thank you ever so much in advance for any aid you can give me. :Pengy:

guygriffiths 11-20-2003 03:26 AM

put a line like this in your /etc/fstab:
/dev/hdax /mnt/fat vfat umask=000,rw 0 0
Where /dev/hdax is your required harddrive (x should be a number) and /mnt/fat is your required mount point (the directory must exist). This will allow all users to read and write from that drive

malignity 11-20-2003 03:33 AM

(I am not on Fedora right now, rather Linux but I will switch in a minute)

So is /etc/fstab some type of a text file? Oh and by "/mnt/fat is your required mount point (the directory must exist)" do you mean that I should make a folder by that name "fat" in the "mnt" folder so that after I do the first step that folder will act as a door between the two partitions?

:scratch: :scratch: :scratch:

guygriffiths 11-20-2003 03:49 AM

Yes, all config files in Linux are just text files. /etc/fstab deals with the FileSystem TABle. And yes, you should make a folder called "fat" in the "/mnt" directory. But you can call it whatever you want and put it wherever you want, as long as you make the directory first. So you could do:
mkdir /mnt/win2k
or
mkdir /usr/myotherharddrives
or even
mkdir /bin/windows2000drivesforwheniwantthem
as long as you replaced the /mnt/fat line with that directory name. (but you should probably use /mnt since that's what it's for)
Guy

malignity 11-20-2003 05:13 AM

Oh thank you! It worked great. Thank you very much guygriffiths. :D


All times are GMT -5. The time now is 04:05 PM.