LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mounting a floppy (https://www.linuxquestions.org/questions/linux-software-2/mounting-a-floppy-31659/)

oryan_dunn 10-02-2002 12:33 AM

Mounting a floppy
 
Hi,
Is it possible to mount a floppy from within a graphical interface? I would like to be able to just pop in a floppy open Kspread and be able to access the spreadsheets i have saved to my floppy. I hope that there is a way so that I don't have to go into a console just to be able to access my floppies. Thanks in advance.
Ryan

moses 10-02-2002 12:53 AM

Where there is Linux, there is a way. ;)
Learn about automounters, and your life will be greatly enriched (or
something).

go to:

http://www.tldp.org/HOWTO/mini/Automount.html

This will get you started. I have config files that I can post if
need be.

HOWEVER, I'm still having problems with getting the automounter
to set the permissions correctly. Maybe amd is your answer (instead of
autofs), though I've found it very poorly documented (there is a lot of
documentation, it's just not very good).

http://www.am-utils.org/

Good luck, let me know how you fare.

GT I.N.C 10-02-2002 03:56 AM

you could also just edit your fstab file ONCE...and whatever you want mounted will be mounted at startup....search around the forums and you should find a thread on mounting drives/floppies....

Garry

GT I.N.C 10-02-2002 03:57 AM

by the way its located in
Code:

/etc/fstab
and you must be root to edit it....

moses 10-02-2002 04:06 AM

Yeah, but he'd have to make sure the floppy is in the drive on boot, then
remount the floppy everytime he wants to change it for whatever reason.
I had assumed (hmm. . .) that what he wanted to be able to do was insert
a disk, tell his program (OpenOffice, for example) to save to /mnt/floppy,
remove his disk, then open up gnumeric and load a file from a completely
different disk w/o starting a console and telling it to mount, umount, mount,
umount, etc. . .

GT I.N.C 10-02-2002 04:10 AM

hmmmm i never had to mount, unmount when i inserted a new disk in my drive, eg. i put in a floppy saved a file to it, my friend needed that file too, took out the disk, then inserted his one, and copied the file with no problems...

no mounting or remounting...

unless i'm reading your statement wrong :p

moses 10-02-2002 04:17 AM

hmmm. . . That may bit different. Have you copied a file from a floppy,
removed the disk, inserted a different disk, and copied a different file from
the new floppy?

GT I.N.C 10-02-2002 05:22 AM

yep :D

moses 10-03-2002 01:22 AM

Huh, then you must be running some sort of automounter. Care to do:

ps auxww | grep mount

and post the output for me? If there is nothing, could you go to your
init directory (maybe /etc/init.d) and grep -i mount * ?

GT I.N.C 10-03-2002 06:32 AM

No worries :D
Code:

[root@GT-INC gt]# ps auxww | grep mount
root      4347  0.0  0.4  1792  604 pts/3    S    21:31  0:00 grep mount

p.s could you explain what you just told me to do...(need to learn :p)

Garry ;)

moses 10-03-2002 11:20 AM

ps is the command to list all processes running.
auxww are the options to ps (man ps).
| means to pipe (send) the output to another program
grep mount means to look for any occurance of mount in the input to grep
(output from ps)

You aren't running a program that has the name mount anywhere in it. . .

Could you do the next step,
cd /etc/init.d
(I think that's where it is on RH/MDK)
grep -i mount * | grep bin
(look for any occurance of mount (ignore case), then look for any
occurance of bin from the resulting output, in all files within that directory.

If there is a lot, you don't need to post the comments (start with #).


All times are GMT -5. The time now is 03:16 PM.