Date: Wed, 20 Mar 96 12:54:22 MET From: Greg Lehey <lehey.pad@sni.de> To: phang@cpm.com.my Cc: questions@freebsd.org Subject: Re: newfs on a floppy disk Message-ID: <199603201157.MAA22788@nixpbe.pdb.sni.de> In-Reply-To: <XFMail.960320123034.phang@cpm.com.my>; from "k.k phang" at Mar 20, 96 12:17 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Can someone out there tell me how to construct a new file system on a
> floppy disk?
>
> This was my attempt, no luck.
>
> cluck: {10} disklabel -r -w /dev/rfd1a floppy3
> cluck: {11} newfs /dev/rfd1a
> Warning: Block size and bytes per inode restrict cylinders per group to 5.
> Warning: 1216 sector(s) in last cylinder unallocated
> /dev/rfd1a: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors
> 1.4MB in 1 cyl groups (5 c/g, 10.00MB/g, 4448 i/g)
> super-block backups (for fsck -b #) at:
> 32,
> clusk: {12}
I discuss this problem in some detail in the forthcoming book,
"Installing and Running FreeBSD", available from Walnut Creek Real
Soon Now. Basically:
- You need to tell newfs the number of cylinders and heads. This is
probably a bug:
$ newfs -t 2 -u 18 /dev/rfd1a
- You probably don't want to create a ufs file system on diskette.
ufs is optimized for performance, not for space, and you won't get
more than about 1190 kB on a 3 1/2" disk. Consider using tar or
cpio instead, or a DOS file system if you want to exchange data with
DOS.
Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603201157.MAA22788>
