LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09: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, 09: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, 09:56 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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, 10: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, 11:21 AM   #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 11:25 AM.
 
Old 01-29-2006, 11:26 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 PM.

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
Open Source Consulting | Domain Registration