]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkid: escape quotes in the output
authorKarel Zak <kzak@redhat.com>
Thu, 7 Nov 2013 13:07:17 +0000 (14:07 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 7 Nov 2013 13:10:26 +0000 (14:10 +0100)
commit1c9885cde853a458b5abe5ce0804abc27caf4fd4
tree7a7f60ad47dfb4aa881093f31d57a0ba3c7def9d
parent485517de72057c90eaa49867bcc2a0c63d7506f3
blkid: escape quotes in the output

 # e2label /dev/loop0 'La"bel'
 # blkid -p /dev/loop0
 /dev/loop0: LABEL="La"bel"  ....

new version:

 /dev/loop0: LABEL="La\"bel" ....

Reported-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.c