projects
/
framework
/
base
/
util-linux-ng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upload Tizen:Base source
[framework/base/util-linux-ng.git]
/
mount
/
devname.c
1
#include "fsprobe.h"
2
3
#include "devname.h"
4
#include "sundries.h" /* for xstrdup */
5
6
const char *
7
spec_to_devname(const char *spec)
8
{
9
if (!spec)
10
return NULL;
11
if (is_pseudo_fs(spec))
12
return xstrdup(spec);
13
return fsprobe_get_devname_by_spec(spec);
14
}
15