<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2021F_Lecture_2</id>
	<title>Operating Systems 2021F Lecture 2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2021F_Lecture_2"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2021F_Lecture_2&amp;action=history"/>
	<updated>2026-04-06T04:46:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2021F_Lecture_2&amp;diff=23277&amp;oldid=prev</id>
		<title>Soma: /* Video */</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2021F_Lecture_2&amp;diff=23277&amp;oldid=prev"/>
		<updated>2021-09-14T16:10:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Video&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:10, 14 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Video==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Video==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Video &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will be &lt;/del&gt;on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;brightspace soon and here later&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Video &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from the lecture given &lt;/ins&gt;on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;September 14, 2021 is now available:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://homeostasis&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec02-20210914.m4v video]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://homeostasis.scs.carleton.ca/~soma/os-2021f/lectures/comp3000-2021f-lec02-20210914.cc.vtt auto-generated captions]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Video is also available through Brightspace (Resources-&amp;gt;Class zoom meetings-&amp;gt;Cloud Recordings tab)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2021F_Lecture_2&amp;diff=23276&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Video==  Video will be on brightspace soon and here later.  ==Notes==  &lt;pre&gt; Lecture 2 --------- * TA assignments, tutorial logistics, &amp; office hours * Tutorial 1  - the she...&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2021F_Lecture_2&amp;diff=23276&amp;oldid=prev"/>
		<updated>2021-09-14T16:09:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Video==  Video will be on brightspace soon and here later.  ==Notes==  &amp;lt;pre&amp;gt; Lecture 2 --------- * TA assignments, tutorial logistics, &amp;amp; office hours * Tutorial 1  - the she...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Video==&lt;br /&gt;
&lt;br /&gt;
Video will be on brightspace soon and here later.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Lecture 2&lt;br /&gt;
---------&lt;br /&gt;
* TA assignments, tutorial logistics, &amp;amp; office hours&lt;br /&gt;
* Tutorial 1&lt;br /&gt;
 - the shell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutorial logistics&lt;br /&gt;
 - you should all be in a private channel with your TA on Teams.  If you aren&amp;#039;t, PM me and I&amp;#039;ll bug the TA :-)&lt;br /&gt;
 - you can also see who your TA is on Brightspace, there&amp;#039;s a column in the gradebook (this may be broken now, but should be fixed soon)&lt;br /&gt;
 - IF YOU ARE NOT ON TEAMS, get on that!  If you have problems let me know.&lt;br /&gt;
 - you can get help from any TA or me, feel free to contact personally or, to also help others, post in channels&lt;br /&gt;
&lt;br /&gt;
We have tutorial times assigned on Mondays, Fridays 8:30-10 and Fridays 2:30-4.  We&amp;#039;re mostly ignoring this as we&amp;#039;re doing tutorials asynchronously.  Instead&lt;br /&gt;
 - you have an assigned TA who grades your tutorials&lt;br /&gt;
 - that TA has a Teams channel for just talking with you&lt;br /&gt;
 - someone has office hours around the time of your assigned tutorial&lt;br /&gt;
 - and your TA is available to talk at the time of your tutorial,&lt;br /&gt;
   if their official office hours aren&amp;#039;t then you may need to make an&lt;br /&gt;
   appointment&lt;br /&gt;
&lt;br /&gt;
*Your TA is the one who gives you marks for each tutorial*&lt;br /&gt;
Either&lt;br /&gt;
 - submit written answers, or&lt;br /&gt;
 - talk to TA to convince them you&amp;#039;ve worked a good bit on it&lt;br /&gt;
   (and if you wish, ask questions)&lt;br /&gt;
&lt;br /&gt;
Why aren&amp;#039;t tutorials graded?&lt;br /&gt;
 - because finding the answers is much easier than actually understanding the material&lt;br /&gt;
 - the ultimate test is what you understand, not what you write down&lt;br /&gt;
 - they are a guide to learning, and the answer may be the least interesting part of that process&lt;br /&gt;
 - if you don&amp;#039;t come up with your own questions over the course of a tutorial, you&amp;#039;re doing them wrong&lt;br /&gt;
&lt;br /&gt;
To build a mental model, you have to ask your own questions and then answer them.&lt;br /&gt;
&lt;br /&gt;
The assignments test what you learned in tutorials&lt;br /&gt;
 - assignments should be straightforward if you spent time on tutorials&lt;br /&gt;
 - they should be hard if you blew off the tutorials&lt;br /&gt;
&lt;br /&gt;
What do I mean by a &amp;quot;tutorial&amp;quot;?&lt;br /&gt;
 - really, here they are more lab exercises&lt;br /&gt;
 - self-directed learning with no penalties for failure and as much&lt;br /&gt;
   support as you want&lt;br /&gt;
    - we&amp;#039;ll give you the answers if you ask nicely&lt;br /&gt;
&lt;br /&gt;
Key insight: you can&amp;#039;t do well in this class by memorizing things.  You have to understand.&lt;br /&gt;
&lt;br /&gt;
Remember, you can use whatever resources you want for this class&lt;br /&gt;
 - only have to acknowledge sources and collaboration&lt;br /&gt;
Except, of course, for the midterm and final&lt;br /&gt;
 - and even those are open note/book/internet&lt;br /&gt;
 - but, you have to be able to demonstrate that you did write the answers yourself if you get interviewed&lt;br /&gt;
&lt;br /&gt;
The textbook is a very good resource&lt;br /&gt;
 - the concepts I discuss in class are covered there&lt;br /&gt;
 - look them up to get a different perspective&lt;br /&gt;
 - if you can&amp;#039;t find it in the textbook, ask&lt;br /&gt;
&lt;br /&gt;
For openstack, I can&amp;#039;t show the web interface while on zoom&lt;br /&gt;
 - because I have to be on the VPN&lt;br /&gt;
 - but I can post videos and screenshots&lt;br /&gt;
 - SCS has lots of openstack resources: https://carleton.ca/scs/tech-support/scs-open-stack/openstack-technical-support/&lt;br /&gt;
&lt;br /&gt;
This step by step guide is very good:&lt;br /&gt;
https://carleton.ca/scs/tech-support/scs-open-stack/openstack-technical-support/openstack-step-by-step-guide/&lt;br /&gt;
&lt;br /&gt;
When on openstack, make sure you are in the COMP 3000 project&lt;br /&gt;
 - if you aren&amp;#039;t you probably won&amp;#039;t be able to create VMs because you won&amp;#039;t have a quota&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Question - what are we doing with openstack?&lt;br /&gt;
 - these are just virtual machines, much like you&amp;#039;d run with virtualbox&lt;br /&gt;
 - however, they are running on the SCS openstack cluster, not on your box&lt;br /&gt;
&lt;br /&gt;
Why openstack?&lt;br /&gt;
 - consistent environment: shouldn&amp;#039;t have performance issues due to lack of resources on your personal box&lt;br /&gt;
 - visible: TAs or I can log in to your VM and see what&amp;#039;s going on&lt;br /&gt;
    - hard to do that with virtualbox&lt;br /&gt;
 - safety: if you mess anything up, you can&amp;#039;t destroy your local data&lt;br /&gt;
    - and some stuff we&amp;#039;ll do will be dangerous&lt;br /&gt;
    - probably fine in virtualbox, but this is safer&lt;br /&gt;
 - also, this is how you&amp;#039;ll do things when deploying to the cloud&lt;br /&gt;
 &lt;br /&gt;
You may use your own VMs, but you have to update and maintain them&lt;br /&gt;
 - for now, standard ubuntu or most other Linux should work&lt;br /&gt;
 - but starting next tutorial you&amp;#039;ll have to install some more cutting edge stuff that can get a bit tricky&lt;br /&gt;
 - you really want to be running a newish distribution&lt;br /&gt;
    - we&amp;#039;re using Ubuntu 21.04 (it is not at Long Term Support release)&lt;br /&gt;
&lt;br /&gt;
If you are running Linux as your main OS, you can do everything in this class on it but...&lt;br /&gt;
 - if it isn&amp;#039;t Ubuntu 21.04, you may have to do some more debugging than others,&lt;br /&gt;
 - and HAVE GOOD BACKUPS&lt;br /&gt;
    - we&amp;#039;ll play with commands that can wipe your disk, that&amp;#039;s part&lt;br /&gt;
      of their function&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s talk about editors and writing things&lt;br /&gt;
&lt;br /&gt;
rsync is a very cool command&lt;br /&gt;
 - but play with it using the -n option to simulate runs before syncing&lt;br /&gt;
   files&lt;br /&gt;
 - if you aren&amp;#039;t careful, you can delete EVERYTHING&lt;br /&gt;
    - watch out when using --delete and --force&lt;br /&gt;
    - otherwise, will just overwrite existing files with the same name&lt;br /&gt;
&lt;br /&gt;
If you want to make things fast, use how to learn command lines and ssh&lt;br /&gt;
 - x2go is very slow, as are any GUI in the cloud&lt;br /&gt;
 - run GUIs locally and access remote VMs via ssh, either directly&lt;br /&gt;
   or using tools (e.g., VSCode with remote development)&lt;br /&gt;
&lt;br /&gt;
Feel free to show what you want to do to me or a TA in office hours, we can help you understand the options if this still isn&amp;#039;t clear&lt;br /&gt;
&lt;br /&gt;
scp is depricated, use sftp instead&lt;br /&gt;
 - rsync copies file changes, not entire files, so very efficient&lt;br /&gt;
   for large copies where a version is on the other side&lt;br /&gt;
 - I can sync hundreds of gigs of data in less than 30 seconds if little has changed&lt;br /&gt;
&lt;br /&gt;
UNIX is a giant toolbox&lt;br /&gt;
 - if you use it for decades you&amp;#039;ll still learn tricks every so often&lt;br /&gt;
 - learn as you go, it is like a language, you won&amp;#039;t master it all at once&lt;br /&gt;
&lt;br /&gt;
If you use an operating system or application controlled by a company&lt;br /&gt;
 - it will keep changing over time, probably in incompatible ways&lt;br /&gt;
 - it may get discontinued or the company can go away&lt;br /&gt;
&lt;br /&gt;
Open source/free software lives as long as someone cares enough to maintain it&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve been using Emacs since 1989.  It is much more capable, but it is still emacs.  What commercial program is going to be like this?&lt;br /&gt;
&lt;br /&gt;
This is why Linux is taking over everywhere&lt;br /&gt;
 - it has so much functionality&lt;br /&gt;
 - developers already know it&lt;br /&gt;
 - and free to use (no cost and can change the code)&lt;br /&gt;
&lt;br /&gt;
MacOS, Windows, etc&lt;br /&gt;
 - enterprise software can have very long lifetimes&lt;br /&gt;
   - but they are zombie programs mostly, never really developing,&lt;br /&gt;
     just being maintained at a bare minimum effort&lt;br /&gt;
&lt;br /&gt;
Windows dominates the enterprise software world, particularly desktops&lt;br /&gt;
 - but Linux dominates the cloud&lt;br /&gt;
&lt;br /&gt;
I think the steam deck may change the dynamics in Windows gaming&lt;br /&gt;
 - yes, I&amp;#039;ve said it :-)&lt;br /&gt;
&lt;br /&gt;
I keep saying UNIX and Linux, right?&lt;br /&gt;
&lt;br /&gt;
UNIX is a family of operating systems&lt;br /&gt;
 - goes back to 1970&amp;#039;s&lt;br /&gt;
 - I can post a video about the version of UNIX that came out of&lt;br /&gt;
   AT&amp;amp;T&amp;#039;s Bell Labs&lt;br /&gt;
    - BTW today&amp;#039;s AT&amp;amp;T isn&amp;#039;t the old AT&amp;amp;T FWIW&lt;br /&gt;
&lt;br /&gt;
Linux is a &amp;quot;UNIX-like&amp;quot; system&lt;br /&gt;
 - UNIX is trademarked by AT&amp;amp;T&lt;br /&gt;
&lt;br /&gt;
many other UNIX-like systems&lt;br /&gt;
but Linux is the most popular now&lt;br /&gt;
&lt;br /&gt;
and many, many variants of Linux&lt;br /&gt;
 - Linux only refers to the kernel&lt;br /&gt;
 - we&amp;#039;ll explain what that is&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>