To enable mandatory locking in Linux, the first thing to do is mount the file system with option “mand”. To apply this option to root file system, we need to modify /etc/fstab. For example:
# /etc/fstab: static file system information.
#
#
proc […]