*BSD News Article 91969


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: MSDOS file system question
Date: 26 Mar 1997 16:13:50 GMT
Organization: Awfulhak Ltd.
Lines: 40
Message-ID: <5hbhvu$g0@ui-gate.utell.co.uk>
References: <5h9428$a8i$1@xmission.xmission.com>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37766

In article <5h9428$a8i$1@xmission.xmission.com>,
	klaus@xmission.xmission.com (klaus) writes:
> I'm trying to use a dos filesystem for one of my partitions and am
> having some strange behavior. I can mount it just fine. When I "ls"
> it, it shows me all the files from a subdirectoy in the partition. If
> I "ls -l", I get a buch of "foo.bar: file not found", where foo.bar
> is a file on the partition. Also, if I try to cat any of the files, I
> get "file not found" errors. It seemed to work just fine on a floppy
> however. Now in hunting down the problem, I came across a reference in
> the man pages stating that mounting msdos filesystems created by
> MSDOS versions after 3.3 could be problematic. Is this still true and
> is this what I'm seeing? If not... any other clues from the collective
> wisdom of CUBFM?
> 
> TIA
> 
> -klaus

The problem seems to be filesystems with 16k cluster sizes (>1028Mb).
If you're encountering this problem, you'll see an error about cluster
sizes when you mount the partition.  Umount it immediately or risk
trashing the whole system.

The only time I've seen something similar to what you're
describing is using the shareware XFS software (NFS server
for MSDOS).  FreeBSDs NFS implementation would do very strange
things - I think it was something to do with the size of the
file type attribute being returned to the FreeBSD box.  When
you did an "ls" of the top level NFS directory, you'd get a
recursive listing, but "find" would just show you the top
level directory (unless things got buffered, then they got
better).

I'd suggest doing a dos SCANDISK.EXE on the dos filesystem
in question and making sure that it's cluster size is <= 8k.

-- 
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !