1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

man: vgmknodes: add note about udev and --refresh

This commit is contained in:
Peter Rajnoha 2024-08-14 11:51:34 +02:00
parent 012854b3c2
commit bec1860531
No known key found for this signature in database
GPG Key ID: E776664036DF84AB
3 changed files with 18 additions and 0 deletions

View File

@ -3,3 +3,6 @@ LVs and creates any that are missing and removes unused ones.
.P .P
This command should not usually be needed if all the system components are This command should not usually be needed if all the system components are
interoperating correctly. interoperating correctly.
.P
See also the notes at the end of this manual page for using vgmknodes
together with udev.

View File

@ -0,0 +1,12 @@
.
.SH NOTES
.
When using \fBudev\fP(7) to manage the /dev content, it is also highly recommended
to use the \fB--refresh\fP option. This way, the necessary udev events are
generated too and associated udev rules are properly applied. If the \fB--refresh\fP
option is not used in this case, then LVM recreates the /dev content directly and
udev will not have proper records about affected symlinks and nodes. Also,
any node permissions defined by udev rules are not applied. This, in turn,
may cause problems for other system components that rely on reading the udev
database to get the list of /dev symlinks and nodes and which rely on the
permissions based on udev rules.

View File

@ -20,6 +20,9 @@ LVs and creates any that are missing and removes unused ones.
.P .P
This command should not usually be needed if all the system components are This command should not usually be needed if all the system components are
interoperating correctly. interoperating correctly.
.P
See also the notes at the end of this manual page for using vgmknodes
together with udev.
. .
.SH USAGE .SH USAGE
. .