Example of Mounting a File System Assignment Help

Assignment Help: >> Introduction to File System - Example of Mounting a File System

Practice 

The given example describes how to mount a File System.

/dev/hda1        /home/Krishen /ext2    rw        0          0

/dev/device-    The device to be mounted, for instance, /dev/hda4.

/dir/to/mount  - The location at that the File System should be mounted on your directory tree.

Ftype  -             Ftype is denoted by the File System type. It should be ufs under Solaris, 4.2 under SunOS, nfs for NFS mounted File Systems, ext2 under Linux, swap for swap partitions and proc for the/proc File System. A few OS, Like as Linux, support an additional filesystem types, while they are not as likely to be used.

Parameters-   The parameters which are passed to mount using the -o option. They follow the similar comma-delineated format. An instance entry would look like rw,intr,bg.

fs_freq            -   Used by dump to determine whether a File System required to be dumped.

fs_passno        -  Used by the fsck program to determine the order to check disks at boot time.

Note: In Sun Solaris, /etc/vfstab is the virtual File System table which gives entries for mounting the File System at the time of booting the system.

#vi /etc/vfstab

<device   to   mount>    <device   to fsck>   < mount   point>    <fs type>   <fsck pass>   <mount   at boot> <mount options>

The fields are described below:

Device to mount     :        Is the device to be mounted.

Device to fsck      :     What is the name of the raw device to fsck; for a remote mount the parameter is not applicable and the entry should be - .

mountpoint             :    Which is the mount point on that the resource is mounted. (/mnt ).

Fstype                     :      Which is the type of File System of the resource mounted. (ufs)

fsckpass             :       Which is the pass number to use for several fsck's. For a remote mount, the parameter is not applicable and the entry should be - .

mntopts                    :       The options passed to the mount command

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd