get_removable_partition
Section: Kernel Hacker's Manual (9)
Updated: get_removable_partition
Index
Return to Main Contents
NAME
get_removable_partition - Get removable media partition.
SYNOPSIS
int get_removable_partition
(struct devfs_entry *dir,
const char *name,
unsigned int namelen);
ARGUMENTS
- dir
-
The parent directory.
- name
-
The name of the entry.
- namelen
-
The number of characters in <<name>>.
DESCRIPTION
Returns 1 if the media was changed, else 0.
This function may block, and may indirectly cause the directory
contents to be changed due to partition re-reading. The directory must
be locked for reading upon entry, and will be unlocked upon exit.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:53:34 GMT, June 12, 2005