macOS: Format as FAT32

Find the device path:

diskutil list

Format as FAT32:

sudo diskutil eraseDisk FAT32 NAME MBRFormat /dev/disk2

Thanks Apple, for having FAT32 as an option in the Disk Utility app. It’s so much nicer than having to remember a CLI command.</sarcasm>

Raspbian + NFS


[cc lang=”bash”]
apt-get install nfs-kernel-server


[cc lang=”bash”]
nano /etc/exports

Once there, let’s add:

[cc lang=”bash”]
/mnt/flash *(rw,sync)

Dont’ forget to run exportfs!

Add New Services:

Here’s the deal: rpcbind must run before nfs-server. But due to a bug… that’s not the case. What happens if the sequence is not that?… simple! NFS is inaccessible.

In order to fix this, let’s do the following:

[cc lang=”bash”]
cat >/etc/systemd/system/nfs-common.service <<\EOF [Unit] Description=NFS Common daemons DefaultDependencies=no [Service] Type=oneshot RemainAfterExit=yes ExecStart=/etc/init.d/nfs-common start ExecStop=/etc/init.d/nfs-common stop [Install] EOF [/cc] [cc lang="bash"] cat >/etc/systemd/system/rpcbind.service <<\EOF [Unit] Description=RPC bind portmap service After=systemd-tmpfiles-setup.service DefaultDependencies=no [Service] ExecStart=/sbin/rpcbind -f -w KillMode=process Restart=on-failure [Install] Alias=portmap EOF [/cc] Source Here!