mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* block size for quotas?
@ 2001-01-19 10:02 Mike Glover
  2001-02-09 10:21 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Glover @ 2001-01-19 10:02 UTC (permalink / raw)
  To: linux-kernel


   I maintain quotatool, a command-line quota utility.
Right now, I'm using BLOCK_SIZE -- defined in
<linux/fs.h> -- to convert between blocks and bytes.
I'd like to not use the linux header files at all for
this, but how else can I find the info?

   Please CC: me at mpg4@duluoz.net, as I'm not 
subscribed to the list.

-mike

-- 

GnuPG key available at http://devel.duluoz.net/pubkey.asc
Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4@duluoz.net>
Key fingerprint = EF6E 8BCB 4810 E98C F0FD  4596 367A 32B7 9A25 6AE5


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: block size for quotas?
  2001-01-19 10:02 block size for quotas? Mike Glover
@ 2001-02-09 10:21 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2001-02-09 10:21 UTC (permalink / raw)
  To: Mike Glover; +Cc: linux-kernel

  Hello.

>    I maintain quotatool, a command-line quota utility.
> Right now, I'm using BLOCK_SIZE -- defined in
> <linux/fs.h> -- to convert between blocks and bytes.
> I'd like to not use the linux header files at all for
> this, but how else can I find the info?
  In current kernel there's no constant specifying quota
blocksize and BLOCK_SIZE is hardcoded into the quota code
so it's fairly reasonable to use that constant for utils...
  (In my patches for new quota format this issue is also
addressed and constant QUOTABLOCK_SIZE is defined).

  I don't know if you know that there's been created
SourceForge project for linux quota utils (project has description
'Linux DiskQuota' and has name 'linuxquota'). If you're
interested you might include your utility to standard
quota utils package (there's setquota utility which should be
command line tool in the package so we might drop setquota
if your util is better :)) BTW: What does your util better
than setquota?)

						Bye
							Honza

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-09 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 10:02 block size for quotas? Mike Glover
2001-02-09 10:21 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®