vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Greetings all: I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD I have a FAT32 shared partition, and I created the following entry in my fstab: /dev/hda6 /mnt/w2k vfat defaults 0 0 The problem I'm having is I can see the partition and it's content, but I can't write to it, not even as root, what I'm doing wrong? Any suggestion or comment is much appreciated (I'm newbie, so please bear with me). -- Thanks, ------------------------------------------------- Ko Fei Pu mailto:kfpu@yahoo.com |
| |||
| On Wed, 03 Sep 2003 01:23:45 GMT, Ko Fei Pu wrote: > Greetings all: > I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD > I have a FAT32 shared partition, and I created the following entry in > my fstab: > /dev/hda6 /mnt/w2k vfat defaults 0 0 > > The problem I'm having is I can see the partition and it's content, but > I can't write to it, not even as root, what I'm doing wrong? try adding a rw in the fs_mntops field man fstab for more info |
| |||
| I tried to add rw, it didn't work, so I changed to -w (according to the man, this should work), but none of them worked, any other idea? Thanks Ko Fei Bit Twister wrote: > On Wed, 03 Sep 2003 01:23:45 GMT, Ko Fei Pu wrote: > >>Greetings all: >>I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD >> I have a FAT32 shared partition, and I created the following entry in >>my fstab: >>/dev/hda6 /mnt/w2k vfat defaults 0 0 >> >>The problem I'm having is I can see the partition and it's content, but >>I can't write to it, not even as root, what I'm doing wrong? > > > try adding a rw in the fs_mntops field > man fstab for more info -- Thanks, ------------------------------------------------- Ko Fei Pu mailto:kfpu@yahoo.com |
| |||
| Yes, I did umount/mount, I even rebooted the computer, still it won't allow me to write to it. Bit Twister wrote: > On Wed, 03 Sep 2003 01:48:33 GMT, Ko Fei Pu wrote: > >>I tried to add rw, it didn't work, so I changed to -w (according to the >>man, this should work), but none of them worked, any other idea? > > > Hmmm, you would think read and write would work which is how I have > my mandrake fstab setup. Did you do a > umount /mnt/w2k > mount /mnt/w2k > > touch /mnt/w2k/junk.txt > rm /mnt/w2k/junk.txt -- Thanks, ------------------------------------------------- Ko Fei Pu mailto:kfpu@yahoo.com |
| |||
| Here's the /etc/fstab: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda8 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hda6 /mnt/w2k vfat defaults 0 0 Here's fdisk -l /dev/hda: Disk /dev/hda: 30.0 GB, 30020272128 bytes 255 heads, 63 sectors/track, 3649 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 701 5630751 7 HPFS/NTFS /dev/hda2 702 3648 23671777+ f Win95 Ext'd (LBA) /dev/hda5 702 707 48163+ 83 Linux /dev/hda6 708 1982 10241406 c Win95 FAT32 (LBA) /dev/hda7 1983 3002 8193118+ 83 Linux /dev/hda8 3003 3129 1020096 82 Linux swap TIA Bit Twister wrote: > On Wed, 03 Sep 2003 01:56:36 GMT, Ko Fei Pu wrote: > >>Yes, I did umount/mount, I even rebooted the computer, still it won't >>allow me to write to it. > > > Ok, post your /etc/fstab and fdisk -l /dev/hda > > Should have worked. > > >>Bit Twister wrote: >> >>>On Wed, 03 Sep 2003 01:48:33 GMT, Ko Fei Pu wrote: >>> >>> >>>>I tried to add rw, it didn't work, so I changed to -w (according to the >>>>man, this should work), but none of them worked, any other idea? >>> >>> >>>Hmmm, you would think read and write would work which is how I have >>>my mandrake fstab setup. Did you do a >>>umount /mnt/w2k >>>mount /mnt/w2k >>> >>>touch /mnt/w2k/junk.txt >>>rm /mnt/w2k/junk.txt >> > > -- Thanks, ------------------------------------------------- Ko Fei Pu mailto:kfpu@yahoo.com |
| |||
| In comp.os.linux.misc Ko Fei Pu <kfpu@yahoo.com> wrote: >>>/dev/hda6 /mnt/w2k vfat defaults 0 0 [...] > I tried to add rw, it didn't work, so I changed to -w (according to the Well, don't "try", "do". And yes, it does work. SHow your altered fstab line. > man, this should work), but none of them worked, any other idea? No, man fstab says NOTHING about "-w". That shoudl NOT have worked. No ideas are necessary. Only diagnosis. You are probably mistaking your condition. Peter |
| |||
| In article <Bob5b.132669$K44.121422@edtnps84>, Ko Fei Pu <kfpu@yahoo.com> wrote: > I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD > I have a FAT32 shared partition, and I created the following entry in > my fstab: > /dev/hda6 /mnt/w2k vfat defaults 0 0 What do these return (when it's not mounted): mount /mnt/w2k mount | grep hda6 mount /dev/hda6 /mnt/w2k -t vfat mount | grep hda6 ? -- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactar TAURUS: You will never find true happiness - what you gonna do, cry about it? The stars predict tomorrow you'll wake up, do a bunch of stuff and then go back to sleep. -- Weird Al |
| |||
| On Wed, 03 Sep 2003 04:14:50 GMT, Ko Fei Pu wrote: > cannot write to /mnt/w2k even as root. > Here's fdisk -l /dev/hda: > /dev/hda6 708 1982 10241406 c Win95 FAT32 (LBA) > Here's the /etc/fstab: > /dev/hda6 /mnt/w2k vfat defaults 0 0 Change /dev/hda6 /mnt/w2k vfat rw,umask=0 0 0 To test change umount /mnt/w2k mount /mnt/w2k touch /mnt/w2k/junk.txt rm /mnt/w2k/junk.txt |
| |||
| I had different behavior for each one of the commands you mentioned, here are the output: [root@localhost mnt]# umount /mnt/w2k [root@localhost mnt]# ls -l total 12 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 2 root root 4096 Aug 31 22:49 w2k [root@localhost mnt]# mount /mnt/w2k [root@localhost mnt]# mount | grep /mnt/w2k /dev/hda6 on /mnt/w2k type vfat (rw,umask=0) [root@localhost mnt]# ls -l total 16 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxrwxrwx 9 root root 8192 Dec 31 1969 w2k [root@localhost mnt]# umount /mnt/w2k [root@localhost mnt]# ls -l total 12 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 2 root root 4096 Aug 31 22:49 w2k [root@localhost mnt]# mount /dev/hda6 /mnt/w2k -t vfat [root@localhost mnt]# mount|grep hda6 /dev/hda6 on /mnt/w2k type vfat (rw) [root@localhost mnt]# ls -l total 16 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 9 root root 8192 Dec 31 1969 w2k why when I used mount /mnt/w2k it worked but not when I used the mount /dev/hda6 /mnt/w2k -t vfat? Thanks Hactar wrote: > In article <Bob5b.132669$K44.121422@edtnps84>, > Ko Fei Pu <kfpu@yahoo.com> wrote: > >>I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD >> I have a FAT32 shared partition, and I created the following entry in >>my fstab: >>/dev/hda6 /mnt/w2k vfat defaults 0 0 > > > What do these return (when it's not mounted): > > mount /mnt/w2k > mount | grep hda6 > > mount /dev/hda6 /mnt/w2k -t vfat > mount | grep hda6 > > ? > |
| ||||
| I had different behavior for each one of the commands you mentioned, here are the output: [root@localhost mnt]# umount /mnt/w2k [root@localhost mnt]# ls -l total 12 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 2 root root 4096 Aug 31 22:49 w2k [root@localhost mnt]# mount /mnt/w2k [root@localhost mnt]# mount | grep /mnt/w2k /dev/hda6 on /mnt/w2k type vfat (rw,umask=0) [root@localhost mnt]# ls -l total 16 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxrwxrwx 9 root root 8192 Dec 31 1969 w2k [root@localhost mnt]# umount /mnt/w2k [root@localhost mnt]# ls -l total 12 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 2 root root 4096 Aug 31 22:49 w2k [root@localhost mnt]# mount /dev/hda6 /mnt/w2k -t vfat [root@localhost mnt]# mount|grep hda6 /dev/hda6 on /mnt/w2k type vfat (rw) [root@localhost mnt]# ls -l total 16 drwxr-xr-x 2 root root 4096 Aug 27 04:59 cdrom drwxr-xr-x 2 root root 4096 Aug 27 06:23 floppy drwxr-xr-x 9 root root 8192 Dec 31 1969 w2k why when I used mount /mnt/w2k it worked but not when I used the mount /dev/hda6 /mnt/w2k -t vfat? Sorry for the dumb question (I'm newbie :-( ), what should I do to change the fstab entry? Right now I have the following statement, which seems not working: /dev/hda6 /mnt/w2k vfat defaults 0 0 Thanks Hactar wrote: > In article <Bob5b.132669$K44.121422@edtnps84>, > Ko Fei Pu <kfpu@yahoo.com> wrote: > >>I have a dual boot machine with W2K Pro & RH 9 installed, in the same HD >> I have a FAT32 shared partition, and I created the following entry in >>my fstab: >>/dev/hda6 /mnt/w2k vfat defaults 0 0 > > > What do these return (when it's not mounted): > > mount /mnt/w2k > mount | grep hda6 > > mount /dev/hda6 /mnt/w2k -t vfat > mount | grep hda6 > > ? > |