Justus Winter, le Mon 16 Sep 2013 10:42:00 +0200, a écrit :
> Tbh I don't know anymore, but I must have encountered it on one of my
> machines. I guess it's possible to use ext2fs ... -T device hd0s1.
Ok. That's really why I'd prefer to see ext2fs etc. actually provide a
get_source hook, to avoid
Quoting Samuel Thibault (2013-09-15 23:27:58)
> Justus Winter, le Tue 30 Jul 2013 11:59:24 +0200, a écrit :
> > + if (strncmp (device, "device:", 7) == 0)
> > +asprintf (path, "/dev/%s", &device[7]);
> > + else if (strncmp (device, "/dev/", 5) == 0)
> > +*path = strdup (device);
>
> > +
Justus Winter, le Tue 30 Jul 2013 11:59:24 +0200, a écrit :
> + if (strncmp (device, "device:", 7) == 0)
> +asprintf (path, "/dev/%s", &device[7]);
> + else if (strncmp (device, "/dev/", 5) == 0)
> +*path = strdup (device);
> + else if (looks_like_block_device (device))
> +asprintf
The mtab translator provides an mtab file that is dynamically created
on demand. It is populated with information about active translators
bound below the given path that is accumulated by traversing the
translator tree. It can also be invoked as normal program that prints
the requested information