Solved

How to read Floppy diskette ?

Posted on 1998-09-28
2
333 Views
Last Modified: 2013-12-15
Dear All,
Please tell me how to read the files from the floopy diskette ? Please tell me step by step. Thanks!

Winson Mak
0
Comment
Question by:wmmak
2 Comments
 
LVL 7

Accepted Solution

by:
jconde earned 200 total points
ID: 1630905
Hi wmmak!

You need to mount the floppy.

first, you need a directory where you will mount the floppy in.
the you mount the floppy and afterwards, you treat the directory you mounted the floppy in as normal.

i.e.

/*directory where floppy will be mounted*/
mkdir /mnt/floppy  

/*mount the floppy..notice fd0...that referes to the floppy*/
mount /dev/fd0 /mnt/floppy

/*cd into the floppy disk*/
cd /mnt/floppy

/*copy finger to floppy*/
cp /bin/finger /mnt/floppy

/*see the files in the floppy disk*/
ls -laF

/*copy finger from floppy to etc dir*/
cp /mnt/floppy/finger /etc
/*unmount the floppy*/
umount /mnt/floppy

P.S.  the same would be for a CD-ROM but instead of fd0, it would be scd0

YOU WILL NEED TO LOGIN AS ROOT IN ORDER TO MOUNT ANY DEVICE!

0
 

Author Comment

by:wmmak
ID: 1630906
Thank very much for help !!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question