suse man page for i2o_block_device_lock

Query: i2o_block_device_lock

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

I2O_BLOCK_DEVICE_LOC(9) 				       Message-based devices					   I2O_BLOCK_DEVICE_LOC(9)

NAME
i2o_block_device_lock - Locks the media of device dev
SYNOPSIS
int i2o_block_device_lock(struct i2o_device * dev, u32 media_id);
ARGUMENTS
dev I2O device which should receive the lock request media_id Media Identifier
DESCRIPTION
Lock media of device dev to prevent removal. The media identifier should be set to -1, because the spec does not support any other value. Returns 0 on success or negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 I2O_BLOCK_DEVICE_LOC(9)
Related Man Pages
eject(1) - opensolaris
scsieject(1) - debian
scsieject(1) - centos
eject(1) - netbsd
mkdevalloc(1m) - mojave
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
A (ksh) Library For and From UNIX.com
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB