Re: Format floppy problem

2004-03-16 Thread Shantanoo
+++ Stephen Liu [freebsd] [17-03-04 10:22 +0800]:
| On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
| > On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
| > >
| > > FreeBSD 5.2
| > > ==
| > >
| > > Floppies formatted on M$Win can be mounted, copied files to and read,
| > > etc.
| > >
| > > But floppies formatted on FreeBSD with
| > >
| > > $ fdformat /dev/fd0
| > > Format 1440K floppy `/dev/fd0'? (y/n): y
| > > Processing  done.
| > >
| > > they could not be mounted
| > >
| > > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
| > > msdosfs: /dev/fd0: Invalid argument
| > >
| > > I tested 3 floppies with the same result.  Kindly advise how to fix this
| > > problem.  Is there a special format floppy command for FreeBSD.
| > >
| >
| > Try your mount command again without the "-t msdos" since it isn't a
| > dos formatted disk.
| 
| Hi Terry,
| 
| $ mount /dev/fd0 /usr/home/user/floppy
| mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
| $ mount -t vfat /dev/fd0 /usr/home/user/floppy
| mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
| $ mount -t msdos /dev/fd0 /usr/home/user/floppy
| msdosfs: /dev/fd0: Invalid argument
| 
| Stephen
| 

man fdformat
man newfs_msdos
man mount_msdos

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Stephen Liu
- snip -
> > > $ fdformat /dev/fd0
> > > Format 1440K floppy `/dev/fd0'? (y/n): y
> > > Processing  done.
> > >
> > > they could not be mounted
> > >
> > > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> > > msdosfs: /dev/fd0: Invalid argument
> > >
> > > I tested 3 floppies with the same result.  Kindly advise how to fix
> > > this problem.  Is there a special format floppy command for FreeBSD.
> > >
- snip -

> If you want to format a floppy with the FAT format for use in a Windows
> system, try:
>
> #!/bin/sh
> # Format a DOS floppy  TMJ 1999-05-15
> fdformat -f 1440 fd0
> newfs_msdos -f 1440 fd0
>
> You can then mount it as
> mount -t msdos /dev/fd0 /mnt
>
> The other method is to format it with the UFS filesystem, by:
>
> #!/bin/sh
> # Floppy formats:
> #
> # To make a filesystem on a floppy:
> #   fdformat [-f ] fd[.]
> #   disklabel -B -r -w fd[.] fd
> #   newfs  fd[.]
> fdformat -q fd0.1440
> disklabel -B -r -w fd0.1440 fd1440
> newfs -c 1 fd0.1440
>
> These can be mounted by
> mount /dev/fd0 /mnt
> but cannot be used on a Windows system.

Hi Mike, Prodigy and other folks

Thanks for your advice.  Problem is now solved.

B.R.
Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Mike Jeays
On Tue, 2004-03-16 at 11:39, Prodigy wrote:
> When u formated your floppy, u have to use disklabel to label floppy disc:
> disklabel -w -r /dev/fd0 fd1440
> 
> and then u have to make new file system on that floppy:
> newfs /dev/fd0
> 
> That's all, now u can mount your floppy disc.
> 
> > Hi folks,
> >
> > FreeBSD 5.2
> > ==
> >
> > Floppies formatted on M$Win can be mounted, copied files to and read, etc.
> >
> > But floppies formatted on FreeBSD with
> >
> > $ fdformat /dev/fd0
> > Format 1440K floppy `/dev/fd0'? (y/n): y
> > Processing  done.
> >
> > they could not be mounted
> >
> > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> > msdosfs: /dev/fd0: Invalid argument
> >
> > I tested 3 floppies with the same result.  Kindly advise how to fix this
> > problem.  Is there a special format floppy command for FreeBSD.
> >
> > TIA
> >
> > Stephen Liu
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

If you want to format a floppy with the FAT format for use in a Windows
system, try:

#!/bin/sh
# Format a DOS floppy  TMJ 1999-05-15
fdformat -f 1440 fd0
newfs_msdos -f 1440 fd0

You can then mount it as
mount -t msdos /dev/fd0 /mnt

The other method is to format it with the UFS filesystem, by:

#!/bin/sh
# Floppy formats:
#
# To make a filesystem on a floppy:
#   fdformat [-f ] fd[.]
#   disklabel -B -r -w fd[.] fd
#   newfs  fd[.]
fdformat -q fd0.1440
disklabel -B -r -w fd0.1440 fd1440
newfs -c 1 fd0.1440

These can be mounted by
mount /dev/fd0 /mnt
but cannot be used on a Windows system.




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Terry L. Tyson Jr.
On Wed, Mar 17, 2004 at 10:22:29AM +0800, Stephen Liu wrote:
> On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
> > On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
> > >
> > > FreeBSD 5.2
> > > ==
> > >
> > > Floppies formatted on M$Win can be mounted, copied files to and read,
> > > etc.
> > >
> > > But floppies formatted on FreeBSD with
> > >
> > > $ fdformat /dev/fd0
> > > Format 1440K floppy `/dev/fd0'? (y/n): y
> > > Processing  done.
> > >
> > > they could not be mounted
> > >
> > > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> > > msdosfs: /dev/fd0: Invalid argument
> > >
> > > I tested 3 floppies with the same result.  Kindly advise how to fix this
> > > problem.  Is there a special format floppy command for FreeBSD.
> > >
> >
> > Try your mount command again without the "-t msdos" since it isn't a
> > dos formatted disk.
> 
> Hi Terry,
> 
> $ mount /dev/fd0 /usr/home/user/floppy
> mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
> $ mount -t vfat /dev/fd0 /usr/home/user/floppy
> mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
> $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> msdosfs: /dev/fd0: Invalid argument
> 
> Stephen

Oops. See first the explainations of formatting by Prodigy and
Cordula's Web. Then try the command. ;-)

--
Terry L. Tyson Jr.
Baytown, Texas USA
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Stephen Liu
On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
> On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
> >
> > FreeBSD 5.2
> > ==
> >
> > Floppies formatted on M$Win can be mounted, copied files to and read,
> > etc.
> >
> > But floppies formatted on FreeBSD with
> >
> > $ fdformat /dev/fd0
> > Format 1440K floppy `/dev/fd0'? (y/n): y
> > Processing  done.
> >
> > they could not be mounted
> >
> > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> > msdosfs: /dev/fd0: Invalid argument
> >
> > I tested 3 floppies with the same result.  Kindly advise how to fix this
> > problem.  Is there a special format floppy command for FreeBSD.
> >
>
> Try your mount command again without the "-t msdos" since it isn't a
> dos formatted disk.

Hi Terry,

$ mount /dev/fd0 /usr/home/user/floppy
mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
$ mount -t vfat /dev/fd0 /usr/home/user/floppy
mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Cordula's Web
> Floppies formatted on M$Win can be mounted, copied files to and read, etc.
> 
> But floppies formatted on FreeBSD with
> 
> $ fdformat /dev/fd0
> Format 1440K floppy `/dev/fd0'? (y/n): y
> Processing  done.
> 
> they could not be mounted
> 
> $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> msdosfs: /dev/fd0: Invalid argument

Did you forget to write a filesystem on the floppy, e.g. with
newfs_msdos(8)? fdformat is only for low-level formatting...

> I tested 3 floppies with the same result.  Kindly advise how to fix this 
> problem.  Is there a special format floppy command for FreeBSD.

-- 
Cordula's Web. http://www.cordula.ws/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Prodigy
When u formated your floppy, u have to use disklabel to label floppy disc:
disklabel -w -r /dev/fd0 fd1440

and then u have to make new file system on that floppy:
newfs /dev/fd0

That's all, now u can mount your floppy disc.

> Hi folks,
>
> FreeBSD 5.2
> ==
>
> Floppies formatted on M$Win can be mounted, copied files to and read, etc.
>
> But floppies formatted on FreeBSD with
>
> $ fdformat /dev/fd0
> Format 1440K floppy `/dev/fd0'? (y/n): y
> Processing  done.
>
> they could not be mounted
>
> $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> msdosfs: /dev/fd0: Invalid argument
>
> I tested 3 floppies with the same result.  Kindly advise how to fix this
> problem.  Is there a special format floppy command for FreeBSD.
>
> TIA
>
> Stephen Liu
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Format floppy problem

2004-03-16 Thread Terry L. Tyson Jr.
On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
> Hi folks,
> 
> FreeBSD 5.2
> ==
> 
> Floppies formatted on M$Win can be mounted, copied files to and read, etc.
> 
> But floppies formatted on FreeBSD with
> 
> $ fdformat /dev/fd0
> Format 1440K floppy `/dev/fd0'? (y/n): y
> Processing  done.
> 
> they could not be mounted
> 
> $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> msdosfs: /dev/fd0: Invalid argument
> 
> I tested 3 floppies with the same result.  Kindly advise how to fix this 
> problem.  Is there a special format floppy command for FreeBSD.
> 
> TIA
> 
> Stephen Liu

Try your mount command again without the "-t msdos" since it isn't a
dos formatted disk.

--
Terry L. Tyson Jr.
Baytown, Texas USA
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Format floppy problem

2004-03-16 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
==

Floppies formatted on M$Win can be mounted, copied files to and read, etc.

But floppies formatted on FreeBSD with

$ fdformat /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y
Processing  done.

they could not be mounted

$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

I tested 3 floppies with the same result.  Kindly advise how to fix this 
problem.  Is there a special format floppy command for FreeBSD.

TIA

Stephen Liu

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"