Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 1997 13:25:25 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        sysadm@ns.sirena.ru
Subject:   Re: ?mount fd0
Message-ID:  <199705121125.NAA00930@CoDe.hu>
In-Reply-To: <199705081128.PAA04525@ns.sirena.ru> from Chemisov Sergey at "May 8, 97 03:28:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
>                 Good day!
>         How make file sistem on floppi disk using mount command?
You cannot make file systems with mount.  You can make file systems with
newfs.  But first, you have to format your disk, and after it put a
disklabel into it:
fdformat fd0
(for a: floppy, and fd1 for b: floppy)
disklabel -r -w fd0 fd1200
(of course fd1 for b: floppy, and fd1440 if it's a 1.44M drive)
newfs fd0
(or fd1 ;-)

But first of it:
man fdformat
man disklabel
man newfs
man disktab
more /etc/disktab

Bye, Gabor
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705121125.NAA00930>