diff options
author | Doug Ledford <dledford@redhat.com> | 2010-07-20 12:18:12 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2010-07-22 10:16:31 -0400 |
commit | 2913d9df16123e2453eacd24c3b3e1029887c21c (patch) | |
tree | cafc84aa3172c0fb540b9b46b83647752895197d /Grow.c | |
parent | cfad27a93765529d72c49b9a39f736b194d31866 (diff) | |
download | mdadm-2913d9df16123e2453eacd24c3b3e1029887c21c.tar.gz mdadm-2913d9df16123e2453eacd24c3b3e1029887c21c.tar.xz mdadm-2913d9df16123e2453eacd24c3b3e1029887c21c.zip |
udev rules: add watch option
The watch option to udev tells udev to watch our mdadm device file for
close events and on a close it rechecks the device. This means that if,
for example, we use mdadm to --grow the array from a 4 disk to 5 disk
array, when mdadm closes the array, udev will re-read the superblock and
update its internal database with the new information. This can also be
used to cause udev to create new device special files if, for example, a
partitioning program is used to modify the partition table on the actual
md device and that program does not call the syscall to reread the
partition table.
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Grow.c')
0 files changed, 0 insertions, 0 deletions