SFTP support for subsecond times

Lucas Holt luke at foolishgames.com
Wed May 10 22:50:43 AEST 2023


On 5/10/23 4:36 AM, Antonio Larrosa wrote:
> Hello,
>
> This is probably a long email, but please bear with me. I plan to
> submit a patch and would like to explain what I will do before doing
> it so I don't lose time if there's some flaw in my plan.
>
> I currently use sshfs to mount directories from some computers and a
> NAS into other computers. I recently noticed that when copying some
> files from one computer into one of these sshfs mounted directories
> (supposedly preserving times) the files are losing the subsecond part
> of mtime (and atime). So, for example, `stat foo` shows this locally:

My first thought after reading this is why aren't you using NFS?

I can't speak to what patches might get accepted, but it does seem like 
this is the wrong tool for the job.

-- 
Lucas Holt
Luke at FoolishGames.com
________________________________________________________
MidnightBSD.org (Free OS)
JustJournal.com (Free blogging)



More information about the openssh-unix-dev mailing list