Date: Thu, 21 Mar 1996 08:58:21 SGT From: "k.k phang" <phang@cpm.com.my> To: Jerry Kendall <jerry@border.com> Cc: questions@FreeBSD.org Subject: Re: newfs on a floppy disk Message-ID: <XFMail.960321091227.phang@cpm.com.my> In-Reply-To: <96Mar20.093357est.18435-1@janus.border.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20-Mar-96 Jerry Kendall wrote:
>
>try 'disklabel -r -w fd1 floppy3'....
>
>Basically you want to put the label on /dev/rfd1c not /dev/rfd1a.
>
>/dev/rfd1a is where you do the 'newfs' ie: 'newfs /dev/rfd1a'...
>
cluck: {13} disklabel -r -w fd1 floppy3
cluck: {14} 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,
cluck: {15} mount /dev/fd1 /mnt
cluck: {16} df /mnt
Filesystem  512-blocks     Used    Avail Capacity  Mounted on
/dev/fd1          1711        1     1573     0%    /mnt
cluck: {17} umount /mnt
:( No luck ...
Anyway Greg Lehey seem solve my problem
>-You need to tell newfs the number of cylinders and heads.  This is
>  probably a bug:
>
>  $ newfs -t 2 -u 18 /dev/rfd1a
cluck: {18} newfs -t 2 -u 18 /dev/rfd1a
/dev/rfd1a:     2880 sectors in 80 cylinders of 2 tracks, 18 sectors
        1.4MB in 5 cyl groups (16 c/g, 0.28MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
 32, 632, 1184, 1784, 2336,
cluck: {19} mount /dev/fd1 /mnt
>  probably a bug:
>
>  $ newfs -t 2 -u 18 /dev/rfd1a
cluck: {18} newfs -t 2 -u 18 /dev/rfd1a
/dev/rfd1a:     2880 sectors in 80 cylinders of 2 tracks, 18 sectors
        1.4MB in 5 cyl groups (16 c/g, 0.28MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
 32, 632, 1184, 1784, 2336,
cluck: {19} mount /dev/fd1 /mnt
>  probably a bug:
>
>  $ newfs -t 2 -u 18 /dev/rfd1a
cluck: {18} newfs -t 2 -u 18 /dev/rfd1a
/dev/rfd1a:     2880 sectors in 80 cylinders of 2 tracks, 18 sectors
        1.4MB in 5 cyl groups (16 c/g, 0.28MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
 32, 632, 1184, 1784, 2336,
cluck: {19} mount /dev/fd1 /mnt
cluck: {20} df /mnt
Filesystem  512-blocks     Used    Avail Capacity  Mounted on
/dev/fd1          2567        1     2360     0%    /mnt
Thank for your help guys.
Cheers,
~phang
--
K.K Phang, Software Engineer Computer Protocol		
phang@cpm.com.my	
http://www.cpm.com.my
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.960321091227.phang>
