From owner-freebsd-questions Mon May 12 06:49:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA11211 for questions-outgoing; Mon, 12 May 1997 06:49:18 -0700 (PDT) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA11193 for ; Mon, 12 May 1997 06:49:07 -0700 (PDT) Received: by mail.EUnet.hu, id PAA09844; Mon, 12 May 1997 15:48:50 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id NAA00930; Mon, 12 May 1997 13:25:25 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199705121125.NAA00930@CoDe.hu> Subject: Re: ?mount fd0 To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Mon, 12 May 1997 13:25:25 +0200 (MET DST) Cc: sysadm@ns.sirena.ru In-Reply-To: <199705081128.PAA04525@ns.sirena.ru> from Chemisov Sergey at "May 8, 97 03:28:39 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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"