LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2006, 10:39 PM   #1
Charlie Chan
LQ Newbie
 
Registered: May 2004
Location: Byan, Texas USA
Distribution: Fedora 1 and it updates
Posts: 20

Rep: Reputation: 0
Unhappy How do you view a file on a floppy


I have 'Linux COMPLETE 2nd Edition' and 'Red Hat Linux 9' books worth $98 plus tax and time. None-the-less I still can not find out how to view a text file on a floppy. The floppy is located in /dev/fd0 using Fedora Core 3. I think that I managed to copy a file to the floppy. Now I want to be able to view the file. I find Linux to be very annoying. None-the-less I want to learn how to use it starting with the basics. Buying another book is not going to happen. There is no more room around here. Would someone please tell me how to view the files on a floppy. Obviously this question belongs in this discussion group, Newbie section.
 
Old 01-28-2006, 10:52 PM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
Not familiar with Fedora but on my Slackware system I need to mount the floppy drive first:
mount /dev/fd0
And then I can view the files existence:
cd /mnt/floppy && ls
If I want to view a files contents:
less file.txt
You will need to be root to mount the drive, unless you have changed this to be otherwise or maybe Fedora is different.
Hope that helps some, and sorry if I was wrong.
 
Old 01-28-2006, 10:56 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
If you have a line like the following in your /etc/fstab file, just type mount /mnt/floppy, or mount /dev/fd0 - or whatever your device/mount point is set to. Then type ls -l /mnt/floppy

Code:
/dev/fd0  /mnt/floppy  auto  noauto,users  0  0
If you have mtools installed, just type mdir a: at the shell prompt (you may need to be root depending on your setup).

If it doesn't work please post what you did along with any errors that were returned.

If it just plain doesn't make sense - I apologise, tell me which bits are too vague
 
Old 01-28-2006, 11:18 PM   #4
Charlie Chan
LQ Newbie
 
Registered: May 2004
Location: Byan, Texas USA
Distribution: Fedora 1 and it updates
Posts: 20

Original Poster
Rep: Reputation: 0
Yes I have a line in /etc/fstab like that. However, it was not easy trying to find out if I did.
 
Old 01-29-2006, 12:21 PM   #5
Charlie Chan
LQ Newbie
 
Registered: May 2004
Location: Byan, Texas USA
Distribution: Fedora 1 and it updates
Posts: 20

Original Poster
Rep: Reputation: 0
Problem Solved. I had a lengthy explanation of how but the system wiped out the message by determining I was not logged in, WRONG.

Problems: knowing when to mount and unmount a floppy drive, using double quotes instead of backslashes for the path of files and folders, needed to know how to copy a directory as well as a file (cp -ru /home/[username]/Documents/C\ Language\ Info/* /mnt/floppy).

Last edited by Charlie Chan; 01-29-2006 at 12:25 PM.
 
Old 01-29-2006, 12:26 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by Charlie Chan
Problem Solved. I had a lengthy explanation of how but the system wiped out the message by determining I was not logged in, WRONG.
WRONG?? Who, what??
We are, of course, happy to see that you solved your issue---even though you did arrive with a bit of a chip on your shoulder.....
 
  


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
can't view floppy information on RH9 PC caf Red Hat 1 05-09-2004 04:50 PM
how to view this file?? yenonn Linux - General 4 04-28-2004 03:26 AM
view "saved as" LQ page from floppy? toastermaker Linux - Newbie 3 12-15-2003 12:36 AM
How to copy a file to floppy and list file on floppy device kabeko Linux - Newbie 3 12-10-2003 12:36 AM
can't view file in konsole inTUXicated Linux - Newbie 2 08-06-2003 08:02 AM


All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration