Visible symlinks under Windows
corinna at vinschen.de
Fri Feb 22 20:20:18 GMT 2008
On Feb 22 21:11, Corinna Vinschen wrote:
> On Feb 22 11:08, Jeremy Allison wrote:
> > On Thu, Feb 21, 2008 at 01:03:48PM +0100, Corinna Vinschen wrote:
> > >
> > > If that's considered too dangerous, what about utilizing the least
> > > significant bit in the ctime member? Timestamps are defined in 100ns
> > > intervals. The LSB could be set to 0 or 1 deliberately. None of the
> > > Win32 timestamp related functions know about the ctime
> > No, don't think you can do that. Win32 apps will set a
> > time and expect to read it back exactly. We can't play
Oh, erm... are you sure? The OS can't make any assumptions about the
timestamp granularity of the underlying file system, usually. I don't
think that's comparable with DOS where the OS exactly knew how
timestamps are stored on the floppy down to every bit.
> > bit-twiddling games with times. That got us in trouble
> > in the old DOS days.
> Too bad. Does anybody have another idea or are we just stuck without a
> chance to recognize symlinks from NT user space?
More information about the samba-technical