FBSD 8.2 and USB Floppies

2011-07-18 Thread James Colannino

Hey everyone,

I have a FBSD 8.2 install.  I've been trying to mount DOS formatted 
floppy disks via a USB floppy drive, and have been getting the following 
error every time:


cannot mount /dev/da0: invalid argument

I was curious to see what would happen if I created a UFS filesystem on 
the floppy and tried to mount it.  So, I issued the following command:


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.


I can provide dmesg output, if necessary.

Thanks!

James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FBSD 8.2 and USB Floppies

2011-07-18 Thread Pegasus Mc Cleaft
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

Peg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FBSD 8.2 and USB Floppies

2011-07-18 Thread Polytropon
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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FBSD 8.2 and USB Floppies

2011-07-18 Thread James Colannino

On 07/18/11 11:57, 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


Not sure if this would work with a UFS filesystem :)  I did try this 
when the disk was formatted with a DOS filesystem, however, and I still 
got the same error.


James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"