Subject: bin/1353: determining level of filesystem difficult
To: None <gnats-bugs@NetBSD.ORG>
From: None <abs@mono.city.ac.uk>
List: netbsd-bugs
Date: 08/13/1995 19:12:04
>Number:         1353
>Category:       bin
>Synopsis:       determining level of filesystem difficult
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 13 14:35:01 1995
>Last-Modified:
>Originator:     David Brownlee
>Organization:
Monochrome
>Release:        Jun 9th 1995
>Environment:
sparc, 1.0A, current
System: NetBSD gluon.city.ac.uk 1.0A NetBSD 1.0A (GLUON) #1: monoadm@gluon.city.ac.uk:/mono/u1/NetBSD/src/sys/arch/sparc/compile/GLUON sparc

>Description:

	The man page for fsck states:
	    'The format of a filesystem can be determined from the
	     first line of output from dumpfs(8)'.

	Two points - the first (trivial) is it appears to be the second line 
	not the first line of the output, and the other is that for a
	sunos filesystem I get  "cylgrp  dynamic inodes  4.2/4.3BSD"
	and for a level 3 I get "cylgrp  dynamic inodes  4.4BSD".
	Nowhere is it documented what level 0, 1, 2, and 3 relate to
	in this output.
	I think there should be a simple number in the output of dumpfs
	that corresponds to the arguments given to 'fsck -c', otherwise
	the only way I have of really knowing the level of a filesystem
	is to 'fsck -c' it and abort!
>How-To-Repeat:
	Have some filesystems you do not know the level of, then try to work
	out the level.
>Fix:
>Audit-Trail:
>Unformatted: