Mount a Floppy Drive
This is theoretical because I don't actually have a floppy drive to mount but I am studying for the Linux+. I am using OpenSuse
The example is: mount -t ext2 /dev/fd0 /mnt/floppy and I understand why and what..but Ok first of all there was no file called "fd0" under /dev, nor is there a file called floppy; so I created one with touch.(touch fd0)..no problem What I don't understand is that /mnt/floppy does not work since there is no file called floppy anyware. Since there is no file named "Floppy" under /dev or /mnt then this does not work, I get an error; no such file. However, if I really did have a floppy to mount then would "floppy" appear under /mnt..so I could do a /mnt/floppy without adding the file floppy? I know exactly what I said I hope you do Thanks in advance.. |
Quote:
Code:
# mkdir /mnt/floppy |
Ok yea, I made the /dev/fd0 I just was not sure about the /mnt/floppy..should I make those in my /etc/fstab file. According to this text all mount points should be in the /etc/fstab file. For instance I checked my /etc/fstab and I didn't have any files for cdrom or usb. So if I wanted to mount those then I would have to make a mount point in the fstab file correct? Then the mount would be automatic....I think.
Thanks.. |
You have an entry in /etc/fstab for each drive or partition you want automatically to be mounted at boot. Usually removable drives like floppy, cdrom, usb sticks, zip drives and so on... are not included in /etc/fstab because it would require that a floppy disk or a CD is actually inserted in the proper drive at boot time.
Quote:
|
It's called Linux+ Guide to Linux Certification, Second Edition. By Jason W. Eckert and M. John Schitka. It's CompTIA certified and was highly recommended...so...this particular part of mounting I understand the theory but I'm having a hard time with the mechanics. Like having to manually create the /dev/fb0 and /mnt/floppy..this is what the book says
"To save time typing on the command line, you can alternatively specify one argument and allow the system to look up the remaining information in the /etc/fstab (filesystem) file. The /etc/fstab file has a dual purpose; it is used to mount devices at boot time and is consulted when a user does not specify enough arguments on the command line when using the mount command" that last part of the last sentence "and is consulted...." tells me the info has to be in the /etc/fstab when mounting manually. ??? |
It just tells that you can spare some typing when using the mount command if there is a corresponding device or mount point in /etc/fstab. For example you can do
Code:
mount /dev/fd0 Code:
$ mount /dev/fd0 |
It's ok because I ran into another barrier anyway. After doing touch /dev/fd0 and
touch /mnt/floppy I ran mount -t ext2 /dev/fd0 /mnt/floppy; I got an error stating the fd0 is not a block device (touch doesn't do it) so I tried the mknod command but since there never was a fd0 file it did not have the major and minor numbers (even though I did through 2 and 0 in there)...think I will move on to cdrom and skip the rest of this one, The funny thing is I really am getting an external floppy drive next week to make some boot disk; I'll figure it out..thanks |
Quote:
|
All times are GMT -5. The time now is 05:51 AM. |