Subject: Re: newfs_msdos & mount_msdos & zip
To: flav astraud <flav.astraud@epita.fr>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-users
Date: 05/03/2000 06:51:58
On Wed, 3 May 2000, flav astraud wrote:

> I would like to use a zip disk on a netbsd-1.4.1, but when I try to do a 
> newfs_mdos I obtain:
> 
> @nightmare ~# newfs_msdos /dev/sd0d
> newfs_msdos: Cannot determine size, must use -f format

Try this:

	disklabel sd0 >/tmp/lbl
	vi /tmp/lbl	# make an "a", same size as "d" and "c",
			# type of "MSDOS".
	disklabel -W sd0
	disklabel -R -r sd0 /tmp/lbl
	disklabel -N sd0
	newfs_msdos /dev/rsd0a

> so I try:
> 
> @nightmare ~# newfs_msdos -f 97656 /dev/sd0d
> newfs_msdos: Cannot find format description for 97656 KB

The "-f" expects a matching entry in /etc/floppytab. "floppytab" is
used by "fdformat", too, so it's not really appropriate. To save steps
with other zip disks, I would simply save a text label, like so

	disklabel sd0 >/etc/disklabel/ZipDos