September 2000
Beginner
1312 pages
33h 47m
English
/usr/sbin/lockfs [-adefhnuw][-c string][filesystem...]
Use the lockfs command to change and report the status of file system locks. lockfs reports the lock status and unlocks the file systems that were improperly left locked by an application such as ufsdump(1M). This condition could occur if ufsdump(1M) is killed using kill(1).
Using lockfs to lock a file system is discouraged because it requires extensive knowledge of SunOS internals to be used effectively and correctly.
When invoked with no arguments, lockfs lists the UFS file systems that are locked. If you do not specify filesystem and specify -a, lockfs is run on all mounted, UFS-type file systems.
You must be superuser ...