diff options
author | Eric Sandeen <sandeen@redhat.com> | 2008-06-20 22:32:49 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-06-28 22:17:20 -0400 |
commit | 772b89d34212e4b36c2025c80304e166bc25a2f3 (patch) | |
tree | 9f05bcd1a31c588d312226f8ceb2e5cc8b0c2bb8 /misc/blkid.8.in | |
parent | bbf6d453597ff8227c9a541d55c64ba01691f171 (diff) | |
download | e2fsprogs-772b89d34212e4b36c2025c80304e166bc25a2f3.tar.gz |
blkid: use list_for_each_safe in garbage collection
We need to use list_for_each_safe in case a device gets removed from
the list during garbage collection.
Also make the manpage slightly more informative about
what the -g garbage collection option does.
Addresses-Debian-Bug: #487758, #487783
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'misc/blkid.8.in')
-rw-r--r-- | misc/blkid.8.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/blkid.8.in b/misc/blkid.8.in index 42ad0d71..8a4e9718 100644 --- a/misc/blkid.8.in +++ b/misc/blkid.8.in @@ -61,7 +61,8 @@ scanned but not necessarily available at this time), specify .IR /dev/null. .TP .B \-g -Perform a garbage collection pass on the blkid cache. +Perform a garbage collection pass on the blkid cache to remove +devices which no longer exist. .TP .B \-h Display a usage message and exit. |