x2golistmounts(8)

πŸ“¦
version 4.1.0.6 Β· 3 versions
, in alpine 3.24, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ x2golistmounts β€” the X2Go Server Tool that spills the tea on your mounts ✨

okay bestie, gather round πŸ’– this one's a little command from the x2golistmounts(8) section of the manual β€” part of the X2Go Server Tool family β€” and it's literally just here to tell you which shares are mounted. no drama, no cap.


🌸 NAME 🌸

x2golistmounts β€” List Mounted Shares for an X2Go Session πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

x2golistmounts [<session_id>]

πŸ’… DESCRIPTION πŸ’…

so basically, x2golistmounts returns a list of mounted client-side folders or devices for the X2Go session <session_id>. that's it. that's the whole job. and she does it flawlessly. πŸ‘‘

if this command gets evoked inside an X2Go session, you can lowkey just... omit the <session_id> parameter? πŸ™ˆ because then the env var $X2GO_SESSION gets used instead. the command knows where it is. main character energy fr.

x2golistmounts is run with normal user privileges β€” no sudo, no root, none of that 😌 β€” and it's used by X2Go clients to render a list of SSHFS mounts for a given X2Go session. it's giving backstage pass to the mount list. 🎟️


⭐ RETURN VALUES ⭐

a line-by-line list of mounted shares gets returned by x2golistmounts. and the way each line is built?? each one consists of two mount point attribute fields separated by the pipe symbol (,,|''). yes, the pipe. iconic separator behaviour. πŸ’œ

the meanings of these mount point attributes are:

  • field 01: <sshfs_target_host_ip>
  • field 02: <mount_point_path_on_server>

and as for the exitcode? x2golistmounts always returns 0. always. she does not miss. no error codes, no tantrums, just vibes. ✨

ngl, an exitcode that's always 0 is a whole mood β€” but it's also just the facts, so plan around it accordingly 🫢

πŸ‘€ SEE ALSO πŸ‘€

go read those too, they're the rest of the friend group πŸ’–


🌈 AUTHOR 🌈

this manual has been written by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> for the X2Go project (https://www.x2go.org). absolute legend, we stan. 🫢


okay and for the cute sign-off: this whole thing is Version 4.1.0.6, dated Aug 2023 β€” so if you're reading this, bestie, you're holding a lil slice of X2Go history πŸŽ€πŸ’– go forth and list those mounts, you've got this πŸ¦‹βœ¨