 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
DIOCWLABEL(9r)
NAME
DIOCWLABEL - Disk: Sets a write-enable label on a disk
SYNOPSIS
#include <io/common/devio.h>
#include <sys/ioctl.h>
int ioctl(
dev_t dev,
register int DIOCWLABEL,
caddr_t data,
int flag );
DESCRIPTION
The DIOCWLABEL ioctl command turns the write-protect flag on and off for
the block where the disk label is kept.
EXAMPLE
See Writing Device Drivers: Advanced Topics for an example of how a disk
device driver implements the DIOCWLABEL command.
SEE ALSO
Data Structures: disklabel(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|