Following is a sample /etc/fstab entry:
--------------------------------------------------------------------
/dev/sdb1 /disk ext3 defaults 0 0
---------------------------------------------------------------------
There are six fields in /etc/fstab file.,the columns are as follows:
1. The device name or other means of locating the partition or data source.
2. The mount point, where the data is to be attached to the filesystem.
3. The filesystem type.
4. Mount options .
5. dump-freq adjusts the archiving schedule for the partition (used by dump).
6. pass-num Controls the order in which fsck checks the device/partition for errors at boot time.
The root device should be 1. Other partitions should 2 or 0 to disable checking. A value of zero in either of the last 2 columns disables the corresponding feature.
No comments:
Post a Comment