Skip to content

Instantly share code, notes, and snippets.

View williamcanin's full-sized avatar
😒
Don't sell your soul to gambling companies.

William C. Canin williamcanin

😒
Don't sell your soul to gambling companies.
View GitHub Profile
@williamcanin
williamcanin / A-start-job-is-running-for-dev-disk-by-code2.sh
Last active August 24, 2025 02:19
"/etc/fstab" of ArchLinux for post: Linux Boot: A start job is running for dev-disk-by (https://williamcanin.github.io/blog/linux-boot-a-start-job-is-running-for-dev-disk-by/)
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
UUID=2253f584-8ff4-46c2-9cf6-386415684be8 / ext4 rw,relatime,data=ordered 0 1
UUID=4aed3ea2-5d85-4bc2-96e2-abc6ad877640 none swap defaults 0 0
UUID=87daa4d7-ec56-460f-ab11-b2788aa373ec /mnt/home ext4 defaults,auto,rw 0 1
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ntfs Dados-Ntfs 66E421B71C85E362
├─sda2
├─sda3 ext4 fedora ef0da60e-1bf5-4a7c-92d4-25999c784ad5
├─sda5 ext4 87daa4d7-ec56-460f-ab11-b2788aa373ec /mnt/home
├─sda6 ext4 db5b49b3-200a-4172-b036-1b5f42dbe73e
├─sda7 swap 035b2802-752a-45b6-a87c-c4d466cdf53d [SWAP]
└─sda8 ext4 archlinux 2253f584-8ff4-46c2-9cf6-386415684be8 /
sr0
@williamcanin
williamcanin / progress_percent.sh
Last active August 29, 2015 14:27
ProgressPercent. As parameters option beginning, end, seconds and message text.
#!/bin/bash
# Type script: Shell
# Program: Progress percent
# Description: Shell script function to demonstrate a process according with percentage inserted seconds.
# Version: 1.0.0
#
#------------------------------------------Using --------------------------------------------
# _PROGRESS_PERCENT "begin_percent" "end_percent" "seconds_time_of_progress" "message"
#
# NOTE: For cancel process, using: Ctrl+C