From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 19:12:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB93106566B for ; Mon, 18 Jul 2011 19:12:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C748C8FC12 for ; Mon, 18 Jul 2011 19:12:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-103-124.dynamic.qsc.de [92.195.103.124]) by mx01.qsc.de (Postfix) with ESMTP id 3121E3CE90 for ; Mon, 18 Jul 2011 21:12:02 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6IJC14h004757 for ; Mon, 18 Jul 2011 21:12:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 18 Jul 2011 21:12:00 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20110718211200.d4dcd124.freebsd@edvax.de> In-Reply-To: <201107181957.03085.ken@mthelicon.com> References: <4E247F47.10609@colannino.org> <201107181957.03085.ken@mthelicon.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FBSD 8.2 and USB Floppies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 19:12:04 -0000 On Mon, 18 Jul 2011 19:57:02 +0100, Pegasus Mc Cleaft wrote: > On Monday 18 July 2011 19:45:27 James Colannino wrote: > > > > newfs /dev/da0 > > > > It was successful. I then tried to mount the new filesystem (mount > > /dev/da0 /mnt), and got the same error: invalid argument. Does FBSD > > have a problem mounting USB floppy disks? It's not a big deal, as my > > other USB storage devices seem to work, and as I have an ordinary floppy > > drive I can try, but that curious part of me wants to know why this > > isn't working. > > > > Have you tried: > > mount_msdosfs /dev/da0 /mnt You can alternatively use the "most portable file system" which isn't even a file system: it is tar. I've been using this approach among different UNIX, Linux and Solaris systems that didn't have network connections. The approach on FreeBSD is this: # fdformat -y /dev/da0 # tar cvf /dev/da0 files... and on the target system: # tar xvf /dev/da0 Add compression (z and j) if required. In this example, da0 represents the USB floppy drive; a regular one would be /dev/fd0. (Device names vary among UNIX and Linux systems.) Although this approach doesn't allow you to mount MS-DOS formatted floppies, it's a good check to see if writing and reading of the media works as intended. For the mount_msdos command mentioned above, check if you need additional masking flags as this file system doesn't understand UNIX permissions (and therefore files are often +x). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...