Subject: Re: formatting an ext2fs partition ?
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 02/25/2000 11:14:07
> does someone know if it's possible to format an ext2fs primary
> partition under NetBSD/i386 ?

Most disks can't format less than the whole drive, as far as I can tell
(floppies being the major exception; they are usually able to format
individual tracks).

You also essentially never need to reformat a drive these days.

If you mean "format" in the DOS-corrupted sense of "make a filesystem
on", what you need is a newfs_ext2fs, and AFAICT we don't ship one, so
the answer would be "no, at least not with stock tools".

> I checked packges related to linux (emulators/suse_*) but (of course
> ?) linux tool 'mkfs' is not supplied.

It probably would be comparatively little work to take the linux source
to newfs, mkfs, whatever they call it, and build it - especially under
Linux emulation.  But admittedly I've never tried it; I could be wrong.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B