Bug 2147 - quotas completely hosed on sparc64
Summary: quotas completely hosed on sparc64
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: quota
Version: 6.0
Hardware: sparc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Miller
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-04-12 20:41 UTC by David Miller
Modified: 2008-05-01 15:37 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 1999-04-17 10:27:00 UTC


Attachments (Terms of Use)

Description David Miller 1999-04-12 20:41:31 UTC
They cannot work with the current tools.

We do translate properly the quota system calls used
by the tools into the 64-bit kernel.  However, the
kernel uses a 64-bit time_t in the quota.user and
quota.group records, but the quota tools cannot grok
this.

This also points out another problem wrt. Alpha systems,
you cannot swap ext2 disks with quotas between 64-bit
and 32-bit systems, although it would work if you force
the quota database to be updated at the time of the disk
swap so the quota files are completely rebuilt on the new
system.

A solution will involve some hacks to the quota tools so
they understand the 64-bit kernel quota files.  This is
the fastest/easiest way towards a fix at this time.

Comment 1 David Miller 1999-04-17 10:27:59 UTC
Fixed in latest build via quota-1.66-6 which has my fixes
for this problem.


Note You need to log in before you can comment on or make changes to this bug.