SD_OPEN

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

sd_open - open a scsi disk device  

SYNOPSIS

"SYNOPSIS"

int sd_open (struct inode * inode, struct file * filp);  

ARGUMENTS

inode
only i_rdev member may be used
filp
only f_mode and f_flags may be used
 

DESCRIPTION

Returns 0 if successful. Returns a negated errno value in case of error.  

NOTE

This can be called from a user context (e.g. fsck(1) ) or from within the kernel (e.g. as a result of a mount(1) ). In the latter case inode and filp carry an abridged amount of information as noted above.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 04:41:04 GMT, October 06, 2005