diff options
author | Karel Zak <kzak@redhat.com> | 2014-01-16 16:33:16 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2014-01-16 16:33:16 +0100 |
commit | 90faf9eb07e0b67745ab25c1ab3521631cca2f97 (patch) | |
tree | c4b0074c92dcf468cb42632988d5c84216e28837 | |
parent | c6fca22e3a4dde709f4b12875b69761536a2891d (diff) | |
download | util-linux-90faf9eb07e0b67745ab25c1ab3521631cca2f97.tar.gz |
wipefs: add comments to code
-rw-r--r-- | misc-utils/wipefs.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 8ac6c33a..7ccd3795 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -246,10 +246,13 @@ new_probe(const char *devname, int mode) goto error; blkid_probe_enable_superblocks(pr, 1); - blkid_probe_set_superblocks_flags(pr, BLKID_SUBLKS_MAGIC | - BLKID_SUBLKS_TYPE | BLKID_SUBLKS_USAGE | - BLKID_SUBLKS_LABEL | BLKID_SUBLKS_UUID | - BLKID_SUBLKS_BADCSUM); + blkid_probe_set_superblocks_flags(pr, + BLKID_SUBLKS_MAGIC | /* return magic string and offset */ + BLKID_SUBLKS_TYPE | /* return superblock type */ + BLKID_SUBLKS_USAGE | /* return USAGE= */ + BLKID_SUBLKS_LABEL | /* return LABEL= */ + BLKID_SUBLKS_UUID | /* return UUID= */ + BLKID_SUBLKS_BADCSUM); /* accept bad checksums */ blkid_probe_enable_partitions(pr, 1); blkid_probe_set_partitions_flags(pr, BLKID_PARTS_MAGIC); |