Afrikaans Afrikaans Albanian Albanian Amharic Amharic Arabic Arabic Armenian Armenian Azerbaijani Azerbaijani Basque Basque Belarusian Belarusian Bengali Bengali Bosnian Bosnian Bulgarian Bulgarian Catalan Catalan Cebuano Cebuano Chichewa Chichewa Chinese (Simplified) Chinese (Simplified) Chinese (Traditional) Chinese (Traditional) Corsican Corsican Croatian Croatian Czech Czech Danish Danish Dutch Dutch English English Esperanto Esperanto Estonian Estonian Filipino Filipino Finnish Finnish French French Frisian Frisian Galician Galician Georgian Georgian German German Greek Greek Gujarati Gujarati Haitian Creole Haitian Creole Hausa Hausa Hawaiian Hawaiian Hebrew Hebrew Hindi Hindi Hmong Hmong Hungarian Hungarian Icelandic Icelandic Igbo Igbo Indonesian Indonesian Irish Irish Italian Italian Japanese Japanese Javanese Javanese Kannada Kannada Kazakh Kazakh Khmer Khmer Korean Korean Kurdish (Kurmanji) Kurdish (Kurmanji) Kyrgyz Kyrgyz Lao Lao Latin Latin Latvian Latvian Lithuanian Lithuanian Luxembourgish Luxembourgish Macedonian Macedonian Malagasy Malagasy Malay Malay Malayalam Malayalam Maltese Maltese Maori Maori Marathi Marathi Mongolian Mongolian Myanmar (Burmese) Myanmar (Burmese) Nepali Nepali Norwegian Norwegian Pashto Pashto Persian Persian Polish Polish Portuguese Portuguese Punjabi Punjabi Romanian Romanian Russian Russian Samoan Samoan Scottish Gaelic Scottish Gaelic Serbian Serbian Sesotho Sesotho Shona Shona Sindhi Sindhi Sinhala Sinhala Slovak Slovak Slovenian Slovenian Somali Somali Spanish Spanish Sundanese Sundanese Swahili Swahili Swedish Swedish Tajik Tajik Tamil Tamil Telugu Telugu Thai Thai Turkish Turkish Ukrainian Ukrainian Urdu Urdu Uzbek Uzbek Vietnamese Vietnamese Welsh Welsh Xhosa Xhosa Yiddish Yiddish Yoruba Yoruba Zulu Zulu

/td>

 

 

Article Navigation

Back To Main Page


 

Click Here for more articles


About the author:
.

Circulated by Article Emporium

Google
The Linux File System
by: Stephen Bucaro
-----------------------------------------------------------
Permission is granted for the below article to forward,
reprint, distribute, use for ezine, newsletter, website,
offer as free bonus or part of a product for sale as long
as no changes are made and the byline, copyright, and the
resource box below is included.
-----------------------------------------------------------
The Linux File System

By Stephen Bucaro

Linux uses a whole different file system philosophy than
Windows. Windows automatically assigns a drive letter to
every partition and drive it finds. But Linux makes every
partition and drive a subdirectory of the root (/)
partition. If you are a Windows user, you may get confused
when you try to use Linux.

No matter how many partitions, hard drives, or floppy
drives your computer has, the Linux File Manager displays
everything in a single directory tree under the root
directory indicated by a slash (/). Every partition or
drive is "mounted" onto the directory tree, and appears in
File Manager as a subdirectory.

Linux needs at least three partitions to work, the root
partition, the /boot partition, and the swap partition.
The root partition is mounted at startup. The root
directory itself doesn't contain any files, just
subdirectories. The /boot partition contains files used to
boot the system. The swap partition is used as "virtual
memory".

When the operating system needs more memory than there is
available in the system's RAM, it can use disk space to
emulate memory. As the system operates, data is swapped
back and forth between RAM and the swap partition. The
swap partition doesn't have a mount point because it's a
system file and is never accessed directly by the user.

Note: Linux, the Internet, and the rest of the computing
world use forward slashes to form directory paths. Only
Windows uses back-slashes to form directory paths. The
back-slash also represents an ASCII escape character,
resulting in all kinds of bugs in Windows programs.

In Windows you just insert a floppy disk into the drive and
it's accessible. With Linux, before you can access devices
such as a CD ROM or a floppy drive, you have to "mount"
the drive. For example, to mount the floppy drive, insert
the disk into the drive and then select Main Menu |
Programs | System | Disk Manager. The "User Mount Tool"
utility will appear. In the "User Mount Tool" click on the
"Mount" button to the right of /dev/fd0.

Note: Linux abstracts every device attached your computer,
including the hard drive and floppy drive as a file. Files
in the /dev/ folder are equivalent to device driver files
in Windows. Linux provides device files for most common
devices, but if you install an uncommon device, you may
need a special device file.

After mounting the drive, you can access the floppy disk.
Before removing the disk, you have to "unmount" the drive.
If you find yourself frequently mounting and unmounting
drives, you can right-click on "Disk Manager" in the menu
and select "Add this launcher to panel".

When you installed Linux, information about devices on
computer was stored in the file /etc/fstab. If the device
that you want to mount was not configured during
installation, use the LinuxConf utility to configure the
device before you mount it.

For example, if you wanted to configure a floppy drive to
access DOS floppy disks, insert a DOS floppy disk into the
drive, then log in as root and open LinuxConf - Main Menu
| Programs | System | LinuxConf. In the LinuxConf window
Config tab, click on "+" next to "File systems" to open
that branch. Under "File systems" click on "Access local
drive". The "Local volume" windows appears.

In the "Local volume" window, click on the Add button. The
"Volume specification" window appears. In the "Partition"
text box type /dev/fd0. Then click on the drop down button
for the "Type" text box and select msdos. In the "Mount
point" text box type /mnt/floppy. Click on the "Accept"
button. Then click on the "Mount" button.

Note: To mount a partition or drive you have to use an
existing subdirectory as the mount point. By convention,
drives use the /mnt/ subdirectory as the mount point.

To copy files to and from the mounted floppy disk, drag
and drop them to and from the directory /mnt/dosfloppy
just as you would any other directory.
-----------------------------------------------------------
Resource Box:
Copyright(C)2002 Bucaro TecHelp. To learn how to maintain
your computer and use it more effectively to design a Web
site and make money on the Web visit
http://bucarotechelp.com
To subscribe to Bucaro TecHelp Newsletter Send a blank
email to bucarotechelp-subscribe@topica.com
-----------------------------------------------------------

 



©2005 - All Rights Reserved