udevil(1)
πΎ udevil β the manual, but make it cute
okay so bestie, welcome to udevil(1), from the General Commands Manual section π this is your little backstage pass to the whole thing, no gatekeeping, we're going through every single flag together. grab a snack π
β¨ NAME β¨
udevil β the alternative storage media interface π (yes that's the whole name, she's iconic like that)
π¦ SYNOPSIS π¦
udevil [OPTIONS] COMMAND [COMMAND-OPTIONS] [COMMAND-ARGUMENTS]
that's it, that's the shape of every single call you're ever gonna make π
πΈ DESCRIPTION πΈ
so udevil is the alternative storage media interface, and lowkey she does SO much:
- she mounts and unmounts removable devices and network shares, and the way she does it is without requiring a password (she's set suid, that's the whole trick π«Ά)
- she shows you device information like it's a lil gossip session
- she monitors device changes so you always know what's plugging in and out π
- and she comes with the
devmonautomounting script bundled in, like a free gift with purchase π
no cap, it's giving "your friend who actually knows what's going on with the drives." β¨
π EXAMPLES π
okay here's where it gets fun, strap in, there's a LOT and they're all gems π
udevil mount /dev/sdd1
udevil mount -o ro,noatime /dev/sdd1
udevil mount -o ro,noatime /dev/sdd1 /media/custom
udevil mount /tmp/example.iso # ISO file
udevil mount ftp://sys.domain # ftp site - requires curlftpfs or ftpfs
udevil mount ftp://user:pass@sys.domain/share # ftp share with user and password
udevil mount ftp://user:pass@sys.domain:21/share # ftp share with port, user and password
udevil mount -t ftpfs sys.domain # ftp site with ftpfs
udevil mount -t curlftpfs sys.domain # ftp site with curl
udevil mount -t curlftpfs user:pass@sys.domain # ftp site with curl u/p
udevil mount nfs://sys.domain:/share # nfs share
udevil mount sys.domain:/share # nfs share
udevil mount smb://sys.domain/share # samba share w/ cifs
udevil mount smb://user:pass@10.0.0.1:50/share # samba share w/ u/p/port
udevil mount smb://WORKGROUP/user@sys.domain # samba share w/ workgroup
udevil mount //sys.domain/share # samba share w/ cifs
udevil mount //sys.domain/share -t smbfs # samba share w/ smbfs
udevil mount ssh://user@sys.domain # sshfs with user - requires sshfs
udevil mount -t sshfs user@sys.domain # sshfs with user
udevil mount http://sys.domain/dav/ # WebDAV - requires davfs2
udevil mount tmpfs # make a ram drive
WARNING !!! a password on the command line is UNSAFE - see filesystem docs
β οΈ okay bestie I need you to READ that last line again. putting a password straight on the command line is UNSAFE, fr fr, go look at the filesystem docs, I'm not playing π
and then the unmount era π
udevil umount /dev/sdd1
udevil umount /media/disk
udevil umount -l /media/disk
udevil umount /tmp/example.iso
informationnnn π¦
udevil info /dev/sdd1
watch the vibes π
udevil monitor
and the lil cleanup moment π§Ή
udevil clean
π OPTIONS π
just two lil guys here, both absolute sweethearts:
--verboseβ print details, she's a talker, she tells you everything π£οΈ--quietβ minimal output, she's giving mysterious, silent, unbothered π
π§ USAGE π§
here's the actual menu of what you can ask her to do π
π§² MOUNT β Mounts DEVICE to mount point DIR with MOUNT-OPTIONS
udevil mount|--mount [MOUNT-OPTIONS] [[-b|--block-device] DEVICE] [DIR]
MOUNT-OPTIONS:
-|--types|--filesystem-type|--mount-fstype TYPEβ set the filesystem type (seeman mount) ποΈ-o|--options|--mount-options OPT,...β pass mount options (seeman mount) β¨--no-user-interactionβ ignored (for compatibility) π«₯
π umount β unmount era
udevil umount|unmount|--unmount|--umount [UNMOUNT-OPTIONS]
{[-b|--block-device] DEVICE}|DIR
UNMOUNT-OPTIONS:
-lβ lazy unmount (seeman umount) π΄-fβ force unmount (seeman umount) πͺ--no-user-interactionβ ignored (for compatibility) π«₯
π INFO β Show information about DEVICE emulating udisks v1 output
udevil info|--show-info|--info [-b|--block-device] DEVICE
she spills the tea, and it's formatted to emulate udisks v1 output π¬
π MONITOR β Display device events emulating udisks v1 output
udevil monitor|--monitor
live updates, like a stream but for your drives π‘
π§Ή CLEAN β Remove unmounted udevil-created mount dirs in media dirs
udevil clean
sweeping up the lil leftover dirs she made, so tidy π§Ό
π HELP β Show this help
udevil help|--help|-h
when you forget literally everything, she's got you π«Ά
π AUTHOR π
this manual page was written by Mateusz Εukasik <mati75@linuxmint.pl>, for the Debian GNU/Linux system (but may be used by others). absolute legend, we stan π
and that's the whole page bestie!! this was udevil(1) from March 2013, and that lil udevil(1) in the corner at the bottom? that's her signature, she signs her work π
β¨ bye ily, go mount something responsibly ππ
π¦ where this page comes from
- debian bookworm: udevil 0.4.4-3 Β· GPL-3.0-or-later
- debian trixie: udevil 0.4.4-4 Β· GPL-3.0-or-later
- ubuntu jammy: udevil 0.4.4-3 Β· GPL-3.0-or-later
- ubuntu noble: udevil 0.4.4-3build2 Β· GPL-3.0-or-later
- ubuntu questing: udevil 0.4.4-4
- ubuntu resolute: udevil 0.4.4-5 Β· GPL-3.0-or-later
- ubuntu stonking: udevil 0.4.4-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms