LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fstab edit (https://www.linuxquestions.org/questions/linux-software-2/fstab-edit-261611/)

craigers 12-02-2004 01:24 AM

fstab edit
 
how do i edit my fstab so i have read/write access to my windows ntfs drive (i only have read permission now). thanks

hostprotect 12-02-2004 01:28 AM

if it were /dev/hda1 try

/dev/hda1 /path/to/mount ntfs umask=002,ro,users 0 0


Make sure your kernel has ntfs support.

shmonkey 12-02-2004 02:57 AM

Shouldn't it be rw instead of ro ?

kees-jan 12-02-2004 05:25 AM

As far as I know write support for ntfs is not supported. rw won't help much :)

Groetjes,

Kees-Jan

binumvk 12-02-2004 05:39 AM

ntfs is there but we want to recomile the kernel with ntfs support

abisko00 12-02-2004 06:12 AM

If NTFS is there, why do you want to recompile?

You will not get write support, only overwrite support (it is not possible to delete, create or modify the filesize). Real write support is not availlable from kernel NTFS. Only captive-ntfs and some commercial tools allow NTFS write.

This is the information I got from previous threads on this topic.

binumvk 12-02-2004 06:22 AM

But in default it is compiled without ntfs support , so u want to recomiple it.

Ntfs write support is there u can compile kernel with that option,But it is dangerous

abisko00 12-02-2004 06:38 AM

binumvk:
Sorry, there was some missunderstanding. I thought you were talking about something you intended to do that was already done. I understood "ntfs support is there and I want to recompile the kernel to get ntfs support", just a semantic problem ;)

BTW: the 'default' is different in various distros. In SuSE NTFS is compiled per default. However, write support is always turned off (per default).

And just for curiosity: did you ever try to write files on NTFS partitions? Are we talking about NTFS in kernel 2.6?

kadhan 12-02-2004 10:08 AM

i'm a beginner in linux.so please help me.i'm usin fedora core 1.i cannot write 2 my vfat partitions as a user,but can write as root?what should i do to get r/w access.how fstab should b edited?

abisko00 12-02-2004 10:12 AM

Please post your /etc/fstab, so we can see what might be wrong.

In general it could be a missing umask option. See example in post#2.

kadhan 12-02-2004 10:38 AM

here is my etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda10 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/hda5 /mnt/d vfat defaults 0 0
/dev/hda6 /mnt/e vfat defaults 0 0
/dev/hda7 /mnt/f vfat defaults 0 0
/dev/hda8 /mnt/g vfat defaults 0 0
please help me

abisko00 12-02-2004 10:43 AM

Edit all your vfat containing lines as follows:

Code:

/dev/hdaX /mnt/Y vfat defaults,umask=000 0 0

kadhan 12-02-2004 10:58 AM

abisko00'
thank u.

craigers 12-02-2004 07:01 PM

ok, when i first installed linux i had write permission to my windows ntfs drive but i had to take the windows drive out (forgot why) but i turned it on without that drive in and it did an auto config thing at the startup and everything got screwed up. i put the drive back in and had to go edit fstab so it would auto mount the drive again but now i cannot get write permission
running mandrake linux 10.0 Official

binumvk 12-03-2004 06:00 AM

haI IAM TALKING ABOUT REDHAT LINUX


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