LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-27-2005, 02:31 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit), USA
Distribution: Centos 5 Under VMware in WinXP CentOS 5.3 all under VMware
Posts: 414

Rep: Reputation: 33
mount & unmounting a floppy disk


Hello listers.

I'm just installed Suse 9.3 and I'm in the process of trying to learn various commands.

I have read the 'man mount' and still don't understand how it works.

I would also lilke to know the command to unmount the floppy so the next floppy can be loaded.

I would also like to know how to copy a file from my home directory to the floppy.

I sure would appreciate a few examples.

Thanks.
 
Old 09-27-2005, 02:47 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Mount is used to associate a device to a directory. When you want to access the device you access it through the mounted directory.

Usually, a floppy drive is known as the device /dev/fd0 so you can issue the following command to mount to a directory called /floppy.

mount -t fat /dev/fd0 /floppy

Since the floppy drive is now associated with /floppy you just have to copy to the directory to put a file on the floppy. Basically any operation on the mounted directory affects the device associated with it.

To unmount you can use the umount command and specify either the device or the directory to unmount.

ie: umount /dev/fd0 or umount /floppy


Last edited by aznluvsmc; 09-27-2005 at 02:49 PM.
 
Old 09-27-2005, 02:50 PM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I think Suse automounts floppies. All you have to do is insert the disk and click on the floppy disk icon on your desktop or somewhere in Devices, system or My Computer. As for learning commands, take a look at linuxcommand.org.
 
Old 09-27-2005, 03:15 PM   #4
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit), USA
Distribution: Centos 5 Under VMware in WinXP CentOS 5.3 all under VMware
Posts: 414

Original Poster
Rep: Reputation: 33
Thanks folks for replying so quickly.

What I'm trying to do is learn some commands instead of using icons like MS Windoz.

Now that you have given me the command to mount the floppy how do I get to see what's in it...the files that are on the diskette.

I tried ls -l /floppy and that doesn't work.

Thanks.
 
Old 09-27-2005, 09:25 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try
Code:
$ls -l /media/floppy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount floppy disk? iclinux Linux - Newbie 7 04-25-2005 02:11 PM
trouble unmounting floppy dr_zayus69 Linux - Software 6 10-20-2004 07:11 PM
Having trouble unmounting floppy Dooley Mandriva 30 10-17-2004 12:11 PM
Novic questions - boot loader and floppy disk mount peter1608 Linux - Newbie 6 03-25-2004 05:41 PM
Cannot mount floppy after trying to create boot disk halfhaggis Linux - General 2 09-20-2003 02:11 AM


All times are GMT -5. The time now is 11:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration