* include/cygwin/fs.h: New file.

* include/cygwin/hdreg.h: New file.
	* fhandler_floppy.cc (fhandler_floppy::ioctl): Add implementation for
	HDIO_GETGEO, BLKGETSIZE, BLKGETSIZE64, BLKRRPART and BLKSSZGET ioctls.
This commit is contained in:
Corinna Vinschen
2002-11-07 14:16:29 +00:00
parent 963fb8837d
commit cad2c685b4
4 changed files with 175 additions and 1 deletions

View File

@ -0,0 +1,22 @@
/* cygwin/fs.h
Copyright 2002 Red Hat Inc.
Written by Chris January <chris@atomice.net>
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _CYGWIN_FS_H_
#define _CYGWIN_FS_H_
#include <cygwin/types.h>
#define BLKRRPART 0x0000125f
#define BLKGETSIZE 0x00001260
#define BLKSSZGET 0x00001268
#define BLKGETSIZE64 0x00041268
#endif