{"id":796,"date":"2016-07-22T01:15:26","date_gmt":"2016-07-22T01:15:26","guid":{"rendered":"http:\/\/avitech.com.au\/?page_id=796"},"modified":"2016-07-26T11:19:19","modified_gmt":"2016-07-26T11:19:19","slug":"rt-11-logical-disks","status":"publish","type":"page","link":"https:\/\/avitech.com.au\/?page_id=796","title":{"rendered":"RT-11 Logical Disks"},"content":{"rendered":"<p>RT-11 has a flat directory structure. So all your files (operating system, applications, data etc) are stored in that one directory. On a large hard drive, you can literally end up with hundreds of files, all stored in the one directory. This of course can make it quite difficult to find your files, and to remember what a particular file was for.<\/p>\n<p>Fortunately RT-11 supports virtual disks. RT-11 calls these &#8220;Logical Disks&#8221; (or LDs). I&#8217;m not sure when LDs were first introduced into RT-11, but they are definitely supported in V5.3.<\/p>\n<p>A Logical Disk consists of a &#8220;.dsk&#8221; file stored in the main RT-11 directory. Once the LD has been CREATE&#8217;d, MOUNT&#8217;ed and INITIALIZE&#8217;d you can access it by its Logical Disk device name (eg &#8211; LD0:, LD1:, etc). Logical Disks are persistent &#8211; they will automatically be mounted again when you reboot, unless you DISMOUNT them manually.<\/p>\n<h4>Creating a Logical Disk<\/h4>\n<p>The example below shows how to create, initialize and mount a Logical Disk on drive DU0 in RT-11 V5.3, with a size of 5000 blocks:<\/p>\n<pre>\r\n.<span class=\"crt-input\">CREATE DU0:MYLD.DSK[5000] \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">MOUNT LD0 DU0:MYLD.DSK \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">INIT LD0: \u2936<\/span>\r\nLD0:\/Initialize; Are you sure? <span class=\"crt-input\">Y \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">DIR LD0: \u2936<\/span>\r\n\r\n\r\n 0 Files, 0 Blocks\r\n 4962 Free blocks\r\n\r\n.\r\n<\/pre>\n<p>That&#8217;s all there is to it!<\/p>\n<p>You can now access and use device LD0: as if it was a separate physical drive.<\/p>\n<h4>Slightly more advanced stuff<\/h4>\n<p>We can use the SHOW SUBSET command to view the list of currently mounted Logical Disks:<\/p>\n<pre>\r\n.<span class=\"crt-input\">SHOW SUBSET \u2936<\/span>\r\n\r\nLD0 is  DU0:MYLD.DSK[5000.]\r\n\r\n\r\n.\r\n<\/pre>\n<p>Logical Disks can also be nested by creating Logical Disks inside a Logical Disk. Examples are provided in Chapter 9 of DEC&#8217;s <em>Introduction to RT-11<\/em> manual (see link below).<\/p>\n<p>We use the DISMOUNT command to unmount a Logical Drive:<\/p>\n<pre>\r\n.<span class=\"crt-input\">DISMOUNT LD0: \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">SHOW SUBSET \u2936<\/span>\r\n\r\nNo LD units mounted\r\n\r\n\r\n.\r\n<\/pre>\n<p>Once a LD has been DISMOUNT&#8217;d, it will not automatically MOUNT when you reboot.<\/p>\n<p>Bu default, Logical Disks are INITIALIZE&#8217;d with 4 directory segments. If your LD is going to house lots of files, you may want more. This is how you do it (the dialog below assumes you have already CREATE&#8217;d the &#8220;.dsk&#8221; file):<\/p>\n<pre>\r\n.<span class=\"crt-input\">MOUNT LD0: MYLD.DSK \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">INITIALIZE\/SEGMENTS:30 LD0: \u2936<\/span>\r\nLD0:\/Initialize; Are you sure? <span class=\"crt-input\">Y \u2936<\/span>\r\n\r\n.<span class=\"crt-input\">DIR LD0: \u2936<\/span>\r\n\r\n\r\n 0 Files, 0 Blocks\r\n 4934 Free blocks\r\n\r\n.\r\n<\/pre>\n<p>If you DISMOUNT the primary Logical Disk without first DISMOUNT&#8217;ing any nested Logical Disks, you may need to issue this command to clean things up:<\/p>\n<pre>\r\n.<span class=\"crt-input\">SET LD CLEAN \u2936<\/span>\r\n\r\n.\r\n<\/pre>\n<h4>Reference material<\/h4>\n<p>The primary reference for Logical Disks is Chapter 9 of DEC&#8217;s <a href=\"http:\/\/bitsavers.trailing-edge.com\/pdf\/dec\/pdp11\/rt11\/v5.6_Aug91\/AA-5285K-TC_Guide_to_RT-11_Documentation_Aug91.pdf\" target=\"_blank\">Introduction to RT-11 (Order Number AA-5281E-TC)<\/a>. This particular document relates to RT-11 V5.6, but most of it appears to equally apply to V5.3.<\/p>\n<p>There are several prominent posts on the web that provide information about the use of RT-11 Logical Disks. One example <a href=\"http:\/\/alt.sys.pdp11.narkive.com\/KWE2PfKK\/rt-11-drive-partitions\" target=\"_blank\">is a post by Ed Kelleher in this thread<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RT-11 has a flat directory structure. So all your files (operating system, applications, data etc) are stored in that one directory. On a large hard drive, you can literally end up with hundreds of files, all stored in the one directory. This of course can make it quite difficult to find your files, and to ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/avitech.com.au\/?page_id=796\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-796","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P7xTsk-cQ","jetpack-related-posts":[{"id":914,"url":"https:\/\/avitech.com.au\/?page_id=914","url_meta":{"origin":796,"position":0},"title":"RT-11 boot floppy","author":"malcolm","date":"26-July-2016","format":false,"excerpt":"This page steps through the process of building an RT-11 floppy disk that can be used to boot a PDP-11. You will need a floppy disk that has already been low-level formatted to suit the drive you are using (eg RX01, RX02, RX50, RX33, etc). The process for formatting your\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":847,"url":"https:\/\/avitech.com.au\/?page_id=847","url_meta":{"origin":796,"position":1},"title":"Dilog DQ419","author":"malcolm","date":"25-July-2016","format":false,"excerpt":"The Dilog DQ419, when coupled with one or two industry-standard 8-inch floppy drives, provides a PDP-11 QBUS system with an RX02-compatible floppy drive system. By \"industry-standard\" I mean a drive that is compatible with the 50-pin connector used on the Shugart 800\/850 8-inch drives. It is able to format, read\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"dq419-front","src":"https:\/\/i0.wp.com\/avitech.com.au\/wp-content\/uploads\/2016\/07\/dq419-front-300x176.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1068,"url":"https:\/\/avitech.com.au\/?page_id=1068","url_meta":{"origin":796,"position":2},"title":"VAXmate Software","author":"malcolm","date":"8-August-2016","format":false,"excerpt":"I have 5 VAXmates and what appears to be a full set of manuals and software for them. Below are images of the VAXmate software, in ImageDisk format. Each of these disks are standard IBM-AT format (double sided, double density, 80 tracks\/side, 15 sectors\/track, 512 bytes\/sector, 360RPM). All of these\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"vaxmate-floppy-banner","src":"https:\/\/i0.wp.com\/avitech.com.au\/wp-content\/uploads\/2016\/08\/vaxmate-floppy-banner-300x79.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":690,"url":"https:\/\/avitech.com.au\/?page_id=690","url_meta":{"origin":796,"position":3},"title":"Floppy Disk Imaging","author":"malcolm","date":"2-July-2016","format":false,"excerpt":"Floppy disks that are recorded in conventional \"FM\" or \"MFM\" format can often be imaged, and images can be written back to real floppy disks, using commonly available older-model PCs and peripherals. This applies to disks recorded in the original IBM 3740 \"FM\" (single-density) specification, and those recorded in the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"DSC_3424 (Large)","src":"https:\/\/i0.wp.com\/avitech.com.au\/wp-content\/uploads\/2016\/07\/DSC_3424-Large-300x199.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2887,"url":"https:\/\/avitech.com.au\/?page_id=2887","url_meta":{"origin":796,"position":4},"title":"DEC Professional 300 Series","author":"malcolm","date":"4-January-2018","format":false,"excerpt":"This page relates to the DEC Professional 300 Series computers, such as the Pro 350 and Pro 380. Note: I am looking for a working copy of the CP\/M floppy disks to suit the Pro 300 Series. If you have a copy of this, or know where one can be\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/avitech.com.au\/wp-content\/uploads\/2018\/01\/pos-3059-label-300x295.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2570,"url":"https:\/\/avitech.com.au\/?page_id=2570","url_meta":{"origin":796,"position":5},"title":"Saturn for RSX-11","author":"malcolm","date":"5-September-2017","format":false,"excerpt":"I found a set of 9 x RX50 disks that appear to be Saturn for RSX. I haven't yet attempted to install Saturn on RSX, so I can't verify whether this set is complete or error free. What I have done is image all 9 disks in an 80-track 5.25\"\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/avitech.com.au\/wp-content\/uploads\/2017\/09\/saturn-rsx-disk1-label-300x99.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/pages\/796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avitech.com.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=796"}],"version-history":[{"count":9,"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/pages\/796\/revisions"}],"predecessor-version":[{"id":933,"href":"https:\/\/avitech.com.au\/index.php?rest_route=\/wp\/v2\/pages\/796\/revisions\/933"}],"wp:attachment":[{"href":"https:\/\/avitech.com.au\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}