Displaying 11 results from an estimated 11 matches for "dev_major".
2018 Jan 15
0
Rsync 3.1.3pre1 released
...device related (makedev, major, minor) that sets a dependency to Linux only. The others, relating to time, can be fixed for the platform, but I'm just reporting them.
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c flist.c -o flist.o
if ((uint32)major(rdev) == rdev_major)
^
"/home/git/rsync/flist.c", line 436: error(114): identifier "major" is undefined
if (protocol_version < 30 && (uint32)minor(rdev) <= 0xFFu)
^...
2018 Jan 15
1
[Bug 13224] New: New file handling causes compile issues for NonStop port.
...r is
there a suitable replacement. The time-related items can be handled by my team,
but makedev, major, and minor, functions/defines, are not available on this
platform.
cc -c99 -I. -I. -I./zlib -I./popt -g -DHAVE_CONFIG_H -c flist.c -o flist.o
if ((uint32)major(rdev) == rdev_major)
^
"/home/git/rsync/flist.c", line 436: error(114): identifier "major" is
undefined
if (protocol_version < 30 && (uint32)minor(rdev) <=
0xFFu)
^...
2007 Jul 24
1
Custom kinit to find device by "label"
...it" on
Gentoo, and it works fine.
Because of the crash issue, I want to rewrite the program by
modifying kinit and using C. This is where I need help. Here is the
main function that needs to be translated into C:
function FindRootDeviceByLabel(const RootFSLabel: string): boolean;
const
DEV_MAJOR: dev_t = 8;
DEV_MODE: mode_t = S_IFBLK or &0660;
var
ActualFSLabel: string;
FileDescriptor: cint;
ReadBytes: TsSize;
DeviceFound: boolean;
dev_minor: dev_t;
begin
Result := False;
SetLength(ActualFSLabel, Length(RootFSLabel));
//loop through all devices that might have our ro...
2004 Jun 02
0
[PATCH] kill 2.4 dev_t vs kdev_t crap
...if (fe->attribs == OCFS_ATTRIB_CHAR)
inode->i_mode |= S_IFCHR;
else if (fe->attribs == OCFS_ATTRIB_BLOCK)
@@ -1892,18 +1884,8 @@
inode->i_mode |= S_IFSOCK;
inode->i_rdev = OCFS_NODEV;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- dev = MKDEV (fe->dev_major, fe->dev_minor);
-#else
- kdev = MKDEV (fe->dev_major, fe->dev_minor);
-#endif
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- init_special_inode (inode, inode->i_mode, dev);
-#else
- init_special_inode (inode, inode->i_mode,
- kdev_t_to_nr(kdev));
-#endif
+...
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a
couple security fixes, a few new features, and a smattering of bug fixes.
Please test this new release and send email to the rsync mailing list with
any questions, comments, or bug reports.
To see a summary of the changes since 3.1.2, visit this link:
http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS
You
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a
couple security fixes, a few new features, and a smattering of bug fixes.
Please test this new release and send email to the rsync mailing list with
any questions, comments, or bug reports.
To see a summary of the changes since 3.1.2, visit this link:
http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS
You
2011 Jun 25
11
[Bug 8265] New: Long paths, hardlinks, 'special' files [was: Regression: sockets for 3.0.9pre1]
https://bugzilla.samba.org/show_bug.cgi?id=8265
Summary: Long paths, hardlinks, 'special' files [was:
Regression: sockets for 3.0.9pre1]
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P1
Component: core
AssignedTo:
2012 Jan 10
2
plug leaks in febootstrap
...t Inc.
+ * Copyright (C) 2009-2010, 2012 Red Hat Inc.
*
* 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
@@ -348,6 +348,8 @@ add_link (ext2_ino_t real_ino)
p->minor = dev_minor;
p->major = dev_major;
p->real_ino = real_ino;
+ p->next = links_head;
+ links_head = p;
}
static void
--
1.7.9.rc0.13.gbee72
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...es == 1)
goto return_with_success;
}
#endif
@@ -1592,6 +1605,7 @@
if ((am_root && preserve_devices && IS_DEVICE(file->mode))
|| (preserve_specials && IS_SPECIAL(file->mode))) {
+ int iflags = 0;
uint32 *devp = F_RDEV_P(file);
dev_t rdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp));
if (statret == 0) {
@@ -1609,7 +1623,15 @@
&& BITS_EQUAL(sx.st.st_mode, file->mode, _S_IFMT)
&& sx.st.st_rdev == rdev) {
/* The device or special file is identical. */
- set_file_attrs(fname, file, &sx, NULL, maybe_ATTRS_REPORT);...
2011 Mar 07
4
[PATCH 0/3] ocfs2: Add batched discard support
Hi all,
This patch set adds batched discard support to ocfs2. Please check. Thanks.
Regards,
Tao
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...e is copied to some extent
- * from init/initramfs.c in the kernel.
- */
-#define N_ALIGN(len) ((((len) + 1) & ~3) + 2)
-
-static unsigned long cpio_ino, nlink;
-static mode_t mode;
-static unsigned long body_len, name_len;
-static uid_t uid;
-static gid_t gid;
-static time_t mtime;
-static int dev_major, dev_minor, rdev_major, rdev_minor;
-static loff_t curr, next_header;
-#ifdef HAVE_ZLIB
-static gzFile gzfp;
-#else
-static FILE *fp;
-#endif
-static const char *input_file;
-
-static int xread (void *buffer, size_t size);
-static void parse_header (char *s);
-static int parse_next_entry (void);
-s...