Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 17:13:59 -0800
From:      Torben Brosten <torben@kappacorp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: error when trying to mount ext2fs harddisk, wrong magic nbr??
Message-ID:  <3F88AAD7.4060104@kappacorp.com>
References:  <3F87F0FD.6000406@kappacorp.com> <3F88680A.8080802@kappacorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm trying to decipher the error message:

ext2fs: #ad/0x000a: wrong magic number 0x8b6 (expected 0xef53)

I've been reading

man magic
man file

but I have limited C experience. I see the references to ext2 in 
/usr/share/misc/magic, particularly:

 >>0x43a  leshort  ^0x0000001 (mounted or unclean)

Since 0x8b6 is much greater than 0x43a, am I to conclude that the drive was 
umounted incorrectly? If so, is there a way to use 'file' or some other utility 
to edit the offending magic number to 0xef53?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F88AAD7.4060104>