Thread View: muc.lists.freebsd.hackers
1 messages
1 total messages
Started by Steve Rikli
Sat, 17 Oct 2026 19:42
Re: rsync-3.5 --specials behavior change vs. FreeBSD bindat(2)
Author: Steve Rikli
Date: Sat, 17 Oct 2026 19:42
Date: Sat, 17 Oct 2026 19:42
32 lines
5307 bytes
5307 bytes
On Sat, Oct 17, 2026 at 07:24:57PM +0000, Marcin Cieslak wrote:
> On Sat, 17 Oct 2026, Steve Rikli wrote:
>
> > However, it seems FreeBSD does have bindat(), per the bindat(2) man page.
> > https://man.freebsd.org/cgi/man.cgi?query=bindat
>
> I think what rsync tries to use is mknodat(2) system call, which
> returns EINVAL in that case...
Is that what Linux does as well?
Please pardon my lack of developer-ness, since I'm more sysadmin than
programmer, but a brief compare between FreeBSD mknod,mknodat(2) and
Linux/Debian mknod,mknodat(2) man pages:
(FreeBSD 15)
[EINVAL] Creating anything other than a block or character
special file, whiteout, or FIFO, is not supported.
(Debian 13)
EINVAL mode requested creation of something other than a regular file,
device special file, FIFO or socket.
Is the significant difference that FreeBSD's doesn't mention "socket"?
Thanks,
sr.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads