LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   linux to pc - via fat32 firewire (https://www.linuxquestions.org/questions/linux-hardware-18/linux-to-pc-via-fat32-firewire-239010/)

homernick 10-05-2004 07:52 AM

linux to pc - via fat32 firewire
 
Hi,

I've been searching this forum for a few hours now trying to do the simple task of getting some files off my linux box and on to my pc (win2k). I've picked up lots of things (so thanks for a great site!) and am understanding the way it works a bit more now...which is all good, apart from I can't actually do it.

I can copy files onto a firewire drive on the pc, mount this on the linux and copy these files off - no problem

I can write files on the linux to the firewire drive - no problem,

but I can't see these files on the pc

The drive is FAT32.

Am I attempting the impossible?

Any guidance gratefully received

Cheers
Nick

:study:

dannybpng 10-05-2004 10:52 AM

Are you doing a "hot swap" where the files may not be written to the drive before you pull the drive to read on the PC? Is the drive being properly unmounted? Just some thoughts.

Dan

homernick 10-05-2004 12:58 PM

Doh! thanks Dan! that'll be the one.

I had just found the little EXT2IFS app for win2k which allowed me to read files off, but won't allow to write back so this is great news. Works fine now. Being a naive windows user I hadn't realised the files don't really copy until you unmount.

My only problem now (well for the immediate future) is that I can only copy filew obnto the drive when I'm looged on as root. I've tried putting this line in my fstab file:

/dev/sdq1

michaelk 10-05-2004 01:02 PM

By PC do you really mean windows?
How are you mounting the drive in linux?
You can mount the drive, read / write in linux but windows can not see any files.

homernick 10-05-2004 01:03 PM

Doh! thanks Dan! that'll be the one.

I had just found the little EXT2IFS app for win2k which allowed me to read files off, but won't allow to write back so this is great news. Works fine now. Being a naive windows user I hadn't realised the files don't really copy until you unmount.

My only problem now (well for the immediate future) is that I can only copy files onto the drive when I'm logged on as root. I've tried putting this line in my fstab file:

/dev/sdq1 /mnt/firewire Vfat noauto,rw 0 0

thinking that the rw would allow read and write access to all users, but appears not to help me.

Any ideas?

Cheers
Nick

michaelk 10-05-2004 01:03 PM

Sounds like you found the answer.

The umask option will allow regulars to write to a FAT32 partition.

Add umask=000 to the fstab entry.

homernick 10-05-2004 01:50 PM

Thanks, Richard. yes our messages must've crossed over. That is sorted..and umask works well too

Now I've also just tried putting in 'auto' and 'sync' But this doesn't appear to work for me. Should I be able to mount the firewire on boot? and should the sync option then allow files to be written straight away so unmounting isn't required? Or I just being a lazy windows user - is the process always mount-write files-unmount?

Sorry to go on, I'm just trying to find the best\quickest process for me, as this is something I will have to do a lot of until they are networked.

Thanks for your help

Cheers
Nick

homernick 10-07-2004 10:11 AM

Guess its the later then! cheers anyway


All times are GMT -5. The time now is 03:38 AM.