configuration question
trying to get vg's out of dev for now -- devfs issues.
so i modify ./kernel/lvm.h replacing:
#define LVM_DIR_PREFIX "/dev/"
with
#define LVM_DIR_PREFIX "/lvm/"
then configure and compile the code.
probem is that this doesn't seem to purge /dev/ from all of the code. is there some other location where the lvm directory is defined or is this just a configuration bug [perhaps a known one at that]?
thanx.
Signature · 3 lines
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[email protected] 800-762-1582Quoted 8 lines · Steven Lembark
trying to get vg's out of dev for now -- devfs issues.
so i modify
./kernel/lvm.hreplacing:#define LVM_DIR_PREFIX "/dev/"with
Quoted 8 lines
#define LVM_DIR_PREFIX "/lvm/"then configure and compile the code.
probem is that this doesn't seem to purge
/dev/from all of the code. is there some other location where the lvm directory is defined or is this just a configuration bug [perhaps a known one at that]?
It looks like there are few hardcoded /dev strings elsewhere in the code. try a grep down the lib directory and change those too. I'll fix this in CVS.
patrick
Quoted 13 lines · Patrick Caulfield
Quoted 12 lines · Steven Lembark
trying to get vg's out of dev for now -- devfs issues.
so i modify
./kernel/lvm.hreplacing:#define LVM_DIR_PREFIX "/dev/"with
#define LVM_DIR_PREFIX "/lvm/"then configure and compile the code.
Quoted 8 lines
Quoted 4 lines
probem is that this doesn't seem to purge
/dev/from all of the code. is there some other location where the lvm directory is defined or is this just a configuration bug [perhaps a known one at that]?It looks like there are few hardcoded /dev strings elsewhere in the code. try a grep down the lib directory and change those too. I'll fix this in CVS.
The only one I still found was in tools/lib/pv_check_name.c. Fixed that and checked it in.
The real constraint here is, that LVM stores the full pathname in the VGDA and that there's no tool available today to change that information on the fly.
I implemented LVM_DIR_PREFIX a while ago as a helper to ease namespace changes. But for sure there's still something to do (as it always will ;-)
Quoted 7 lines
patrick
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
trying to get vg's out of dev for now -- devfs issues.
so i modify
./kernel/lvm.hreplacing:#define LVM_DIR_PREFIX "/dev/"with
#define LVM_DIR_PREFIX "/lvm/"then configure and compile the code.
Quoted 8 lines
Quoted 4 lines
probem is that this doesn't seem to purge
/dev/from all of the code. is there some other location where the lvm directory is defined or is this just a configuration bug [perhaps a known one at that]?It looks like there are few hardcoded /dev strings elsewhere in the code. try a grep down the lib directory and change those too. I'll fix this in CVS.
Quoted 8 lines
The only one I still found was in
tools/lib/pv_check_name.c. Fixed that and checked it in.The real constraint here is, that LVM stores the full pathname in the VGDA and that there's no tool available today to change that information on the fly.
I implemented
LVM_DIR_PREFIXa while ago as a helper to ease namespace changes. But for sure there's still something to do (as it always will ;-)
i don't have any existing VG's -- problems with devfs trashed them all. main issue now is starting over w/ lvm & devfs in separate namespaces until all of the kinks are worked out.
Signature · 3 lines
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[email protected] 800-762-1582Quoted 27 lines · Steven Lembark
Quoted 27 lines
Quoted 12 lines
Quoted 12 lines
trying to get vg's out of dev for now -- devfs issues.
so i modify
./kernel/lvm.hreplacing:#define LVM_DIR_PREFIX "/dev/"with
#define LVM_DIR_PREFIX "/lvm/"then configure and compile the code.
Quoted 8 lines
Quoted 4 lines
probem is that this doesn't seem to purge
/dev/from all of the code. is there some other location where the lvm directory is defined or is this just a configuration bug [perhaps a known one at that]?It looks like there are few hardcoded /dev strings elsewhere in the code. try a grep down the lib directory and change those too. I'll fix this in CVS.
The only one I still found was in
tools/lib/pv_check_name.c. Fixed that and checked it in.The real constraint here is, that LVM stores the full pathname in the VGDA and that there's no tool available today to change that information on the fly.
Quoted 6 lines
Quoted 2 lines
I implemented
LVM_DIR_PREFIXa while ago as a helper to ease namespace changes. But for sure there's still something to do (as it always will ;-)i don't have any existing VG's -- problems with devfs trashed them all. main issue now is starting over w/ lvm & devfs in separate namespaces until all of the kinks are worked out.
All right.
In this case you should give it a (not tested!) try with the recent change.
Please retrieve the software from the CVS repository by following the instructions on our WEB site <www.sistina.com>.
Don't forget to apply the tag "LVM_0-9-patches" during checkout.
Quoted 9 lines
Signature · 8 lines
-- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [email protected] 800-762-1582 _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-