public inbox for
help / color / mirror / Atom feed
* LVM2 lib/device/dev-cache.c man/lvm.conf.5
@ 2007-04-26 17:15 agk
  0 siblings, 0 replies; only message in thread
From: agk @ 2007-04-26 17:15 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	2007-04-26 18:14:57

Modified files:
	lib/device     : dev-cache.c 
	man            : lvm.conf.5 

Log message:
	add preferred_names to man page.


--- LVM2/lib/device/dev-cache.c	2007/04/26 16:44:58	1.46
+++ LVM2/lib/device/dev-cache.c	2007/04/26 17:14:57	1.47
@@ -155,6 +155,9 @@
 	char *s0, *s1;
 	struct stat stat0, stat1;
+	/*
+	 * FIXME Better to compare patterns one-at-a-time against all names.
+	 */
 	if (_cache.preferred_names_matcher) {
 		m0 = matcher_run(_cache.preferred_names_matcher, path0);
 		m1 = matcher_run(_cache.preferred_names_matcher, path1);
--- LVM2/man/lvm.conf.5	2007/02/28 18:27:13	1.18
+++ LVM2/man/lvm.conf.5	2007/04/26 17:14:57	1.19
@@ -81,6 +81,11 @@
 Devices in directories outside this hierarchy will be ignored.
 Defaults to "/dev".
+\fBpreferred_names\fP \(em List of patterns compared in turn against
+all the pathnames referencing the same device in in the scanned directories.
+The pathname that matches the earliest pattern in the list is the
+one used in any output.
 \fBfilter\fP \(em List of patterns to apply to devices found by a scan.
 Patterns are regular expressions delimited by any character and preceded
 by \fBa\fP (for accept) or \fBr\fP (for reject).  The list is traversed

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-26 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 17:15 LVM2 lib/device/dev-cache.c man/lvm.conf.5 agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).