1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add ioctl to ask DEVFS about the name of device.

This commit is contained in:
Poul-Henning Kamp 2005-03-08 21:32:19 +00:00
parent f5af7353c0
commit d65030e533
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143304

View File

@ -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_ */