Addresses: https://github.com/util-linux/util-linux/discussions/2914
Signed-off-by: Karel Zak <kzak@redhat.com>
* @value: token data (e.g. "foo")
* @cache: pointer to cache (or NULL when you don't want to re-use the cache)
*
+* If the @value is NULL and @token is not in the NAME=value format, then return
+* a copy of the @token.
+ *
* Returns: allocated string with a device name.
*/
char *blkid_evaluate_tag(const char *token, const char *value, blkid_cache *cache)
*PARTLABEL*=_<label>_::
Specifies partition label (name). The partition labels are supported for example for GUID Partition Table (GPT) or MAC partition tables.
-If the filesystem or partition is found, the device name will be printed on stdout.
+If the filesystem or partition is found, the device name will be printed on stdout. If the input is not in the format of NAME=value, then the input will be copied to the output without any modification.
The complete overview about filesystems and partitions you can get for example by