 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
DIOCWDINFO(9r)
NAME
DIOCWDINFO - Disk: Writes a disk label
SYNOPSIS
#include <io/common/devio.h>
#include <sys/ioctl.h>
int ioctl(
dev_t dev,
register int DIOCWDINFO,
caddr_t data,
int flag );
DESCRIPTION
The DIOCWDINFO ioctl command writes a disklabel structure and updates the
in-memory copy of the structure. The command turns off write-protection for
the duration of the request, but does not check to see if the user has root
privileges.
EXAMPLE
See Writing Device Drivers: Advanced Topics for an example of how a disk
device driver implements the DIOCWDINFO command.
SEE ALSO
Kernel Interfaces: writedisklabel(9r)
Data Structures: disklabel(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|