[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] FAT32 under Linux



Hi Guys,

This is driving me nuts, maybe somebody has a solution.

I've added a new internal IDE 120 gb drive to a dual WinXP/RH8.0 system.
I wanted it to be visible under both so I used Partition Magic 8 
under XP to create 2 partitions (1 gb Linux swap, 118 gb FAT32).

Under XP all ok, mounts and everybody can write to it.
Under Linux did:  mkfs -t vfat -F32 /dev/hdb5
So far so good, edited fstab as below 1st /data5 line, 
mounted it ok, cd /data5, mkdir /paul on it fine, then tried to
chmod a+w paul (as root) and the blasted thing says no 
permission!  Neither will it let root chown it to belong to paul.
Can't chmod or chown /data5 or any file root writes to it.
And of course paul can't write to it until I manage this so simple job.
(Oddly enough, paul can delete a file he wrote under XP).

Tried various permutations of permissions entry in fstab and 
finally got pissed off and went back to XP and Part. Magic and
remade the partition as ext3, back to Linux and redid 
mkfs -t ext3 /dev/hdb5 and then back in Linux and finally 
had a useable by everybody FS, except now NOT useable 
under XP.

This is ridiculous, both /share and /mnt/1394 (firewire external) 
are FAT32 and work fine under Linux.  I've done something stupid 
but don't see it.

Cheers,  Jan

lino5:/etc/fstab
===========
LABEL=/	/		ext3	defaults	1 1	# /dev/hda5
LABEL=/boot	/boot		ext3	defaults	1 2	# /dev/hda3
/dev/hda2	/share		vfat	defaults	1 1
/dev/hda6	swap		swap	defaults	0 0
/dev/cdrom	/mnt/cdrom	iso9660	noauto,owner,kudzu,rw	0 0
/dev/fd0		/mnt/floppy	auto	noauto,owner,kudzu,rw	0 0
/dev/sda1	/mnt/1394	auto	noauto,user,sync,exec,rw	0 0
#/dev/hdb5	/data5		vfat	defaults,rw	0 0
#/dev/hdb5	/data5		vfat	users,sync,exec,dev,suid,rw	0 0
/dev/hdb5	/data5		ext3	defaults	0 0
/dev/hdb6	swap		swap	defaults	0 0
odin1:/d1a	/d1a		nfs	rw,bg,soft,intr	0 0
...

/etc/mtab
=======
/dev/hda5 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda3 /boot ext3 rw 0 0
/dev/hda2 /share vfat rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0
#/dev/hdb5 /data5 vfat rw 0 0		# previously when FAT32
/dev/hdb5 /data5 ext3 rw 0 0
odin1:/d1a /d1a nfs rw,bg,soft,intr,addr=143.167.64.53 0 0
...


-- 
	*****   Dr Jan White   ***************************
	*       Molecular Biology, Sheffield University  *
	*       Phone: +44 114 222 2741  FAX: 272 8697   *
	*****   E-Mail: Jan.White [at] sheffield.ac.uk  *******

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.