Skip to main content

Blocklist-Update.sh

Blocklist-Update.sh is a script that I wrote to manage blocklists from bluetack etc to be used in conjunction with Transmission torrent downloader in Linux/MacOS. The script can be taylored to work with Qbittorrent as well, but the placement of the blocklists means you'd have to redirect the blocklist to go somewhere locally manageable as Transmission uses its own blocklist directory in .config. I believe there are about 10 lists there now. It works well for my needs. It can be ran weekly using crontab in standard user profile.  To download:  blocklist-update.sh To download the others:  Github

VARIOUS FILE-SYSTEMS AND BRIEF OVERVIEW OF THEIR DIFFERENCES

Almost every device today has some sort of preferred file-system that it works with. A lot of the common file-systems do some form of logging(journaling) to record events that effect the stability of the file-system. This has benefits. If one were troubleshooting reasons for a recent failure, it might be easy enough to look in the logs. There are a few exceptions to this, however. Older Windows systems for instance. Windows has gotten better with their choice of file-systems and structure, but this wasn’t alwas the case. Windows is also very well known for almost monthly having to have some sort of maintenance rendered on the host machine. Linux makes things a lot easier in that the file-system is well structured and like is organized with like content across the drive. This makes for faster read times and less fragmentation as a result. Below are a few common file-systems and a bit of information about each one.

Btrfs
Linux has a lot of different file-systems on which to build a system, btrfs is only one of them. Btrfs is a file-system that uses a clever technique developed by Oracle to help improve stability known as copy-on-write. Copy-on-write is a form of shadowing which duplicates file writes in a file-system to prevent data loss. COW can also be used in all levels of system management. File-systems like so many other aspects of operating systems utilize bits of code in the Kernel to perform their actions so this can also apply to memory management as well. Btrfs appears to be under active development by an array of companies, but no one really gives it a lot of use in a corporate setting. Btrfs compresses every file so that it takes less space and improves performance on a drive running it. Btrfs utilities are usually installed via a separate package called btrfs-progs.

ext
Ext was the first wave of what is known as the Extended File System. The Extended File-system was a step up from the earlier file-systems at the time. It exceeded the Minix file system and could handle bigger file-system sizes. This file-system doesn’t offer journaling and had issues with fragmentation. This was one of the first truly Linux file-systems and shares a developer with the other versions. Originally released to the public in 1993, it was a step in the right direction.

ext2
Ext2 is a file-system used specifically in Linux. Ext2 is a non-journaling file-system. Ext2 can potentially increase performance by minimizing writes. This is good on smaller storage devices such as flash drives, etc. This might also be good for SSD’s, however, this means that the file-system doesn’t log anything that happens to it, this could lead to a bit of difficulty in troubleshooting. Ext2 was a default for Linux distributions for a while, until ext3 came a long. The file-system is built around similar principles found in the BSD operating system which used the Berkley Fast File System.

ext3
A prodigy to the earlier versions of extended file systems, this file-system offered something that the previous offers did not. This version journaled everything that happened to the file-system, this helped with troubleshooting and aimed to help with some issues with data loss and or fragmentation. Ext3 was meant to be compatible with ext2 to the extent that one could convert ext2 to ext3 with ease. It also allowed for a great size overall file-system. This file-system came along in circa 2001.

ext4
The ext4 file-system was another range extender over ext3. Ext4 similarly allowed for journaling, but increased the possible size of the file-system to an exabyte(1024Petabytes). Ext4 offers more performance improvements in the way of E4rat. E4rat is like preload(more about this in a future article), that reads ahead and loads frequently accessed data or parts of the file-system. This allows for faster boot times among other things. This only works on mechanical drives though. Ext4 is customisable and tuneable. Ext4 does offer defragmentation tools, but these are hardly ever needed. The ext4 file-system is still widely popular today among linux users.

ReiserFS
ReiserFS was a file-system created by Hans Reiser and distributed circa 2001. ReiserFS was touted to be slightly faster when handling smaller files than ext and its later iterations. Reiser was criticized, however, for its issues with corruption. If a file-system was corrupted, fixing the file-system could cause more corruption. This was unfavorable. There was also the normal operations occasionally causing data corruption as well. All in all, it was a good try, but this still pales in comparison to ext.

Reiser4
A follow up attempt at redemption for ReiserFS with its corruption issues, this file-system was still more suited for smaller file-system areas. This file-system can cause CPU spiking, this is probably not for you.

ZFS
Touted as being the answer to data corruption and performance issues, this file-system is proprietary, this makes it completely unhelpful to the every day person. It also does not come packaged in the Linux Kernel by default. ZFS is still offered to Arch users, however, if you have a support question, you’re kinda on your own there. Such is the way of Proprietary items. You might have to pay Oracle for a ticket.

FAT/16
An older file-system for Windows systems. Fat 16 uses FAT or File Allocation Table to determine where every file is, and Fat 16 specifically takes up 16 bit cluster sizes in sector addresses, this was one reason for the 16. Fat 16 didn’t really offer to be stored on larger devices than did Fat12 which came before. FAT16 was used primarily on older DOS systems around 3.0. FAT itself was primarily made for floppy disks. Had a 2GB file-system size range.

FAT32
This file-system was a workaround for the 16bit cluster limit in FAT16 and for the limitations to file system size found in earlier versions. FAT32 is still used today on flash drives to be more universally compatible with Windows and Linux. FAT32 also had its day on Dos and Windows XP computers. This file-system developed by the same authors of the earlier versions at Microsoft and they still ran into space problems as storage devices grew larger. To battle this, NTFS was born as was EXFAT.

EXFAT
EXFAT is a file-system similar to FAT16 and FAT32, however, it can support larger storage capacities and thus is geared more towards SD cards and any device which can access them. Unlike the older FAT32, EXFAT was created to allow for more than the alloted limits. It was created by Microsoft and is still proprietary. The file-system functions similarly to NTFS.

Comments

Popular posts from this blog

NOSCRIPT CONFIGURATION FOR PALE MOON SPECIFICALLY

I wrote an article before about making Pale Moon more private. I covered a few of the settings and back end changes I make each time I install it. I mentioned Noscript, but I didn’t give any details about how I set it up. First though, you have to get the version already marked for your version of “Firefox” or in this case, Pale Moon. If you went to https://addons.palemoon.org/addon/noscript/ you would probably find the Pale Moon addons page devoted to the newest possible Noscript being marked specifically for Pale Moon. Other versions may work, but these are hybrid addons and the closer we get to Noscript 10, the less I trust it to work with Pale Moon specifically. I just opt to stick with 5.0.6. There have been people asking about what happens when Maone, the developer stops supporting the hybrid versions of Noscript, “Will it work with Pale Moon?” Why yes it will. Noscript blocks scripts, that’s its main function and it will do that as long as Java script exists on a page.

SSD PARTITION ALIGNMENT

I was searching for more information regarding SSDs last night as that is what I now use, I found an interesting little tip that most users will never have to worry about, but people using Arch Linux, Manjaro or Windows that was cloned from another drive may want to consider checking this. The Partition manager within Linux normally takes good care to ensure that you have some free space to be used by the SSD in the event that a cell becomes worn out or corrupted. Also, Linux generally ensures that a proper amount of unallocated drive space is set aside preceeding the partition. However, on my own image of Manjaro, I discovered that this was not the case. The partition was “out of alignment”. To fix this situation, I found an article on  Lifehacker that went into instructional detail about how to solve this from a live environment or an image of Gparted . Gparted is a separate live environment of Linux that is based on Debian and uses Gparted as the main tool to manage par

PALE MOON PRIVACY SETUP

I did a review of Pale Moon back when 27.6.2 came out in linux. I had mostly great things to say about the browser then and my feelings towards it have not changed. Pale Moon is a very useful tool for scowering the net. It has privacy at its core with a few implementations made by Moonchild, the lead developer, built in. I also mentioned the point that Pale Moon has a canvas poisoning feature in the backend, however, I wasn’t very clear about how to turn it on. I thought in this tutorial, I’d show with a series of screen shots, some of the useful settings and preferences that I change to make Pale Moon a bit more private. I also thought I’d take this time to rant a little more about some of the not so savory issues with Firefox which have recently come under scrutiny by various people in the the Linux world. First order of business, if you haven’t heard, Mozilla recently added an extension into their browser which gave people ads. That’s right, they were ads for a specific t