-
Re: Mounting Floppy Drive
Originally posted by Bold Jim
then enter this command in Konsole,
/dev/fd0 /floppy auto user,noauto 00
That line isn't a command that can be executed at the prompt; that's the entry that you would have in /etc/fstab for your floppy. You're getting the error because the shell thinks you want to run the command /dev/fd0, which, of course, isn't a command at all.
Originally posted by Bold Jim
And if I just try, mount /floppy I receive this,
linux:~ # mount /floppy
mount: can't find /floppy in /etc/fstab or /etc/mtab
Serz is probably right about this one- you don't have a /floppy directory. Check to see if a /mnt/floppy directory exists. If so, use that in your mount command instead. Also look in your /etc/fstab file, an entry for the floppy should have been automagically created when you installed the OS.
-
/etc/fstab is just a plain-text file; it can be opened and edited in any text editing program. If you're working from the command line, use vi/emacs/pico/etc.; if you're in the GUI use any of the graphical text editing programs that SuSE provides.
-
A sample /etc/fstab entry which will allow non-root users to access the floppy:
/dev/fd0 /media/floppy auto noauto,user 0 0
The user option is what allows a non-root user to mount/unmount removable media such as floppies, CD-ROMs, Zip disks, etc. The "users" option is another slight variation; read the mount man page for a description of the difference betwen the two.
A further breakdown on the options:
auto - automatically detect the format of the floppy (msdos, ext2, etc.)
noauto - do not automatically probe for and attempt to mount removable media at bootup. Since you probably won't usually have a floppy, CD-ROM, etc. inserted when you boot, this option speeds up the boot process a bit by bypassing the check for those disks.
-
Re: mount
Originally posted by michaelk
Even if bold jim entered the correct line in the /etc/fstab he still will not be able to mount the floppy by specifing a filesystem type. At least it doesn't work on my PC's.
?? It's always worked on my machines... as long as I use the correct syntax
-
[SOLVED]
[searching keywords]
/dev/fd0 mount SuSe fstab floppy user
-
Add
/dev/fd0 /media/floppy auto user,noauto 0 0
to /etc/fstab.
Ensure that /media/floppy exists as that is the default mountpoint that SuSE uses though it may not if your floppy drive was not detected during the installation.
See if
dmesg | grep fd0
gives you a response such as
Floppy drive(s): fd0 is 1.44M
-
Since you are using SuSE and as posted above, /media/floppy is the correct mountpoint.
ls -al /media
(look for floppy)
-
Originally posted by Bold Jim
As I understand it I have a floppy drive, so why can't I mount it,fedup and confused
Because you are not using the correct mountpoint?
For a dos/win formatted diskette that is inserted in the drive
mount -t msdos /dev/fd0 /media/floppy
For a ext2 (Linux) formatted diskette that is inserted in the drive.
mount -t ext2 /dev/fd0 /media/floppy
umount /media/floppy (before removing the diskette)
-
Have a look through the mount manpage (man mount) for the user/users option you add to the floppy mountpoint in /etc/fstab.
Searching the JL forums for 'floppy mount permission' or 'floppy mount user' should find other threads on the same topic.
-
Ensure that /media/floppy exists
Shouldn't that be /mnt/floppy?
Try:
> pico /etc/fstab
You must be root to do this.
James
-----------------------------
UseLinux.net
-----------------------------
perl -e 'use Math::Complex;$|=1;for$r(0..24){for$c (0..79){$C=cplx(($c/20.0)-3.0,-($r/12.0)+1.0);$Z= cplx(0,0);for($i=0;($i<80)&&(abs($Z)<2.0);$i++){$Z =$Z*$Z+$C;}print$i>=80?"*":" ";}print"\n";}'
-
Shouldn't that be /mnt/floppy?
SUSE uses /media instead of /mnt for its removable media directory.
Bold Jim
You have to be root to edit anything in /etc. All of the methods described opening a console window. Logging in as root via su and using a console text editor to modify the file.
I bet your just clicking on the file in Konqueror or other browser which doesn't open the file for writing. To open a file for writing in Konqueror right click on the file and select open with. Then select a text editor.
-
mount
Even if bold jim entered the correct line in the /etc/fstab he still will not be able to mount the floppy by specifing a filesystem type. At least it doesn't work on my PC's.
The user just uses the mount /media/floppy or mount /dev/fd0 ( in this case) command.
-
Originally posted by serz
Hmm, how are you doing this?
to add to that what text editor are you using? eg vi, kate
-
I am glad you were able to mount your floppy drive
and your welcome
-
It's probably /mnt/floppy.
mount /mnt/floppy
Post the contents of your /etc/fstab file.
djserz.com.ar
"All the drugs in this world won't save you from yourself..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|