View Full Version : Access to floppy drives?
I have not seen any icons for floppy drives in either version of PC-BSD yet. I do like using
floppies for carrying small files around. I wonder if floppies could be accessed easily from PC-BSD?
Valio
07-02-2005, 04:10 PM
Didn't know that floppy drive is missed from the release good that you told us, that need to add to next release :)
This next haven't work for me what i have tested, but hopefully it work for you, try this:
At the desktop - right click - Create New - Link to Device - Floppy Device
Go to floppy icon's properties - Device tab - write /dev/fd0
I'll hope this helps
Edit: Try this,if you haven't luck with the first one:
Create directory to your home directory example floppy (with this you can see does the floppy drive work)
Go to K icon - KDE Programs - System - Konsole
You need to do this as root, do this:
su
Password:
mount /dev/fd0 /home/your_username/floppy
When its done check the floppy directory
you can also try this:
mount -t msdos /dev/fd0 /home/your_username/floppy
How does it look? :)
gorbgorb
12-10-2005, 08:44 AM
hmm (i am new to bsd)
i tried your first suggestion, and it didnt work.
the second one works for me:
mount -t msdos /dev/fd0 /floppy
but it would be better to not have to open a console. is there a way to get a link to the floppy device working?
pygmypenguin
12-18-2005, 01:18 AM
... it would be better to not have to open a console. is there a way to get a link to the floppy device working?
Welcome to the world of Unix ;)
At first, I was a little scared of the console too but after a little while I finally got used to it and now, it's the only place I feel at home :p It just seems like the GUI limits your power...
Anyways, back to your question: What exactly doesn't work? could you explain in more detail? At first I was going to say that you could put the line
mount -t msdos /dev/fd0 /home/username/floppy
in your .profile (the file that executes when you login/bootup if I'm not mistaken, sort of like AUTOEXEC.BAT under DOS) but then I wondered "What if there's no floppy in the drive at the time of bootup?"... Well, back to the drawing board... :(
Then, I realized that you could do something like this:
Open Konsole (or whatever your terminal emulator is), and type:
pwd
Simple enough ;) This will tell you what directory you're in. Remember it. In Kate (or any other text editor) type this in:
#!/bin/bash
mount -t msdos /dev/fd0 /home/<your_username_here>/floppy
echo "Floppy mounted!"
And save it as "flpmnt.sh" (or anything that you think's easy/fast to type in)
in the directory that pwd gave you earlier. Exit Kate, and go back to konsole (or open konsole again if you closed it earlier). Type:
ls
And you should see your file that you saved just a little while ago, amoung other things. If you don't see it, try the above steps again and make sure you've saved it in the right directory.
Now, we should type:
chmod +x flpmnt.sh (or whatever you named your file earlier)
This will allow us to execute the file.
Now, whenever you want to get to the floppy, just open up konsole and type (in the directory that you saved the file to):
./flpmnt.sh
Note, again, that you should replace flpmnt.sh with whatever you saved the file as.
You're done! If you see some errors, open up the file again in Kwrite and make sure that you've entered (or copyied&pasted :wink: ) all the commands right!
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.