user and group quota fstab file part 1

UUID="2c6180d9-8ecd-41bb-a3b7-7be2c9e29395"  /drive  ext4 defaults,usrquota,grpquota 0 0

first  column=device
2nd column= mount point
3rd = type of FS
4th = mount options,

auto and noauto  =  With the auto option,"auto is default"[auto cause FS to mount at boot noauto the opposite]
user and nouser = user means allow norrmaluser to mount FS ,"no user is default"nouser disable normal user to mount.
exec and noexec= exec is default, exec allow execute binaries on that partition and noexec dont allow,
ro and rw = rw is default

sync and async=async is default,    in "sync"when you, for example, copy a file to the floppy, the changes are physically

written to the floppy at the same time you issue the copy command.
in "async" the changes may be physically written to it long time after issuing the command.

defaults Uses the default options that are rw, suid, dev, exec, auto, nouser, and async.

5th and 6th columns: Dump and fsck options

5th is dump option. Dump checks it and uses the number to decide if a file system should be backed up. If it's zero,
dump will ignore that file system. If you take a look at the example fstab, you'll notice that the 5th column is zero in

most cases.

The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the file systems

should be checked. If it's zero, fsck won't check the file system. 

No comments:

Post a Comment