Rechercher une page de manuel
i2o_block_device_lock
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
i2o_block_device_lock - Locks the media of device devSYNOPSIS
- 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre