Results 1 to 2 of 2

Thread: dosfsck gives "open: Is a directory" response

  1. #1
    Join Date
    Sep 2011
    Beans
    5

    dosfsck gives "open: Is a directory" response

    Hello,

    Background -

    I have a Thunderbird shared profile on a FAT32 partition. It has decided it doesn't want to play anymore - I am fine with that. Want to move the profile and nuke it anyway. BUT, when backing up the profile, everything copies across except prefs.js which has all the mail account information (I have over a dozen so, yes, it is a big deal) - every time I try to copy it I get "Error splicing file: Input/output error", so I suspect there is some damage on the partition. I then try and use dosfsck to see if it can be repaired, and it just gives -

    open: Is a directory

    Using dosfsck 3.0.7 (24 Dec 2009) which Lucid tells me is current. Same response whether mounted or not. I cannot find anything on this message other than a Solaris FAQ which simply says the OS is confusing a file with a folder and nothing more.

    Can anyone enlighten me? Or suggest a better way to try and fix FAT32 problems?

  2. #2
    Join Date
    Sep 2011
    Beans
    5

    Re: dosfsck gives "open: Is a directory" response

    Resolved - took a lot of digging, found this error referencing SD cards -

    http://sdjf.esmartdesign.com/errors.html

    Wrong Device Reference

    Instead of /mnt/card/ or /mnt/cf, you must use /dev/mmcda1 or /dev/hda1 to refer to your expansion card, or you may get output like the following:
    bash-2.05# fsck.vfat /mnt/card/
    dosfsck 2.8, 28 Feb 2001, FAT32, LFN
    Read 512 bytes at 0:Is a directory
    bash-2.05#
    Referencing dev/sda6 (where my FAT is) instead of media/Fat32 worked.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •