bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: new openat-like function: mkdirat


From: Jim Meyering
Subject: Re: FYI: new openat-like function: mkdirat
Date: Wed, 30 Nov 2005 21:53:53 +0100

Roland McGrath <address@hidden> wrote:
> I think that the Solaris *at functions were really primarily intended for
> use with O_XATTR to get at "file attribute" magic pseudo-directories rather
> than to optimize use of normal directories and files.  Probably mkdirat
> doesn't make sense in Solaris attribute pseudo-directories.  But mkdirat is
> as useful in general as any of those *at additions, so I'd say we might as
> well have it.

Good!  Thanks.

cp, cpio, mv, and tar currently use mkfifo and mknod,
so you might want to add mkfifoat and mknodat to the list, too.

I haven't looked too closely at find, but its -execdir predicate
makes me think having exec*at functions would be useful, too.
But can glibc provide those without kernel support?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]