BLK_ALLOC_DEVT(9) Block Devices BLK_ALLOC_DEVT(9)NAMEblk_alloc_devt - allocate a dev_t for a partitionSYNOPSISint blk_alloc_devt(struct hd_struct * part, dev_t * devt);ARGUMENTSpart partition to allocate dev_t for devt out parameter for resulting dev_tDESCRIPTIONAllocate a dev_t for block device.RETURNS0 on success, allocated dev_t is returned in *devt. -errno on failure.CONTEXTMight sleep.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BLK_ALLOC_DEVT(9)
| Related Man Pages |
|---|
| makedev(3) - linux |
| di_lnode_devt(3devinfo) - opensolaris |
| di_lnode_name(3devinfo) - opensolaris |
| gnu_dev_makedev(3) - linux |
| di_lnode_devt(3devinfo) - sunos |
| Similar Topics in the Unix Linux Community |
|---|
| Change directory error |
| Cut command on RHEL 6.8 compatibility issues |
| Tar Command |
| The Future of the PM (Private Message) System at UNIX.com |
| 32 bit process addressing more than 4GB |