WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] VFAT file system mounting gives inconsistent results  (Read 8785 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
[SOLVED] VFAT file system mounting gives inconsistent results
« on: January 11, 2010, 02:56:47 PM »
I am having trouble with thunderbird; it thinks my mail directory is not mounted when it actually is.

Before opening tb, I mount the drive where the mail is:
Code: [Select]
sudo mount -t vfat /dev/sda2 /mnt/mail
This works - I can browse the mail directory.

But thunderbird reports an error. (The reported error seems unrelated but from experience I know unmounted data/profile is what causes this error report.)

Previously, I had the data directory on an ntfs drive which I mounted with
Code: [Select]
sudo ntfs-3g /dev/sdb2 /mnt/mail
which worked.

Now for the inconsistency:

If I FIRST mount /dev/sda2 on mnt/sda2 using rox by clicking on sda2, then tb proceeds fine.
However, if I FIRST mount /dev/sda2 on mnt/sda2 by typing
Code: [Select]
sudo mount -t vfat /dev/sda2 /mnt/sda2
, then as before, tb fails.

In all of the above cases, the file system is actually mounted as I can browse sda2 using rox. But tb proceeds ONLY if I first mounted sda2 by clicking on it in rox.

Help please?

Edited title by adding vfat
« Last Edit: January 13, 2010, 02:29:19 PM by jur »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: file system mounting gives inconsistent results
« Reply #1 on: January 11, 2010, 02:58:45 PM »
I am having trouble with thunderbird; it thinks my mail directory is not mounted when it actually is.


Please specify version. Is it thunderbird or thunderbird3 or both?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: file system mounting gives inconsistent results
« Reply #2 on: January 11, 2010, 03:01:21 PM »
try specifying a userid during the mount, as vfat has no concept of file ownership or permissions.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: file system mounting gives inconsistent results
« Reply #3 on: January 11, 2010, 03:24:35 PM »
I am having trouble with thunderbird; it thinks my mail directory is not mounted when it actually is.


Please specify version. Is it thunderbird or thunderbird3 or both?
Both are doing the same thing.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: file system mounting gives inconsistent results
« Reply #4 on: January 11, 2010, 03:37:30 PM »
Stop using Microsoft file systems! They do not fully support *nix.
http://www.osnews.com/story/9681/The_vfat_file_system_and_Linux/page1/
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: file system mounting gives inconsistent results
« Reply #5 on: January 11, 2010, 03:38:20 PM »
try specifying a userid during the mount, as vfat has no concept of file ownership or permissions.
How would I do this? Google and manpages weren't very helpful.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: file system mounting gives inconsistent results
« Reply #6 on: January 11, 2010, 04:05:09 PM »
Stop using Microsoft file systems! They do not fully support *nix.
http://www.osnews.com/story/9681/The_vfat_file_system_and_Linux/page1/

Very interesting, thanks for the linky. :)

The trouble is, at my workplace windows is the spoken language (not to mention every other member of my household). So I am faced with the necessity of being able to access data from both OS's. What other options are there?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: VFAT file system mounting gives inconsistent results
« Reply #7 on: January 11, 2010, 04:24:32 PM »
Create a virtual disk formatted for linux. http://www.tinycorelinux.com/faq.html#qemu
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: VFAT file system mounting gives inconsistent results
« Reply #8 on: January 13, 2010, 10:41:27 AM »
If you give a full mount command, ie "mount -t vfat /dev/sda2 /mnt/sda", the command thinks you wish to ignore what's in /etc/fstab.

Doing simply "mount /dev/sda2" fills in the blanks from fstab, including the user option so you can access the files as a regular user. I'm guessing Rox does it like this.
The only barriers that can stop you are the ones you create yourself.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: VFAT file system mounting gives inconsistent results
« Reply #9 on: January 13, 2010, 02:29:00 PM »
If you give a full mount command, ie "mount -t vfat /dev/sda2 /mnt/sda", the command thinks you wish to ignore what's in /etc/fstab.

Doing simply "mount /dev/sda2" fills in the blanks from fstab, including the user option so you can access the files as a regular user. I'm guessing Rox does it like this.
That did it - thanks! :)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: [SOLVED] VFAT file system mounting gives inconsistent results
« Reply #10 on: January 13, 2010, 03:05:00 PM »
Just a heads up that I will not let such an old (circa 1995) file system limit the progress of Core.
As was pointed out by my link above, bzimage when it should be bzImage is only the beginning.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: [SOLVED] VFAT file system mounting gives inconsistent results
« Reply #11 on: January 13, 2010, 03:28:38 PM »
Just a heads up that I will not let such an old (circa 1995) file system limit the progress of Core.
As was pointed out by my link above, bzimage when it should be bzImage is only the beginning.
All the same Windows won't go away so access to information from both OS's is not old hat, it's here to stay. Perhaps exFAT support should be considered?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: [SOLVED] VFAT file system mounting gives inconsistent results
« Reply #12 on: January 13, 2010, 03:47:21 PM »
Or update the kernel boot line to use the bogus windows file name.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: [SOLVED] VFAT file system mounting gives inconsistent results
« Reply #13 on: January 13, 2010, 04:16:29 PM »
Demand to use the latest kernel, lib,etc, then demand to use a 1995 file system to host it.
Absoutley amazing.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: [SOLVED] VFAT file system mounting gives inconsistent results
« Reply #14 on: January 13, 2010, 04:50:16 PM »
No, what is amazing is your inability to see the need for data access.