Showing posts with label operating-systems. Show all posts
Showing posts with label operating-systems. Show all posts

Saturday, November 10, 2018

VIDEO: The History of Unix, by Rob Pike

By Vasudev Ram


This is a video about Unix history by Rob Pike, Unix veteran and co-creator of the Go programming language.

The History of Unix, Rob Pike

The video is also embedded below.

There is also a current HN thread about it.

- Enjoy.




- Vasudev Ram - Online Python training and consulting

I conduct online courses on Python programming, Unix / Linux commands and shell scripting and SQL programming and database design, with course material and personal coaching sessions.

Here are the course outlines and some client testimonials.

Contact me for more details, terms and schedule.

Getting a new web site or blog, and want to help preserve the environment at the same time? Check out GreenGeeks.com web hosting.

DPD: Digital Publishing for Ebooks and Downloads.

Learning Linux? Hit the ground running with my vi quickstart tutorial. I wrote it at the request of two Windows system administrator friends who were given additional charge of some Unix systems. They later told me that it helped them to quickly start using vi to edit text files on Unix. Of course, vi/vim is one of the most ubiquitous text editors around, and works on most other common operating systems and on some uncommon ones too, so the knowledge of how to use it will carry over to those systems too.

Check out WP Engine, powerful WordPress hosting.

Sell More Digital Products With SendOwl.

Get a fast web site with A2 Hosting.

Creating or want to create online products for sale? Check out ConvertKit, email marketing for online creators.

Teachable: feature-packed course creation platform, with unlimited video, courses and students.

Posts about: Python * DLang * xtopdf

My ActiveState Code recipes

Follow me on:


Friday, December 23, 2016

Using psutil to get disk partition information with Python

By Vasudev Ram

psutil is a Python library that enables you to get various kinds of operating system information, such as about CPUs, processes, memory and disks.

Here is a short program that shows how to get information about the disk partitions on your computer using psutil:
from __future__ import print_function
import psutil

dps = psutil.disk_partitions()
fmt_str = "{:<8} {:<7} {:<7}"
print(fmt_str.format("Drive", "Type", "Opts"))
# Only show a couple of devices.
for i in (0, 2):
    dp = dps[i]
    print(fmt_str.format(dp.device, dp.fstype, dp.opts))
Running the program gives this output:
$ py -3 psutil_disk_partitions.py
Drive    Type    Opts
C:\      NTFS    rw,fixed
E:\      CDFS    ro,cdrom

(Check out py, the Python launcher, if you don't already use it.)

Explanation of the above output:
The Drive column shows the drive letter.
The Type column shows the file system type of the partition.
The Opts column shows what options were used while mounting the device on the drive.

Mounting is the operation of logically associating a drive name or a path name with a file system (on a partition or physical drive), and making it accessible under that drive or path name.

For this run, it shows that:
C drive is an NTFS partition (Windows NT File System) and is mounted in read-write mode and is a fixed disk;
E drive is a CDFS partition (CD-ROM File System) and is mounted in read-only mode.

Here is a video about how a hard disk drive works:



- Vasudev Ram - Online Python training and consulting

Get updates (via Gumroad) on my forthcoming apps and content.

Jump to posts: Python * DLang * xtopdf

Subscribe to my blog by email

My ActiveState Code recipes

Follow me on: LinkedIn * Twitter

Managed WordPress Hosting by FlyWheel



Tuesday, January 29, 2013

BareMetalOS, x86-64 OS in assembly language

Return Infinity - BareMetal OS

It is being written purely in assembly language, with plans to let apps for it be written in assembly or C.

Programming in assembly language is interesting and fun, because you work very close to the actual hardware, dealing with registers, memory locations, addressing modes, bit manipulation, etc.

I've only done a little of it, much earlier, on the  Commodore-64, the BBC Micro, and PCs running DOS, but enjoyed it.

I once bought a book that had the entire listing for a C-64 assembler, written in BASIC, using POKE, and entered it into the machine, including re-entering a large part of it due to finding bugs, probably due to typos while entering the hex codes. IIRC, it took me the better part of a week to complete that job and get a running assembler, but it worked :)

Thursday, October 18, 2012

Kaspersky Lab developing its own operating system?

By Vasudev Ram


Kaspersky Labs, the maker of popular anti-virus / anti-malware software, is developing its own operating system, according to this post on founder Eugene Kaspersky's blog.

WIRED article about Kaspersky operating system.

Engadget article about Kaspersky operating system.

The Register, UK, on the same topic.

- Vasudev Ram - Dancing Bison Enterprises

Tuesday, July 3, 2012

Mozilla to launch HTML5 based mobile OS with broad telecom industry support

Mozilla Gains Global Support For a Firefox Mobile OS | The Mozilla Blog

Interesting indeed. If it works out it should spur more competition, choice for users, and innovation.

- Vasudev Ram
www.dancingbison.com

Friday, April 13, 2012

Article - Introduction to virtualization

http://kernelthread.com/publications/virtualization/

It's by Amit Singh, CEO of stealth mode startup  osmeta, which I blogged about recently.

- Vasudev Ram
www.dancingbison.com