From owner-doc-jp@jp.freebsd.org  Tue Apr 16 18:11:43 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id SAA22208
	Tue, 16 Apr 1996 18:11:43 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with SMTP id SAA22203
	for <doc-jp@jp.freebsd.org>; Tue, 16 Apr 1996 18:11:37 +0900 (JST)
Received: (from nakai@localhost) by kinokuniya.TokyoNet.AD.JP (8.6.12+2.4W/3.4W4) id SAA20608; Tue, 16 Apr 1996 18:10:47 +0900
Message-Id: <199604160910.SAA20608@kinokuniya.TokyoNet.AD.JP>
To: doc-jp@jp.freebsd.org
cc: nakai@TokyoNet.AD.JP
Date: Tue, 16 Apr 1996 18:10:47 +0900
From: Yukihiro Nakai <nakai@TokyoNet.AD.JP>
Reply-To: doc-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: doc-jp 99
Subject: [doc-jp 99] The Muzui Basho
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org


	$B$J$+$$!wElBg$G$9!#(B

	FAQ$B$rLu$7$F$$$k$N$G$9$,!"(Bdisklabel$B%3%^%s%I$K$D$$$F$N2U=j$G(B
	$B$o$+$i$J$$$H$3$m$,$"$j$^$9!#(B

	block device$B$N$+$o$j$K(Braw device$B$r;H$&!"$H$"$j$^$9$,!"(B
	$B2?$N$3$H$G!"$I$N$h$&$KLu$;$P$$$$$N$G$7$g$&!#(B
	$B$o$+$kJ}$O$I$&$>65$($F2<$5$$!#(B

$BLu$7$+$1$NK\BN$O$3$3$+$i(B
---------
      <sect1>
	<heading>$B?7$7$$(BSCSI$B%I%i%$%V$K(Bdisklabel$B$r$7$h$&$H$9$k$H$-$K$$$m$$$m$J(B
	  $BLdBj$,5/$3$j$^$9!#(B</heading>

	<p><tt>/etc/disktab</tt>$B$K%(%s%H%j$r$D$12C$($?$N$G$9$,!"%I%i%$%V$K(B
	  $B%i%Y%k$r$D$1$h$&$H$7$?$i<!$N$h$&$J$3$H$,5/$3$C$F$7$^$$$^$9!'(B
          <verb>
            mips# disklabel -w /dev/sd1 sea32550N
            disklabel: ioctl DIOCWDINFO: Operation not supported by device
          </verb>
	  $B$$$C$?$$$I$s$J$3$H$r$d$i$+$7$F$7$^$C$?$N$G$7$g$&!)(B

          $B2sEz!'(B<newline>
	  $B$&$^$/<B8=$9$k$K$O(B<tt/disklabel/ ($B$=$l$H(B <tt/fdisk/)$B$r;H$&$N$h$j$O(B
	  $B$*$=$i$/(B<tt/sysinstall/$B$r;H$C$?$[$&$,NI$$$G$7$g$&!#(B<tt/disktab/ $B$N(B
	  $B%(%s%H%j$,@5$7$$$H$9$k$H!"<!$N$h$&$K$9$k$H(B<bf/$B2?$bF~$C$F$$$J$$(B/ 
	  $B%G%#%9%/$NA4BN$K(BFreeBSD-2.1.0$B$r:\$;$k$3$H$,$G$-$^$9!#(B
          <verb>
            disklabel -r -w /dev/rsd1 sea32550N
                      ^^         ^
          </verb>
	  $B$O$8$a$N(B <tt/-r/ $B$O?7$7$$%i%Y%k$r=q$-9~$`$N$KI,MW$G!"%V%m%C%/%G%P%$%9(B
	  $B$NBe$o$j$K%m%&%G%P%$%9$r;H$&$3$H$O$9$0$l$?9)IW$G$9!#(B
          The first <tt/-r/ is essential for writing new labels and using
          the raw device instead of the block device is good technique.  To
          be ``empty'' the disk should have 0's at critical points on the
          first two sectors.  In particular, the 2 byte signature at the
          end of the first sector must not be <tt/0xaa55/ or the disk will
          be interpreted as having a slice (partition) table and it will be
          difficult to write to it where you want unless the slice table is
          initialized correctly.  All bootable hard disks will have the
          <tt/0xaa55/ signature so they won't be empty.  Empty disks may be
          created by copying zeros over the first 2 sectors:

          <verb>
            dd if=/dev/zero of=/dev/rsd1 bs=1k count=1
          </verb>
