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 3.10 June 2014 BLK_ALLOC_DEVT(9)
| Related Man Pages |
|---|
| device_create(9) - centos |
| device_create_vargs(9) - centos |
| di_lnode_name(3devinfo) - sunos |
| di_lnode_devt(3devinfo) - sunos |
| minor(3) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Set hard block limit for user using quota |
| How to increment version inside a file? |
| DB2 convert digits to binary format |
| Controlling user input |