From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 08:01:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AEF237B401 for ; Mon, 14 Apr 2003 08:01:16 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C25D43FD7 for ; Mon, 14 Apr 2003 08:01:15 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with SMTP id h3EF0ipX059397; Mon, 14 Apr 2003 10:00:45 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) From: Eduardo Viruena Silva Received: from 200.67.206.87 (SquirrelMail authenticated user mrspock) by mail.esfm.ipn.mx with HTTP; Mon, 14 Apr 2003 10:00:45 -0500 (CDT) Message-ID: <64695.200.67.206.87.1050332445.squirrel@mail.esfm.ipn.mx> Date: Mon, 14 Apr 2003 10:00:45 -0500 (CDT) To: In-Reply-To: <200304141555.20116.a.carter@intrasoft.lu> References: <20030414083917.O58506@Gina.esfm.ipn.mx> <200304141555.20116.a.carter@intrasoft.lu> X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: problems with msdos floppies in 5.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 15:01:16 -0000 > Yeah, I am getting frustrated too... > > Ok, to at least mount, you can do this: > > mount_msdosfs /dev/fd0.1440 /mnt > I does not work either. I don't even have fd0.1440!!!! > However, I want mtools to work with it.../dev/fd0 doesn't work...And I > can't find info about setting up my floppy drive. Mtools reports: > > Can't open /dev/fd0.720: Permission denied > Well, this is an easy one: you have to give yourself permission to use that device, or doing that as root. I think the best way of doing this is creating a group of users that will be given permission of using the floppy drive. with your favorite editor, add a line in /etc/group, like this: fdusers:*:1000:root,your_name,your_friend1,...your_friendN and then, to give them permission of # devfs ruleset 10 # devfs rule add path "fd0*" group fdusers mode 666 # devfs rule applyset take a look at man devfs > 1) Why freebsd5 uses .720 as default is beyond me why I don't have fd0.1440? or sometimes I have it and sometimes not? I think this is a problem of devfs... > 2) How can I get mtools to use 1440 instead... you can change /usr/local/etc/mtools.conf [aprox line 29] it says: drive a: file="/dev/fd0" but, you want it to say: drive a: file="/dev/fd0.1440" > 3) I know it is a kernel option so that /dev/fd0 gets created properly, > BUT WHERE? > > Thanks, > > Anthony > > On Monday 14 April 2003 15:41, Eduardo Viruena Silva wrote: >> Hello pals! >> >> I'm running FreeBSD 5.0-RELEASE p7. >> >> I cannot mount msdos diskettes, I tried: >> >> mount -t msdos /dev/fd0 /mnt >> >> I get: >> >> # mount -t msdos /dev/fd0 /mnt >> msdosfs: /dev/fd0: Input/output error >> # >> >> I thought my diskette was damaged, or my drive broken, or my cable... >> I checked everything, I even bought a new floppy drive. Nothing. >> >> Now, with another computer, a very old one, I made a MS-DOS boot disk, >> I used it to boot the computer where the problem is happening and I >> could read and write files to my diskettes. >> >> I also tried mtools, and they didn't work either. >> >> # mdir >> plain_io: Input/output error >> init A: could not read boot sector >> Cannot initialize 'A:' >> # >> >> Any suggestions? >> >> Thanks in advance. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org"