Subject: bin/13539: file(1) reports big-endian ffs as little-endian
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dbj@netbsd.org>
List: netbsd-bugs
Date: 07/23/2001 05:37:32
>Number:         13539
>Category:       bin
>Synopsis:       file(1) reports big-endian ffs as little-endian
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 23 02:39:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Darrin B. Jewell
>Release:        NetBSD 1.5.1
>Organization:
>Environment:
	
System: NetBSD rocinante.zlz.net 1.5.1 NetBSD 1.5.1 (ROCINANTE) #7: Mon Jun 18 03:37:42 EDT 2001 dbj@rocinante.zlz.net:/u0/usr/src/sys/arch/i386/compile/ROCINANTE i386


>Description:
The file(1) command incorrectly reports a big-endian ffs as
little-endian.  This was a typo in my patch submitted in PR 13423

>How-To-Repeat:
run file(1) on a big endian ffs filesystem
>Fix:

Index: filesystems
===================================================================
RCS file: /cvsroot/basesrc/usr.bin/file/magdir/filesystems,v
retrieving revision 1.5
diff -u -r1.5 filesystems
--- filesystems	2001/07/22 22:53:04	1.5
+++ filesystems	2001/07/23 09:36:53
@@ -76,7 +76,7 @@
 >8320	lelong		0		TIME optimization
 >8320	lelong		1		SPACE optimization
 
-9564	belong		0x00011954	Unix Fast File system (little-endian),
+9564	belong		0x00011954	Unix Fast File system (big-endian),
 >8404	string		x		last mounted on %s,
 >9504	bedate		x		last checkd at %s,
 >8224	bedate		x		last writen at %s,

>Release-Note:
>Audit-Trail:
>Unformatted: