The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: carl.lowenstein@gmail.com (Carl Lowenstein)
Subject: [TUHS] Unix V6 on SimH
Date: Sat, 24 Apr 2010 14:19:57 -0700	[thread overview]
Message-ID: <o2g5904d5731004241419scba6ef45m1c90e92094197941@mail.gmail.com> (raw)
In-Reply-To: <l2hd8adcf861004240916t16fa5a57lebb142fbdbdc5cad@mail.gmail.com>

[-- 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



      reply	other threads:[~2010-04-24 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 16:16 Andrew Sealy-Bell
2010-04-24 21:19 ` Carl Lowenstein [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=o2g5904d5731004241419scba6ef45m1c90e92094197941@mail.gmail.com \
    --to=carl.lowenstein@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).