* Userspace devfs
*
* Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
+ * Copyright (C) 2003-2005 Kay Sievers <kay.sievers@vrfy.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
#include <sys/types.h>
#include <sys/param.h>
#include "libsysfs/sysfs/libsysfs.h"
+#include "list.h"
#define ALARM_TIMEOUT 120
#define COMMENT_CHARACTER '#'
+#define LINE_SIZE 512
#define NAME_SIZE 256
#define USER_SIZE 32
#define SUBSYSTEM_SIZE 32
#define SEQNUM_SIZE 32
-#define LINE_SIZE 512
-
#define DEVD_DIR "/etc/dev.d"
#define DEVD_SUFFIX ".dev"
char subsystem[SUBSYSTEM_SIZE];
char name[NAME_SIZE];
- char symlink[NAME_SIZE];
+ char devname[NAME_SIZE];
+ struct list_head symlink_list;
char owner[USER_SIZE];
char group[USER_SIZE];
mode_t mode;
char type;
dev_t devt;
- char devname[NAME_SIZE];
char tmp_node[NAME_SIZE];
int partitions;
int ignore_remove;