Author Topic: Mounting a vfat filesystem in Linux...  (Read 640 times)

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Mounting a vfat filesystem in Linux...
« on: 9 May 2002, 01:23 »
can anybody tell me what is wrong with this line from my /etc/fstab file?
Code: [Select]
I forget if this is exactly it actually, since i am now on the internet (in windows) and cannot open the file concerned (since windows does not 'do' ext3) to check...

i am trying to get /windows to mount as drwxrwxrwx but it is only mounting as drwxr-xr-x. Any ideas? sorry, i know it's simple and boring, i just keep bashing my head against this chestnut...
ta.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Mounting a vfat filesystem in Linux...
« Reply #1 on: 9 May 2002, 01:47 »
quote:
Originally posted by Calum:

Code: [Select]
[/b]


Yes, I posted this before.  Make the above look like:

Code: [Select]

Notice the addition of the "umask=000" in your mount options.
Someone please remove this account. Thanks...

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Mounting a vfat filesystem in Linux...
« Reply #2 on: 9 May 2002, 14:37 »
you did post this before, but i was just having a dumb day yesterday!

thanks for posting it again though, it's easier for me to figure out what is going on when i see how it should be working rather than how it is not working...

Ta.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Mounting a vfat filesystem in Linux...
« Reply #3 on: 31 May 2002, 03:07 »
I have many questions here, they are bog standard and boring, but i need a little intellectual nudging here...
Code: [Select]
okay, that's how my fstab looked once i had sorted it out from the thing it had done on it's default install. The idea is to get my /mnt/windows, /mnt/winsystem, /mnt/files and /mnt/floppy to mount with permissions of 777. Also, i think i want the /mnt/cdrom to mount with permissions of 707 (don't i?).
Also, i would like to get the system to automount the /mnt/floppy and /mnt/cdrom so i don't need to mount and umount them all the time. Luckily mandrake comes with a tool to do this, called supermount. here's the available options for supermount:
Code: [Select]
And those spelling mistakes are as written by the way, i didn't mistype them.
Now, i ran supermount like this:
Code: [Select]
I only realised after that "supermount -i enable" would have done exactly the same thing, since supermount outputs to standard out if you don't specify any options.
Right, now after that escapade, my fstab looks like this:
Code: [Select]
Now the problem with this is that firstly it's now full of stuff that i don't understand, because it's not in "man mount" and secondly, it doesn't work! when i mount /mnt/floppy, it returns no errors, but does not mount the floppy drive, i suspect that when i cd /mnt/floppy, i actually get taken to the empty dir /mnt/floppy itself. Same with /mnt/cdrom.
So, i reverted to the fstab i had before, at the top there, even though i'm still a little shaky on the permissions (/mnt/windows still tells me i don't have permission to delete files and so on, anybody know why from looking at the fstab?)

Finally, and on a nearly related note, i have several double density disks. Some of them are mac formatted too, which i still haven't got to work using linux, but anyway, when i try to mount the DD disks i get:
Code: [Select]
is this due to the size of the disk blocks, the size of the disk itself, or the fact that it's mac formatted? any ideas? and how should i fix this in the fstab so it works for those types of floppy?

Thanks a lot to anybody who replies. i know i should have got this fstab thing sorted in my mind by now, but it's driving me nuts.

Thanks....
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Mounting a vfat filesystem in Linux...
« Reply #4 on: 2 June 2002, 22:29 »
eh, i don't want to seem like an arse here, but does anybody happen to know the easy answer to all this?

thanks!
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism