chiark / gitweb /
volume_id: add and export string encoding function
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 17 May 2007 18:09:24 +0000 (20:09 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 17 May 2007 18:09:24 +0000 (20:09 +0200)
commitb10941c08db89f52038e19ee8a29f26d7808a448
treea456c4e24d9ed0a79ad3f10afd29e353336c2b41
parent2f2c4fa442f33d7eaee02eda016d6149b9aa0be6
volume_id: add and export string encoding function

Needed for mount(8) to lookup LABEL=* in /dev/disk/by-label/*. Characters
not suited for a filename will be escaped and the encoded LABEL=* string
is able to find the corresponding symlink.
extras/volume_id/lib/Makefile
extras/volume_id/lib/exported_symbols
extras/volume_id/lib/libvolume_id.h
extras/volume_id/lib/util.c
extras/volume_id/lib/util.h
extras/volume_id/lib/volume_id.c