SIMPLE-MTPFS(1)

πŸ“¦ version 0.4.0, in nixos 26.05, opensuse-leap 16.0

SIMPLE-MTPFS(1) πŸ’…βœ¨

okay so bestie, this is the manual for SIMPLE-MTPFS, from the User Commands section, and it's literally the moment your MTP device stops being a mystery. no cap, it's giving "filesystem driver but make it fashion". πŸŽ€


🌸 NAME 🌸

SIMPLE-MTPFS β€” filesystem driver for MTP based devices. yes bestie, that's the whole name and it's iconic. πŸ¦‹


🌈 SYNOPSIS 🌈

πŸ’– mounting πŸ’–

simple-mtpfs <device> mountpoint [options]

✨ unmounting ✨

fusermount -u mountpoint

🧚 DESCRIPTION 🧚

SIMPLE-MTPFS (Simple Media Transfer Protocol FileSystem) is lowkey a whole file system for Linux β€” and also for other operating systems that have a FUSE implementation, like Mac OS X or FreeBSD. it operates on files that live on MTP devices attached via USB to your local machine. so yeah, it's the bridge between you and your device. 🫢

On the local computer where SIMPLE-MTPFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. the practical effect? the end user β€” that's you, bestie β€” can seamlessly interact with MTP device files. slay. πŸ’…


πŸ’œ OPTIONS πŸ’œ

⭐ general options:

  • -o opt,[opt...] β€” mount options, obviously. you're setting the vibe of the mount. πŸŽ€
  • -h, --help β€” print help. your bestie when you're lost.
  • -V, --version β€” print version. proof you're on the right release, periodt.

πŸ“ SIMPLE-MTPFS options:

  • -l, --list-devices β€” list available MTP devices. supports the <device> option. think of it as a little headcount of who's connected. πŸ™ˆ
    • --device β€” select device no. to mount. you pick the one, main character energy only. πŸ‘‘
  • -o enable-move β€” enable move operation, which can be very slow (depends on the moved content). > ngl, this is a warning: moves can be so slow, the speed fully depends on the content being moved. don't come for me, I'm just the messenger. πŸ’€

πŸ¦‹ FUSE options:

  • -d, -o debug β€” enable debug output (implies -f). it's giving detective mode. πŸ”
  • -f β€” foreground operation. no background sneaky business. ✨
  • -s β€” disable multi-threaded operation. one thing at a time, we're being chill. 🧚
  • -o allow_other β€” allow access to other users. sharing is caring. πŸ’–
  • -o allow_root β€” allow access to root. hi root, welcome to the function. πŸ‘‘
  • -o nonempty β€” allow mounts over non-empty file/dir. yes, even when there's stuff there already. πŸŽ€
  • -o default_permissions β€” enable permission checking by kernel. the kernel is doing the vibes check. βœ…
  • -o fsname=NAME β€” set filesystem name. name it something cute, iykyk.
  • -o subtype=NAME β€” set filesystem type. another name slot, another slay.
  • -o large_read β€” issue large read requests (2.4 only). retro energy, only for the 2.4 girlies. 🌸
  • -o max_read=N β€” set maximum size of read requests. keep it reasonable, bestie.
  • -o hard_remove β€” immediate removal (don't hide files). no hiding, no games. πŸ’…
  • -o use_ino β€” let filesystem set inode numbers. give it the power. ⭐
  • -o readdir_ino β€” try to fill in d_ino in readdir. it's trying its best, okay? πŸ₯Ί
  • -o direct_io β€” use direct I/O. no detours, straight to the point. πŸš€
  • -o kernel_cache β€” cache files in kernel. the kernel is holding onto those files like memories. 🧠
  • -o [no]auto_cache β€” enable caching based on modification times. time-based, as it should be. ⏰
  • -o umask=M β€” set file permissions (octal). the classic permission flex, in octal. πŸ”’
  • -o uid=N β€” set file owner. who runs the world? you decide. πŸ‘‘
  • -o gid=N β€” set file group. squad assignment, but make it numeric. 🫢
  • -o entry_timeout=T β€” cache timeout for names (1.0s). the default is literally 1.0s. ✨
  • -o negative_timeout=T β€” cache timeout for deleted names (0.0s). default 0.0s, gone girl. πŸ’€
  • -o attr_timeout=T β€” cache timeout for attributes (1.0s). 1.0s default, iconic. πŸŽ€
  • -o ac_attr_timeout=T β€” auto cache timeout for attributes (attr_timeout). it takes after attr_timeout, cute. πŸ¦‹
  • -o intr β€” allow requests to be interrupted. consent, but for requests. πŸ™Œ
  • -o intr_signal=NUM β€” signal to send on interrupt (10). default is 10, no cap. πŸ””
  • -o modules=M1[:M2...] β€” names of modules to push onto filesystem stack. stack 'em like a boss. 🧱
  • -o max_write=N β€” set maximum size of write requests. writes, but within limits. ✍️
  • -o max_readahead=N β€” set maximum readahead. looking ahead, but with boundaries. πŸ‘€
  • -o async_read β€” perform reads asynchronously (default). the default, so it's the main character. πŸ”₯
  • -o sync_read β€” perform reads synchronously. waiting its turn, respectfully. πŸ•°οΈ

πŸ‘‘ AUTHORS πŸ‘‘

SIMPLE-MTPFS has been written by Peter Hatina <phatina@gmail.com>. a legend, fr fr. 🫢


okay and before you go, bestie, this whole manual is for SIMPLE-MTPFS version 0.2, dated January 2015 β€” so that's the source/version and the date in the footer. it's giving vintage but still relevant. periodt. πŸ’–πŸŽ€βœ¨