The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: sms@2BSD.COM (Steven M. Schultz)
Subject: [pups] Progress on 2.11BSD kernel
Date: Fri, 21 Mar 2003 10:33:00 -0800 (PST)	[thread overview]
Message-ID: <200303211833.h2LIX0N06827@moe.2bsd.com> (raw)

Hi -

> From: "Ian King" <iking at killthewabbit.org>
> I tried changing the partition type with disklabel -e -r but, when I exited
> vi, I got an error message saying that the type I'd provided was not valid.
> Viewing the label (with disklabel -r) showed the fstype set to 'unknown'.

	"unknown" or "unused"

	On my virtual 11 I see disklabel report:

8 partitions:
#        size   offset    fstype   [fsize bsize]
  a:    16720        0   2.11BSD     1024  1024         # (Cyl.    0 - 39)
  b:     8360    16720      swap                        # (Cyl.   40 - 59)
  c:   340670        0    unused     1024  1024         # (Cyl.    0 - 814)
  h:   315590    25080   2.11BSD     1024  1024         # (Cyl.   60 - 814)

> Just for grins, I tried modifying the drive type, too - no success there,
> either.  The disklabel utility isn't having any of that; again it claims
> 'unknown'.

	Ah, that says something is corrupt somewhere.

	If you look at /usr/include/sys/disklabel.h you'll see the
	table of filesystem types:

static char *fstypenames[] = {
        "unused",
	"swap",
	"Version 6",
	"Version 7",
	"System V",
	"2.11BSD",
	"Eighth Edition",
	"4.2BSD",
	"MSDOS",
	"4.4LFS",
	"unknown",
	"HPFS",
	"ISO9660",
	0
};

	So for 'unknown' to appear there would need to be a 10 in the type
	field instead of a 5 (for "2.11BSD").   'unused' is a 0 obviously.

	Try booting up a standalone disklabel and see what it says without
	a kernel getting involved.

	Steve



             reply	other threads:[~2003-03-21 18:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 18:33 Steven M. Schultz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-21 18:26 Steven M. Schultz
2003-03-19 23:52 Steven M. Schultz
2003-03-19 23:08 Steven M. Schultz
2003-03-19 23:15 ` David Evans
2003-03-19 23:34 ` Johnny Billquist
2003-03-19 19:09 Steven M. Schultz
2003-03-19 19:30 ` David Evans
2003-03-19 19:06 Carl Lowenstein
2003-03-19 19:14 ` David Evans
2003-03-19 20:12 ` David C. Jenner
2003-03-19 17:51 Steven M. Schultz
2003-03-19 18:08 ` David Evans
2003-03-19 17:36 Steven M. Schultz
2003-03-19 17:46 ` David Evans
2003-03-19 18:24 ` Ian King
2003-03-19 18:59   ` David Evans
2003-03-21 18:08 ` Ian King
2003-03-19  7:44 Ian King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200303211833.h2LIX0N06827@moe.2bsd.com \
    --to=sms@2bsd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).