9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] corrections to ext2 file server
@ 2001-03-19 14:38 Richard Miller
  0 siblings, 0 replies; only message in thread
From: Richard Miller @ 2001-03-19 14:38 UTC (permalink / raw)
  To: 9fans

For large linux partitions, you need to change this:

/sys/lib/pcdist/cmd/ext2/iobuf.c:138 c iobuf.c:138
< 	seek(dev->dev, addr*dev->block_size, 0);
---
> 	seek(dev->dev, (vlong)addr*dev->block_size, 0);
/sys/lib/pcdist/cmd/ext2/iobuf.c:156 c iobuf.c:156
< 	seek(dev->dev, addr*dev->block_size, 0);
---
> 	seek(dev->dev, (vlong)addr*dev->block_size, 0);


-- Richard Miller



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-19 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-19 14:38 [9fans] corrections to ext2 file server Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).