Re: msdos FS bug

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Mon, 06 Jul 1998 20:29:41 -0300


In message <Pine.LNX.3.96.980706193911.693B-100000@eiterra>, "Phillip R.
Jaenke
" writes:
+-----
| On Mon, 6 Jul 1998, Brandon S. Allbery KF8NH wrote:
| > What looks like TRASH to us doesn't always look that way to the computer.
| When ls tries to execute stuff fmom the listing, that's most definitely
| trash. That was one of the things I first noticed.
+--->8

Every so often one runs into garbage files with escape sequences in them (ls
doesn't "execute" anything, it only lists; I presume therefore that the
console driver responds to ls's output). Is this a nonexistent filesystem,
or an application bug, or user braindamage? Might be any of the three.

| > So we have to execute the boot block (read: *boot* it) or interpret it
| No. The boot block is sector 0, AKA the MBR. Which is outside the
+--->8

Partitions have boot blocks as well.

Reiteration: *MS-DOS doesn't have a superblock*. The filesystem metadata
are encoded into the boot block... but you can't always tell that what's
there is valid. And some versions of DOS don't bother to fill in all the
pieces.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering
carnegie mellon university			   (bsa@kf8nh is still valid.)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu