MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everyone, I have searched these forums also Google and have
read all I can find on unmounting a floppy in MDK 10, but I can't seem
to figure out why I have to shut the system down in order to format a
floppy after I have written something to another floppy.
I know I am not the brightest bulb in the box, but if I read things
right, MDK 10 has automount and should unmount without a problem.
From what I have read there should be a unmount from the right click
menu on the floppy icon on the desktop, no cigar, there is no unmount
on the right click menu, only Open and Properties.
It should be logical for one to think, if it is this way on one system using
the same distro it should be the same for all. If this is not the case why
are they different. I have spent more time trying to get this thing to work
than I do getting my work done.
Originally posted by Mathieu Unlike the cd-rom, the automount feature for floppies is not perfect.
The best way is to it manually at the command line (console).
If you want to mount a floppy, type:
Code:
mount /mnt/floppy
To un-mount it, type:
Code:
umount /mnt/floppy
I appreciate the answer Mathieu but again, no cigar.
When I use the mnt command from the console (which I hate, I am no CLI person as I am always leaving something out, such a period, a comma or something and have to go back and search to see what went wrong) the floppy will not run and I get the following
message.
according to mtab, none is already mounted on /mnt/floppy
mount failed.
When I try to unmount I get this message:
umount: only root can unmount none from /mnt/floppy
Again, I am not the brightest bulb in the box but it sure seems to be very counterproductive to have a floppy drive which I should be able to use as both user and root but am only allowed to unmout as root which doesn't work either.
Actuall the problem is not with supermount (not that he is wrong btw), but rather that some floppy drives do not correctly report back a "status change" to the kernel which causes supermount to mount or unmount a floppy automatically.
With such brain dead floppies you'll need to do as he says and create a manual mount point.
you could also just simply do away with supermount by issuing the following command in terminal as root............
Code:
supermount -i disable
similarly, to re-enable it (if you want to do so)........
Code:
supermount -i enable
supermount/automount has always less than flawless (IMHO). i'd suggest just leaving it permanently disabled & mounting/unmount manually. you wouldn't even need to do that via CLI. just right click on a desktop icon for cdroms or floppys & choose "mount"/"umount" from the drop down list.
Originally posted by otish1000c you could also just simply do away with supermount by issuing the following command in terminal as root............
Code:
supermount -i disable
similarly, to re-enable it (if you want to do so)........
Code:
supermount -i enable
supermount/automount has always less than flawless (IMHO). i'd suggest just leaving it permanently disabled & mounting/unmount manually. you wouldn't even need to do that via CLI. just right click on a desktop icon for cdroms or floppys & choose "mount"/"umount" from the drop down list.
otis
Thanks otis and the others for the help but I guess I must be missing something.
I am using MDK 10 and the floppy icon on the desktop has no menu which lets me mount/unmount the floppy it only has open and properties. I have also created a new floppy device on the desktop with the same results, there is no mount/unmount.
Should I disable supermount before I create a new floppy device on the desk top in order to have mount/unmount in the dropdown menu, which would be great, as I said before I am no CLI person, I was terrible with DOS and am no better with Linux.
right click the desktop->configure desktop->behaviour->device icons tab. unselect mounted/unmounted cd-rom, writer, & floppy. "apply"->"ok". right click desktop again->create new->device. one at a time choose a shortcut for your rom, writer, & floppy. for each one make sure you put the correct path (IE: /mnt/cdrom, /mnt/cdrom1, /mnt/floppy, etc.)->apply->ok. you should then be able to insert a cd or floppy, right click the corresponding icon, & choose mount/unmount from the drop down menus. if it doesn't work, make sure you have the /mnt paths correct for each.
Originally posted by opjose Trash the default icon and create a new one.
You can then add the mount and unmount commands to it.
Thanks opjose for the help of you and otis.
I have tried to do as you instructed but I still have to go
to root to unmount. I also followed the instructions from
otis with the same results, only unmount from root,
eventhough permissions are set to user, myself.
I am one of those people in a position of having to put work
before play, therefore I say it must be something I am
missing.
I will keep trying and sooner or later I will figure this thing
they call LInux out.
could you please post the contents of your /etc/fstab file? it's a plain text file, so you'll be able to open it with any text editor. copy & paste the contents here, please.
Originally posted by otish1000c could you please post the contents of your /etc/fstab file? it's a plain text file, so you'll be able to open it with any text editor. copy & paste the contents here, please.
otis
First, let me thank everyone for taking up their time to assist me.
I have tried everything you suggested and have unchecked mount/unmount in Configure Desktop and created a new device on the desktop with no success. I must not be getting the full path to the floppy in this configuration as I still only have mount with no unmout in the menu.
Originally posted by otish1000c change the floppy line to read like this...............
Code:
/dev/fd0 /mnt/floppy auto noauto,user
to edit the file you will need to be root. open a terminal, su to root, then type...........
that will open kwrite in root mode & let you edit & save the file. try the floppy after the edit/save, if it still doesn't work, then reboot & try.
if the above entry change doesn't fix it, then use this one........
Code:
/dev/fd0 /mnt/floppy auto
the first one should work, though.
otis
Otis, I guess I don't need a floppy.
The first code will work on the first try but when I mount
the floppy again and try to unmount I get this popup box.
umount: /mnt/floppy: device is busy
umount: /mnt/floppy: device is busy
Please check that the disk is entered correctly.
The second code want work at all.
I don't understand why this happens, as I
don't take the disk out of the drive until I try to unmount.
I have read where the disk is not written to until one unmounts it.
It want try to unmount in order to be written to until I restart
the machine and only then will it show unmounted.
Another thing which bugs me is why I get the above warning,
how can one enter a floppy incorrectly.
mount the floppy, then try unmounting. when you get the "device is busy........" message, in terminal as root type lsof -V /dev/fd0 (hit enter). that will tell you what's using the device. if you get a "command not found....." error after typing that, then install lsof first & try again. it's on the MDK discs, so to install it, in terminal as root type......... urpmi lsof (hit enter), then try the command again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.