Skip to content

Instantly share code, notes, and snippets.

@ByteProject
ByteProject / amigaffs_ubuntu.sh
Last active March 14, 2021 12:54
How to r/w Amiga FFS media in Ubuntu Linux
# HOW TO MOUNT AMIGA FFS MEDIA IN UBUNTU LINUX
# Linux comes with built-in support for Amiga FastFileSystem (AFFS).
# First we need to create a directory for mounting the partition.
sudo mkdir /media/AmigaMount
# Fire up fdisk to check the device name.
sudo fdisk -l
# My device is /dev/sdb. Using parted.
@fclairamb
fclairamb / get_ppid_and_name.c
Created October 6, 2014 20:30
posix: Get parent process id and name
#ifdef SHELL
gcc -Wall -Werror $0 && ./a.out
exit $?
#endif
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>