Showing posts with label mounting. Show all posts
Showing posts with label mounting. Show all posts

Tuesday, July 12, 2011

Making a Mount Point

Until now, we've only talked about Fedora Cores convention for mount points Other Linux systems use different conventions, in order to make mount points name slightly more recognizable SuSE uses just /floppy as opposed to /media/floppy on Fedora. As you just figured out, naming convention is not standard. Remember, a mount point is merely another directory on the system. Why not use your own convention?

For example, you can use the SuSE convention as mentioned above on your Fedora system;
$ su
# mkdir /floppy
# mounr -t vfat /dev/fd0 /floppy

You could edit the fstab file to make it permanent.

Monday, July 11, 2011

Mounting and Filesystem

The concept of devices - mount point and filesystem.

Mounting a Filesystem with the mount Command

Lets look at the process of mounting a floppy disk from the command line:

$ su
# mount -t vfat /dev/fd0 /media/floppy


The mount command loads a device´s filesystem into our servers filesystem.
The floppy device at /dev/fd0, and the devices filesystem is loaded in to /media/floppy mount point. We also need to tell Linux what kind of filesystem it needs to expect, in this case its a FAT32 filesystem (vfat).

Before removing a floppy we could unmount it, thereby removing it from the filesystem We can do so using the unmount command.

$ unmount /media/floppy