*BSD News Article 53160


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.emf.net!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!news.sprintlink.net!EU.net!Austria.EU.net!newsfeed.ACO.net!swidir.switch.ch!scsing.switch.ch!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!fauern!lrz-muenchen.de!uni-regensburg.de!faui0n.informatik.uni-erlangen.de!uni-erlangen.de!news.tu-chemnitz.de!irz
401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: floppy disklabel problems
Date: 15 Oct 1995 17:35:22 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 41
Message-ID: <45rd8a$koi@uriah.heep.sax.de>
References: <45lu09$buo@no-names.nerdc.ufl.edu>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Keywords: floppy disklabel bootable

James F. Hranicky <jfh@cis.ufl.edu> wrote:

>[root@bounce-bsd:/root] # disklabel -w -B -b /usr/mdec/fdboot -s 
>/usr/mdec/bootfd /dev/rfd0a floppy

disklabel -r -w -B fd0 floppy

is better.

>[root@bounce-bsd:/root] # newfs /dev/rfd0a
>Warning: calculated sectors per cylinder (4096) disagrees with disk label (36)
>Warning: Block size and bytes per inode restrict cylinders per group to 5.
>Warning: 1216 sector(s) in last cylinder unallocated
>/dev/rfd0a:     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,
>------
>
>The info from df :
>
>[root@bounce-bsd:/root] # mount /dev/fd0a /mnt
>[root@bounce-bsd:/root] # df /mnt
>Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
>/dev/fd0a         855        0      786     0%    /mnt
>
>
>Am I doing something wrong? I can't even fit a kernel on here.
>Is there something else I'm supposed to do?

Perhaps reading the man page for newfs(8)? :-)

newfs -t 0 -u 0 -l 1 -i 65536 /dev/rfd0a

should be a better version to start with.  You've simply been wasting
too much space in useless i-nodes.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)