Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 01:01:15 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        hackers@freebsd.org
Subject:   Re: memstick.img is bloated with 7% 2K blocks of nulls
Message-ID:  <20110212010115.000066db@unknown>
In-Reply-To: <201102120055.p1C0swnC069033@fire.js.berklix.net>
References:  <20110211192227.00002188@unknown> <201102120055.p1C0swnC069033@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Feb 2011 01:54:58 +0100
"Julian H. Stacey" <jhs@berklix.com> wrote:

> 	 -O filesystem-type
>              Use 1 to specify that a UFS1 format file system be
> built; use 2 to specify that a UFS2 format file system be built.  The
> default format is UFS2.
> If anyone fancies looking deeper, please do :-)

I checked with dumpfs that memstick.img is UFS1.

Also, mounting /dev/md0 confuses the kernel into ultimately panic'ing,
since /dev/md0a is the proper slice. For the mfsroot.gz file from the
CD ISOs:

# mdconfig -a -f mfsroot
md0
# mount /dev/md0a /mnt
# ls /mnt
ls: /mnt: Bad file descriptor
# cd /mnt
cd: /mnt: Not a directory
# vim /mnt

panic: ffs_read: type 0

kdb_enter()
panic()
ffs_read()
vn_read
dofileread()
kern_readv()
read()
syscallenter()
syscall()
Xfast_syscall()

-- 
Bruce Cran



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