diff options
author | phk <phk@FreeBSD.org> | 2005-03-08 21:32:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-08 21:32:19 +0000 |
commit | 96f2def6d15e238d9954910851df962f7329d6a1 (patch) | |
tree | 7f2be41040680c961d0512835fa27ca37c1822d0 /sys/sys/filio.h | |
parent | 5493756155aebd45e98e60e97fdaf4874598d119 (diff) | |
download | FreeBSD-src-96f2def6d15e238d9954910851df962f7329d6a1.zip FreeBSD-src-96f2def6d15e238d9954910851df962f7329d6a1.tar.gz |
Add ioctl to ask DEVFS about the name of device.
Diffstat (limited to 'sys/sys/filio.h')
-rw-r--r-- | sys/sys/filio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/filio.h b/sys/sys/filio.h index 17cad5c..8f2731a 100644 --- a/sys/sys/filio.h +++ b/sys/sys/filio.h @@ -50,5 +50,10 @@ #define FIOGETOWN _IOR('f', 123, int) /* get owner */ #define FIODTYPE _IOR('f', 122, int) /* get d_flags type part */ #define FIOGETLBA _IOR('f', 121, int) /* get start blk # */ +struct fiodgname_arg { + int len; + void *buf; +}; +#define FIODGNAME _IOW('f', 120, struct fiodgname_arg) /* get dev. name */ #endif /* !_SYS_FILIO_H_ */ |