Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.273 kb
#include "fsprobe.h"
#include "devname.h"
#include "sundries.h" /* for xstrdup */
const char *
spec_to_devname(const char *spec)
{
if (!spec)
return NULL;
if (nocanonicalize || is_pseudo_fs(spec))
return xstrdup(spec);
return fsprobe_get_devname_by_spec(spec);
}
Jump to Line
Something went wrong with that request. Please try again.