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.
Maybe! If you would use proper language instead of AOL speak.
If you are referring to using the '/etc/fstab' to control your mounts or are you referring to hal/udev mount of devices that are plugged into the system by a user?
excerpt from 'man fstab';
fstab - static information about the filesystems
The file fstab contains descriptive information about the various file
systems. fstab is only read by programs, and not written; it is the
duty of the system administrator to properly create and maintain this
file. Each filesystem is described on a separate line; fields on each
line are separated by tabs or spaces. Lines starting with '#' are com-
ments. The order of records in fstab is important because fsck(8),
mount(8), and umount(8) sequentially iterate through fstab doing their
excerpt from 'man udev';
udev - dynamic device management
udev provides a dynamic device directory containing only the files for
actually present devices. It creates or removes device node files in
the /dev directory, or it renames network interfaces.
Usually udev runs as udevd(8) and receives uevents directly from the
kernel if a device is added or removed from the system.
If udev receives a device event, it matches its configured rules
against the available device attributes provided in sysfs to identify
the device. Rules that match may provide additional device information
or specify a device node name and multiple symlink names and instruct
udev to run additional programs as part of the device event handling.
Hard mounting makes for more convenience and speed while auto-mounting saves resources as filesystem are not mounted until they are needed. Auto-mounting should only be used for filesystems that are accessed only every now and again. Auto-mounting your root partition would be a bad idea considering that each mount will take a little time - just a little but enough to make your system feel annoyingly sluggish. Of course, if the filesystem is accessed all the time, there isn' t any point in auto-mounting either.
Windows does not have these options. It is more proof of the attention that the early versions paid to security and it is a side-effect of its origin as a "mono-box". If a computer is used by only one person, there is little point in control over mounting and unmounting. But when a computer is used by many, one can imagine that it is convenient to have at least some control over who gets to attach devices and which.
sorry about the language.
actually we guys are plannig a linux workshop at our college. so there is the topic of teaching mounting in linux. most of the students are asking why do this tedious task of mounting by adding entries in /etc/fstab. they ask in windows one needn't do so much to access a mass storage device(make a mount point etc.thats what i mean). so i wanted to know if there was any advantage in doing this the hard way.
and i didn't understand this part @eggixyz..
"For instance on Linux/Unix, the only real benefit to automounting (if it works properly) is that you don't maintain a constant link over nfs (The benefits of this aren't really worth it any more)."
I guess it's a bit like choosing between stick and automatic when buying a car. Some give you no choice---Linux simply gives you both......plus a few other things you did not know you wanted... But you also have the ability to delete, turn off, or modify just about anything.
Freedom to choose
Freedom to modify
Freedom to get totally confused....
The concept of mounting and unmounting in Windows does apply it's just not necessarily referred to as that.
I have been asked more than once why it is that you have to unmount a USB drive in Linux before you unplug it. To which my reply is that you don't have to unmount it but you should do and the reason is exactly the same as why you should unmount it in Windows before unplugging it - to make sure that all changes to the files on the drive have actually been written.
Must Windows users just pull the USB drives out and don't bother to unmount them first. But you should unmount a USB drive before unplugging it, even in Windows, though I think in Windows it's maybe referred to as 'stopping' the device.
When you talk about hard mounting and creating entries in /etc/fstab are you thinking about things like Home directories being mounted from a remote server, or things like students plugging in USB drives? For USB drives you don't need to put anything in /etc/fstab, just plug them in and they will mount automatically. For Home directories you can either mount everyone's home directory all at once via an entry in /etc/fstab or you can use automount to mount each home directory individually when a user logs in and unmount it again after they've logged out.