Re: SFTP support for subsecond times

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


On Wed, May 10, 2023 at 2:50 PM Lucas Holt <luke@xxxxxxxxxxxxxxxx> wrote:
> 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.

A while ago I wrote a script so people can take their home directory
with them when they log into another machine (usage case for us is
development of embedded hardware, and we got sick of having to copy
data around with scp, or sometimes forgot to do so...), see


Roland Mainz
  __ .  . __
 (o.\ \/ /.o) roland.mainz@xxxxxxxxxxx
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
openssh-unix-dev mailing list

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux