Make cp and mv optionally preserve hard links.

This commit is contained in:
Matt Kraai
2001-12-17 15:26:36 +00:00
parent 46ea0e4696
commit ace02dc9cd
6 changed files with 42 additions and 75 deletions

View File

@ -286,4 +286,8 @@ extern const char * const can_not_create_raw_socket;
#define CURRENT_TTY "/dev/tty"
#define CONSOLE_DEV "/dev/console"
int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name);
void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name);
void reset_ino_dev_hashtable(void);
#endif /* __LIBCONFIG_H__ */