[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
- Re: [PATCH 16/16] trans: add mtab translator,
Samuel Thibault <=