Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I posted the links so you can learn from the information provided.
excerpt from 'man mount'
All files accessible in a Unix system are arranged in one big tree, the
file hierarchy, rooted at /. These files can be spread out over sev-
eral devices. The mount command serves to attach the file system found
on some device to the big file tree. Conversely, the umount(8) command
will detach it again.
The standard form of the mount command, is
mount -t type device dir
This tells the kernel to attach the file system found on device (which
is of type type) at the directory dir. The previous contents (if any)
and owner and mode of dir become invisible, and as long as this file
system remains mounted, the pathname dir refers to the root of the file
system on device.
How hard is it to read 'mount -t type device dir' where mount is the command, -t type 'is the filesytem', device is 'the device you want to mount', dir is 'the mount point'.
You will need a mount point, on my system there is '/mnt/floppy'. The device on my machine can be found with a 'ls -al /dev/floppy;
Just curious, what kind of filesystem do you currently have on the floppy disk? In any case, you can probably just do "mount /dev/fd0 /mnt/floppy" and the mount command will detect the filesystem for you. But yes indeed, once the floppy's been mounted, you can cd to /mnt/floppy and create files on it with vi. Or, my personal favorite:
The 'Rute' is a good reference and it will help you once you start to have things sink in.
Experience with the OS will help. Find out what you are doing wrong or what it takes to do a specific task then apply it. There are loads of tutorials that you can find online. Several good ones in my sig that you can reference.
You can also look at 'Slackware-Links'.
The Wiki is not just for SlackwareŽ, loads of Linux references. Take a look an see what you can use.
"The first step in being able to use a floppy drive on Linux is to know where to find it in the file system. Mine is in /dev/fd0 (that's floppy drive zero in the device directory) and the following instructions will be written using that path. If your path is different, substitute accordingly.
Let's check to see where your floppy drive is:
Find your file system table (fstab), usually in /etc/fstab.
find / -type f -name fstab
And see what it says:
/dev/fd0 /mnt/floppy auto noauto, owner, kudzu 0 0
That translates to:
floppy device location: /dev/fd0
mounted read/write location for the file system: /mnt/floppy
file system type auto
mount options noauto, owner, kudzu
file system dump frequency 0
file system check frequency 0
We are only going to concern ourselves with the first three fields. The first field maps the location of the floppy device. To format a floppy disk for use in Linux (this will also delete everything on the disk), use the command (substitute your floppy device path):
mkfs -t ext3 /dev/fd0 1440
Now we have a blank disk we can use and need to figure out how to read and write to it.
We need to check our second field, the read/write location (/mnt/floppy in my case) to see if a mount point has already been set up for our floppy. Look in the path to the floppy directory:
ls -l /mnt
If "floppy" is not listed as a directory, we need to create it:
Then map the floppy device to the file system read/write area (need to be root to do this and the command will not work unless there is a disk in the floppy drive.): "