Consider ld(4) a removable device

This commit is contained in:
Pierre Pronchery 2018-02-01 18:02:39 +01:00
parent 4892cb074f
commit b751323c86

View File

@ -326,7 +326,7 @@ static void _list_add(Volumes * volumes, char const * name, char const * device,
GdkPixbuf * pixbuf; GdkPixbuf * pixbuf;
char const * ignore[] = { "kernfs", "proc", "procfs", "ptyfs" }; char const * ignore[] = { "kernfs", "proc", "procfs", "ptyfs" };
char const * cdrom[] = { "/dev/cd" }; char const * cdrom[] = { "/dev/cd" };
char const * removable[] = { "/dev/sd" }; char const * removable[] = { "/dev/ld", "/dev/sd" };
size_t i; size_t i;
double fraction = 0.0; double fraction = 0.0;
unsigned int f = 0; unsigned int f = 0;