login
Header Space

 
 

Re: gid strangeness

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Sunday, August 2, 1992 - 6:16 pm

In article <1992Aug2.201320.9109@ifi.uio.no> janl@ifi.uio.no (Jan Nicolai Langfeldt) writes:

It's standard, and it happens on 0.97 too. Explanation to follow...


It's not the controller, it's the minix filesystem.  Minix uses only an
8-bit value for the gid value of a file - so although linux internally
(and the extended-fs) can handle real gids, the minix fs cannot.  There
was nothing I could do about it - there simply isn't any room in the
minix inode on the disk.  So when the inode is eventually read back,
only the low 8 bits are correct.  The solution is either to use the
extended filesystem (which is still alpha, might change and might have
bugs) or only use gid's in the 0-255 range. 

Another similar problem you can see with the minix filesystem is that
only the modify-time of a file can be stored on the disk (for the same
reason as the gid problem).  So again, after the inode is read in from
disk, the other times are reset (to the same time as the modification
time).  This problem is harder to see, and as programs seldom use the
other times it's not likely to be a problem. 

                Linus
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: gid strangeness, Linus Benedict Torvalds, (Sun Aug 2, 6:16 pm)
speck-geostationary