Re: VFS 64-bit clean

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Sat, 21 Feb 1998 00:10:13 +0100


On Feb 20, Stefan Monnier wrote:

> Agreed in the general case (in other words: for the syscall interface).
> But the internal representation on disk is mostly independant and since it's
> used in ext2fs to represent [acm]time and since those accesses could not have
> happened before 1970 since ext2fs didn't exist at the time, it seems perfectly
> fine to use unsigned 32bit ints (which get translated to signed 64bit or signed
> 32bit for VFS interfacing).

not fully true. what happens if you'd like to copy files from a pretty old machine
and keep the files' timestamps from pre-1970 from that (obviously non-UNIX)
file system ?

I know of similar transistions (well, not exactly pre-1970 but pretty close),
but lucky enough time stamps of files doesn't matter in that case ;-)

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu