lockdev man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

LOCKDEV(8)							    LOCKDEV(8)

NAME
       lockdev demonstrates functionality of liblockdev library.

SYNOPSIS
       /usr/sbin/lockdev [<operation>] <device>

DESCRIPTION
       The lockdev command can perform one of the following operations:

       -l - lock device with dev_lock() function

       -u - unlock device with dev_unlock() function

       no operation - test lock with dev_testlock() function

RETURN VALUES
	  Value	 dev_lock	  dev_unlock	   dev_testlock
	  0	 OK		  OK		   not locked
	  1	 locked other	  locked other	   locked
	  2	 EACCES
	  3	 EROFS
	  4	 EFAULT
	  5	 EINVAL
	  6	 ENAMETOOLONG
	  7	 ENOENT
	  8	 ENOTDIR
	  9	 ENOMEM
	 10	 ELOOP
	 11	 EIO
	255	 error		     error		 error

SEE ALSO
       lockdev(3).

				SEPTEMBER 2009			    LOCKDEV(8)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net