From owner-freebsd-questions Thu Jan 18 11:42:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sdf.lonestar.org (t3-d-static-237.adsl.directlink.net [63.68.131.237]) by hub.freebsd.org (Postfix) with ESMTP id CFE2037B400 for ; Thu, 18 Jan 2001 11:42:25 -0800 (PST) Received: (from brune@localhost) by sdf.lonestar.org (8.11.0/8.11.0) id f0IJeK828809; Thu, 18 Jan 2001 19:40:20 GMT Message-Id: <200101181940.f0IJeK828809@sdf.lonestar.org> Subject: Re: /dev/fd0 - big problems HELP !!! To: edvard@post.omnitel.net (Ed) Date: Thu, 18 Jan 2001 19:40:19 +0000 (GMT) From: "Corey Brune" Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <3A673052.A047AAED@post.omnitel.net> from "Ed" at Jan 18, 2001 07:05:06 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In my eariler reply, I had a typo, sorry. The correct syntax for the dd command is: dd if= of=/dev/rfd0. To check if you have an open file, try fstat -f /floppy (or wherever you have your floppy mounted). This may not be the case, since you are able to mount, format, and umount the device. After you 'cat file > /dev/fd0', what is the exit status? To get the exit status, you need to type $? after you issue the cat command. > > Hello dear people, > > Please remember, now you are my last hope ! I am sorry for my > mistakes. > > I can't do image with my floppy disk ! Now I'll explain you a > problem, > first time (3 days ago) I wanted to set kernel to floppy, so I > typed: > "cat /kernel > /dev/fd0" - it worked well ! But I don't wanted to > wait for > the end of this operation and I pressed CTRL-z or (CTRL-c), cat was > killed. > After one minute I wanted to copy another file, and I typed that > command one more time > and I being seeing the message: > "cat: stdout: Invalid argument", with "dd" I'm getting: "dd: stdout: > Invalid argument"! > But I can mount my floppy, format it, make files on it! It works > fine ! I can't only do > any work with /dev/fd0, or any other floppy device file, for example > /dev/fd0.1440, etc. > I think (I'm not sure) that it locked in kernel !? Because when I > trying that command: > "cat file > /dev/fd0", I haven't saw any floppy sound, it was like > dead! I think it's > in the kernel... > May be not completed work? I don't know, but I want to work with it, > I need it very much !!! > You are my last hope, please help !? > > Many thanks in advance - Ed > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message