|
The Linux 2.4 SCSI subsystem HOWTO | ||
---|---|---|
Prev | Appendix E. Compile options and System calls including ioctls | Next |
The relevant files to see:
include/linux/hdreg.h include/linux/genhd.h include/linux/fs.h |
A list of ioctl()s follow:
HDIO_GETGEO_BIG HDIO_GETGEO [retrieve disk geometry] BLKGETSIZE [number of sectors in device] BLKROSET [set read only flag] BLKROGET [get read only flag] BLKRASET [set read ahead value] BLKRAGET [get read ahead value] BLKFLSBUF [instructs SCSI subsystem to flush buffers] BLKSSZGET [get device block size] BLKPG [partition table manipulation] BLKELVGET [get elevator parameters] BLKELVSET [set elevator parameters] BLKRRPART [reread the partition table] open() (all flags ignored) close() ioctl() (see list above) |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:35