[linux-lvm] LVM with devfs questions and patches

Benoit Gaussen ben at trez42.net
Wed Feb 14 18:18:31 UTC 2001


>Thanks for those, I've reworked them a little but the effect should be the same.
>

Hi, 

I saw the changes in the CVS tree except for one thing that I forgot to tell
about in my previous mail. 

There is a mistake in the devfs registration of /dev/lvm, the major and
minor numbers are swapped :

Just an extract of the patch :

 lvm_devfs_handle = devfs_register(
-		0 , "lvm", 0, 0, LVM_CHAR_MAJOR,
+		0 , "lvm", 0, LVM_CHAR_MAJOR, 0,
 		S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP,
 		&lvm_chr_fops, NULL);
	 
	
Ben.


-- 
Unix IS user friendly, it is just selective about who his friends are.
                                                             Anonymous




More information about the linux-lvm mailing list