apple mac enable linux filesystem (ext2) read write access

Published: 31 March 2017
on channel: skaai
5,969
21

============ enabling write access ==============
a. plug in your sdcard
b. wait till it mounts on the desktop
c. terminal (identify the SD card): diskutil list
d. terminal (unmount): diskutil unmountDisk /dev/disk2
e. terminal (make dir, need this): sudo mkdir /Volumes/sdf /Volumes/sdl
f. terminal (mount r/w): sudo fuse-ext2 /dev/disk2s2 /Volumes/sdl -o force
g. terminal (mount fat32): sudo mount -w -t msdos /dev/disk2s1 /Volumes/sdf
--BE CAREFUL--
to unmount - terminal : diskutil unmountDisk /dev/disk2

================================================

1. EXT2 is a filesystem used in Linux systems, particularly, Raspberry Pi. Most
Linux systems use newer filesystems (EXT4, BtFS) because they have more options,
but those options mean more read/write cycles. This is OK with HDD/SSD but not
with FLASH drives that wear out sooner. Thus, EXT2 is "not as hard" on FLASH
drives, while offering improvements over the "more common" FAT32 filesystem such
as security permissions, large files, and large partitions.

2. HFS is the default filesystem for mac. Mac normally cannot read Linux EXT2,
but some smart folks created a way to "translate" many filesystems. Filesystem
in Userspace (FUSE) allows this translation. Along with FUSE, you need the
module for the filesystem: in our case, it's fuse-ext2. Think of FUSE as a
translator machine and fuse-ext2 as the dictionary; you could change the
dictionary to NTFS or XFS and translate other filesystems.

3. So we need to download FUSE and fuse-ext2 for the mac.
https://osxfuse.github.io/
https://sourceforge.net/projects/fuse...
once you install them, you should see two new preference panes in
your system preferences
some theory:
https://en.wikipedia.org/wiki/Filesys...

4. This only allows you to READ EXT2 filesystems, which should be enough.

5. If you want to add write access, first, realize it's EXPERIMENTAL. YOU COULD
LOSE YOUR DATA!!! only do this if you're ok with that risk.

troubleshooting: if you make extra directories in the /Volumes/ folder, you might have problems. to delete them, do this:
a. cd /Volumes
b. ls -a
c. sudo rmdir directoryname

finally, thanks to Nighflier for the tunes: http://dig.ccmixter.org/files/Nightfl...


Watch video apple mac enable linux filesystem (ext2) read write access online without registration, duration hours minute second in high quality. This video was added by user skaai 31 March 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,969 once and liked it 21 people.