On Fri, 31.10.14 16:01, Timofey Titovets (nefelim...@gmail.com) wrote:
>
> +void get_rootbdev(char *rootbdev) {
> +FILE *file = fopen("/proc/self/mountinfo", "r");
> +char mnt_point[PATH_MAX];
> +char mnt_source[PATH_MAX];
> +char t[256]; // Trash
> +while
Good time of day, list.
I have try to fix "Fixme" in svg.c:
/* FIXME: this works only in the simple case */
// By default function try to get only root=/dev/*
I rewrite to parse /proc/self/mountinfo
This only support root device like /dev/???*
I can't support LVM/Luks & etc, i'm not using these s