Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 1995 05:51:22 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@freebsd.org, jdl@chrome.onramp.net
Subject:   Re: /etc/disktab and stuff
Message-ID:  <199508301951.FAA19689@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 	disklabel -B -r -w sd1 xxx
>> 	newfs /dev/rsd1a
>> 	newfs ...		# any other partitions on disk
>> 
>> where xxx is a suitable entry that you wrote and put in /etc/disktab.

>Does it make sense to attempt to collect people's /etc/disktab entries
>and make them more available in the (next) released /etc/disktab?

No.  You would need a hundred entries for each of a few hundred disks
to get a reasonable coverage.

Something like the following should work, but I'm less sure about it:

	disklabel /dev/rsd1 >/etc/label.sd1	# get sub-minimal label
	vi /etc/label.sd1			# fix deficiencies in label;
						# partition as required
	disklabel -R -r sd1 /etc/label.sd1

>In particular, it seems to me that many of the questions that float
>down this list are fdisk/disklable related and maybe providing more
>example configurations there might mitigate some of those problems.

There are already examples in /etc/disktab.  You can judge from the
small size of the drives in this file how generally (not) useful it
is to add special entries to it.

Bruce



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