bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 16/16] trans: add mtab translator


From: Samuel Thibault
Subject: Re: [PATCH 16/16] trans: add mtab translator
Date: Sun, 15 Sep 2013 23:27:58 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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 (path, "/dev/%s", device);

In which situation is that one needed?

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]