* [TUHS] Unix V6 on SimH
@ 2010-04-24 16:16 Andrew Sealy-Bell
2010-04-24 21:19 ` Carl Lowenstein
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Sealy-Bell @ 2010-04-24 16:16 UTC (permalink / raw)
Hi, doesn't anybody know if there is a disk size limit on Unix 6? I wrote a
C program to create a file and it won't go above around 1.5Mb. It doesn't
crash or report any errors but the file size never exceeds around that size.
Maybe it's a disk size limitation?
Also, is it possible to add other devices? like using an ISO file perhaps.
Regards,
Andrew.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20100425/637ccd5c/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [TUHS] Unix V6 on SimH
2010-04-24 16:16 [TUHS] Unix V6 on SimH Andrew Sealy-Bell
@ 2010-04-24 21:19 ` Carl Lowenstein
0 siblings, 0 replies; 2+ messages in thread
From: Carl Lowenstein @ 2010-04-24 21:19 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
On Sat, Apr 24, 2010 at 9:16 AM, Andrew Sealy-Bell
<andyamsterdam2003 at gmail.com> wrote:
> Hi, doesn't anybody know if there is a disk size limit on Unix 6? I wrote a
> C program to create a file and it won't go above around 1.5Mb. It doesn't
> crash or report any errors but the file size never exceeds around that size.
> Maybe it's a disk size limitation?
According to my memory, reinforced by reading the manual section File
System (V), there are several limits.
The disk size (in 512-byte blocks) is kept in the super-block as a
16-bit integer. This implies at most a 32MB file system. Since at
that time there was only one file system per disk, that means a
maximum 32MB disk.
The file size (in bytes) is kept in an i-node as a 24-bit number,
implying a maximum 16MB file.
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenstein at ucsd.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-24 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-24 16:16 [TUHS] Unix V6 on SimH Andrew Sealy-Bell
2010-04-24 21:19 ` Carl Lowenstein
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).