Current-Users archive

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

Re: utimes(2) returning EINVAL



Jukka Salmi --> current-users (2008-06-17 23:23:34 +0200):
> Jukka Salmi --> current-users (2008-06-17 22:52:34 +0200):
> > Hello,
> > 
> > while repeatedly running rsync I noticed that file access and
> > modification times are not set correctly anymore; and indeed running
> > the attached program fails on a NetBSD/i386 4.99.65 system (userland
> > is ~ 4.99.64):
> > 
> >     $ touch file
> >     $ ./a.out file
> >     a.out: utimes: Invalid argument
> > 
> > 
> > Any hints?
> 
> Fixed with rev 1.368 of src/sys/kern/vfs_syscalls.c. Thanks, Christos!

Problem still seems to exist with tmpfs:

$ mount | grep /tmp
tmpfs on /tmp type tmpfs (nosuid, nodev, local)
$ touch /tmp/file
$ ./a.out /tmp/file
a.out: utimes: Invalid argument


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index