I can mount a floppy, but can't transfer anything over?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
ExCIA: It sounds like you donít understand the concept of a mount point.
For mount to work, it needs a target location (i.e., a mount point) to link the device to. A mount point is just a folder/directory and it must preexist before using the mount command. Mount does not create the mount point. You create the mount point.
For example, in your first post, the fstab entry will only work if the folder /fd0 exists on the system.
The /media/... vs. /mnt/... directories are the typical locations where devices are mounted, but a mount point can be anywhere.
the fstab (filesystem table) is just a file listing mounts - that table can be used to automount filesystems at boot, or can be used as a shortcut, in that you only need to type the mountpoint if the mount is listed in fstab. in this case, the mountpoint is /media/floppy0, listed in fstab, so all you need is "mount /media/floppy0"
you can also do it manually, by identifying the device (/dev/fd0) and the mount point, plus any options, using the mount command. see "man mount" for lots of options and the command format.
sure you could change /media/floppy0 to anything you want, /media/fd0, /fd0, /mnt/floppy, or whatever. just make sure the directory exists before you try to mount to it. if not, use mkdir to make it
To add something to this. The default option in mount considaring the I/O is async. async: All I/O to the file system should be done asynchronously.
This way you give the freedom to the system to do the transfer whenever it likes. (usualy this is done when you umount the device).
If you want to force your system to copy the files when you type the transfer command (like windows do), you may use the sync option in fstab. sync: All I/O to the file system should be done synchronously.
But my expirience says that this is a bad practice, because most users forget to umount the floppy before they eject it.