Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dom0 kernel immediate reboot?



On Fri, 14 Sep 2007 13:17:10 +0200 Christoph Egger wrote:
> On Friday 14 September 2007 12:15:38 Sarton O'Brien wrote:
[snip]
> > Umm ... which one is right??
> >
> > $ df /dev/wd0a
> > Filesystem   1K-blocks        Used      Avail %Cap Mounted on
> > /dev/wd0a       198831      45824     143066  24% /
> >
> > $ dumpfs /dev/wd0a|grep -i ffs
> > cylgrp  dynamic inodes  4.4BSD  sblock  FFSv2   fslevel 4
> >
> > $ scan_ffs /dev/wd0
> > Disk: WDC WD800JD-75M
> > Total sectors on disk: 156250000
> > FFSv1 at 63 size 410256, last mounted on /
> >
> > Now I'm just lost :P
> >
> > Seriously though is there something else I can use to point the finger at
> > which one is wrong?
> 
> dumpfs is correct. scan_ffs was imported from OpenBSD at a time, there
> was no FFSv2 support in OpenBSD. Now OpenBSD supports FFSv2.
> => scan_ffs needs re-imported.

The wd0a is FFSv1. scan_ffs shows correct info, and dumpfs show that
inodes are 4.4BSD (which is FFSv1). Don't know why it show superblock
as FFSv2 though. Well, I'm pretty sure that the following command
should display the correct result:

        dumpfs -s /dev/wd0a | grep '^magic'

--
Mishka.



Home | Main Index | Thread Index | Old Index