DO NOT REPLY [Bug 6280] (Bug incl. PATCH) Linux mknod does not work
when syncing fifos and sockets from Solaris
samba-bugs at samba.org
samba-bugs at samba.org
Sat Apr 25 17:07:11 GMT 2009
https://bugzilla.samba.org/show_bug.cgi?id=6280
------- Comment #4 from wayned at samba.org 2009-04-25 12:07 CST -------
Created an attachment (id=4082)
--> (https://bugzilla.samba.org/attachment.cgi?id=4082&action=view)
Changes to excise rdev use with special files
Here's the patch I came up with. It has the following features:
- Should avoid the error when talking to an older rsync version, regardless of
the direction of transfer.
- Makes the transmission of special files a little more efficient (and will be
made even more efficient in protocol 31, which is being created for 3.1.0).
- Saves memory by not remembering a useless rdev value for special files.
I looked at the Linux kernel code, and all the file systems I saw validate that
the dev value is a valid device number before figuring out what kind of
device/special-file is being created. So, the code above ensures that mknod()
should always see a valid device number.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list