1833368 Members
2823 Online
110052 Solutions
New Discussion

Mount floppy drive

 
Nobody's Hero
Valued Contributor

Mount floppy drive

I am trying to mount the floppy dive. I enter:

mount /dev/fd0 /temp
system responds to specify filesystem type

I tried
mount -t tmpfs /dev/fd0 /temp
it mounts but I dont see any data on the floppy

What filesystem type should I use so I can see the floppy data?
UNIX IS GOOD
8 REPLIES 8
Alexander Chuzhoy
Honored Contributor

Re: Mount floppy drive

Generally it should be vfat
however you're no suppose to explicitely specify the file system in such cases.RedHat versions of linux can mount it without the file system argument.

Maybe you have a problem with your floppy-try another one.
Paul Cross_1
Respected Contributor

Re: Mount floppy drive

If you are using a DOS/windows formatted floppy, just use the mtools commands.

examples:
#mdir a:
#mcopy /var/tmp/file a:

There is no need to mount the disk.
Nobody's Hero
Valued Contributor

Re: Mount floppy drive

floppy and drive are good. running rh9. i've tried every fstype, cant get it to mount. keeps saying wrong fstype. I'll try the mcopy feature.
UNIX IS GOOD
Fred Ruffet
Honored Contributor

Re: Mount floppy drive

Problem may be that you kernel has not been compiled with support for this FS...

When mounting your floopy into a windows box, what is reported as FS type ?

is this file system appears in result of
ls /lib/modules/$(uname -r)/kernel/fs
(this command displays kernel modules for FS)

FS that have support build in kernel can be seen like this :
more /proc/filesystems

Other point : floppies are generally vfat or msdos.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Sergejs Svitnevs
Honored Contributor

Re: Mount floppy drive

if your floppy was originally formatted on a Windows computer, try this command:
mount -t vfat /dev/fd0 /temp

Regards,
Sergejs
Claudio Cilloni
Honored Contributor

Re: Mount floppy drive

You can try to guess what kind of filesystem there's on your floppy:

# file -s /dev/fd0

maybe this helps...

Ciao
Claudio
Thomas Bianco
Honored Contributor

Re: Mount floppy drive

if i rememer correctly, default redhat kernels don't have Vfat complied in, or loaded. try instmod vfat then mount.

could be way off, it's been since 7 something since i used redhat.
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
David Asgeirsson
Valued Contributor

Re: Mount floppy drive

You can also use the following:

mount /mnt/floppy
ls /mnt/floppy ...

on most linux boxes I have seen.