.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "POPULATE_DIR" "" "06 October 2005" "" ""
.SH NAME
populate_dir \- populate directory with attributes.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int populate_dir (struct kobject * \fIkobj\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIkobj\fB\fR
object we're working on.
.SH "DESCRIPTION"
.PP
Most subsystems have a set of default attributes that
are associated with an object that registers with them.
This is a helper called during object registration that
loops through the default attributes of the subsystem
and creates attributes files for them in sysfs.