Searched defs:old_path (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dlabel.c63 int symlink_label(const char *old_path, const char *new_path) { argument
66 assert(old_path);
73 if (symlink(old_path, new_path) < 0)
H A Dbtrfs-util.c1756 int btrfs_subvol_snapshot(const char *old_path, const char *new_path, BtrfsSnapshotFlags flags) { argument
1759 assert(old_path);
1762 old_fd = open(old_path, O_RDONLY|O_NOCTTY|O_CLOEXEC|O_DIRECTORY);
/systemd/src/shared/
H A Dinstall.c277 const char *old_path,
286 assert(old_path);
295 if (symlink(old_path, new_path) >= 0) {
296 unit_file_changes_add(changes, n_changes, UNIT_FILE_SYMLINK, new_path, old_path);
307 if (path_equal(dest, old_path))
313 r = symlink_atomic(old_path, new_path);
318 unit_file_changes_add(changes, n_changes, UNIT_FILE_SYMLINK, new_path, old_path);
276 create_symlink( const char *old_path, const char *new_path, bool force, UnitFileChange **changes, unsigned *n_changes) argument

Completed in 25 milliseconds