Hi, Please ignore the disclaimer that comes attached with this mail ... I am trying to get it removed ... just don't have much control on it!!! I am not a part of the lvm-devel mailing list so please just put me in the CC ... I am sory for these dumb questions ... but I am a beginner in this world an hence I need to put forth these rather stupid questions ... Here are my questions ??? 1) Why does lvm need to register itself both as a block device and a character device ??? (This is what I could make out on seeing the code , please correct me if I am wrong) 2) I need to provide an interface in the user-space for doing the following operations : a) open volume device b) read volume device c) write volume device d) ioctl operations on volume device e) close volume device ... these perhaps correspond to the following functions in the kernel ... static int lvm_blk_ioctl(struct inode *, struct file *, uint, ulong); static int lvm_blk_open(struct inode *, struct file *); static int lvm_blk_close(struct inode *, struct file *); static int lvm_get_snapshot_use_rate(lv_t * lv_ptr, void *arg); static int lvm_user_bmap(struct inode *, struct lv_bmap *); static int lvm_chr_open(struct inode *, struct file *); static int lvm_chr_close(struct inode *, struct file *); static int lvm_chr_ioctl(struct inode *, struct file *, uint, ulong); Could some-one help me in this ... the library liblvm can be used perhaps ...I could not make out how the functions in liblvm-10.a (available with the lvm-1.0.6.tar.gz)does this ... Could some-one help me out here ... Thanks for the help ... Sharad.
**************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ****************************************************************************************