* 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,24 @@
/* cygwin/hdreg.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_HDREG_H_
#define _CYGWIN_HDREG_H_
struct hd_geometry {
unsigned char heads;
unsigned char sectors;
unsigned short cylinders;
unsigned long start;
};
#define HDIO_GETGEO 0x301
#endif