search for: filesystem_dev

Displaying 5 results from an estimated 5 matches for "filesystem_dev".

2004 Feb 02
1
[PATCH] --one-file-system and automounter
...me, '/'); - - /* skip all but directories */ - if (!S_ISDIR(st->st_mode)) - return 1; - - /* if its not a subdirectory then allow */ - if (!p) - return 0; - - *p = 0; - if (link_stat(fname, &st2)) { - *p = '/'; - return 0; - } - *p = '/'; - - return (st2.st_dev != filesystem_dev); -} - #define STRDUP(ap, p) (ap ? string_area_strdup(ap, p) : strdup(p)) /* IRIX cc cares that the operands to the ternary have the same type. */ #define MALLOC(ap, i) (ap ? (void*) string_area_malloc(ap, i) : malloc(i)) @@ -710,11 +684,6 @@ struct file_struct *make_file(char *fnam return NU...
2019 Jun 09
2
[Bug 13991] New: rsync --delete --one-file-system skips deletes after crossing filesystems on destination.
...e for details. [root at arden-lt tmp]# ----------------------- [OK it's not very good removing lost+found, but that's not the problem]. I think the problem is the code in delete_in_dir() in generator.c: if (one_file_system) { if (file->flags & FLAG_TOP_DIR) filesystem_dev = *fs_dev; else if (filesystem_dev != *fs_dev) return; } As far as I can tell this is unnecessary. --one-file-system should only check the source filesystems not the destination filesystems. This code can cause worse problems too. I haven't figured out the simplest way...
2005 Sep 27
1
--delete and --dirs
rsync-2.6.6 manpage says: --delete [...] This option has no effect unless directory recursion is enabled. True. In fact, I noted that --delete doesn't delete anything if --dirs is used rather than --recursive. Is there any reason for --delete not to delete when used with --dirs? Is there a way to get rsync to actually delete files on the receiving end when using
2005 Apr 24
3
[Bug 2645] --one-file-system semantics changed with 2.6.4 (bug?)
https://bugzilla.samba.org/show_bug.cgi?id=2645 ------- Additional Comments From dalgoda@ix.netcom.com 2005-04-24 11:36 ------- It looks like the culprit is the change for receiver.c 1.130. It pulled the call to send_file_list(-1,...), which is what handled the one_file_system code. It's not like we can easily go back either, since flist.c 1.267 removed support for f=-1. Bummer. --
2007 Sep 22
0
rsync build on IA64 using icc
...declaration in primary source file extern int one_file_system; ^ generator.c(88): remark #1419: external declaration in primary source file extern struct stats stats; ^ generator.c(89): remark #1419: external declaration in primary source file extern dev_t filesystem_dev; ^ generator.c(90): remark #1419: external declaration in primary source file extern char *backup_dir; ^ generator.c(91): remark #1419: external declaration in primary source file extern char *backup_suffix; ^ generator.c(92): remark #1419: extern...