Provided by:
kernel-doc-2.4.27_2.4.27-12_all 
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.