Skip to content

Instantly share code, notes, and snippets.

@tummychow
Created July 28, 2021 21:51
Show Gist options
  • Save tummychow/13d0a0b259e9330c5d31470dac824c78 to your computer and use it in GitHub Desktop.
Save tummychow/13d0a0b259e9330c5d31470dac824c78 to your computer and use it in GitHub Desktop.
mount
10445: libmount: don't print memory addresses (SUID executable).
10445: libmount: INIT: library debug mask: 0x100ffff
10445: libmount: INIT: library version: 2.37.1
10445: libmount: INIT: feature: btrfs
10445: libmount: INIT: feature: namespaces
10445: libmount: INIT: feature: assert
10445: libmount: INIT: feature: debug
Available "LIBMOUNT_DEBUG=<name>[,...]|<mask>" debug masks:
all [0xffff] : info about all subsystems
cache [0x0004] : paths and tags cache
cxt [0x0200] : library context (handler)
diff [0x0400] : mountinfo changes tracking
fs [0x0040] : FS abstraction
help [0x0001] : this help
locks [0x0010] : mtab and utab locking
loop [0x2000] : loop devices routines
options [0x0008] : mount options parsing
tab [0x0020] : fstab, mtab, mountinfo routines
update [0x0080] : mtab, utab updates
utils [0x0100] : misc library utils
monitor [0x0800] : mount tables monitor
btrfs [0x1000] : btrfs specific routines
verity [0x4000] : verity specific routines
10445: libmount: CXT: ----> allocate [RESTRICTED]
10445: libmount: CXT: enabling flag 0010
10445: libmount: FS: alloc
10445: libmount: CXT: mount: preparing
10445: libmount: CXT: force fstab usage for non-root users!
10445: libmount: CXT: OPTSMODE (file-part): force=1, fstab=1, mtab=0
10445: libmount: CXT: trying to apply fstab (src=(null), target=/mnt/extern)
10445: libmount: TAB: alloc
10445: libmount: CACHE: alloc
10445: libmount: TAB: /etc/fstab: start parsing [entries=0, filter=not]
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: UUID=56a172d6-16b8-4f73-9c04-c338f925e7ab /
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: UUID=49a5b875-b271-4789-85ee-b4f5e103f067 /mnt/home
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: UUID=0E76-CD0E /boot
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: UUID=3386-0266 /mnt/kingston
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: UUID=30fa3c6f-febe-4d6e-b77b-755b7d74f79b /mnt/lexar
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: /dev/mapper/cryptwdelem /mnt/wdelem
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: sshfs#192.168.1.149:/mnt/extern /mnt/extern
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: sshfs#192.168.1.149:/mnt/landfill /mnt/landfill
10445: libmount: FS: alloc
10445: libmount: TAB: add entry: sshfs#192.168.1.149: /home/sjung/docs/downloads
10445: libmount: FS: alloc
10445: libmount: FS: free [refcount=0]
10445: libmount: TAB: end-of-file
10445: libmount: TAB: /etc/fstab: stop parsing (9 entries)
10445: libmount: TAB: parsing done [filename=/etc/fstab, rc=0]
10445: libmount: TAB: lookup TARGET: '/mnt/extern'
10445: libmount: CXT: apply entry:
10445: libmount: CXT: ------ fs:
source: sshfs#192.168.1.149:/mnt/extern
target: /mnt/extern
fstype: fuse
optstr: reconnect,max_conns=10,noauto
FS-opstr: reconnect,max_conns=10
user-optstr: noauto
10445: libmount: CXT: OPTSMODE (opt-part): ignore=0, append=0, prepend=0, replace=1
10445: libmount: CXT: final entry [rc=0]:
10445: libmount: CXT: ------ fs:
source: sshfs#192.168.1.149:/mnt/extern
target: /mnt/extern
fstype: fuse
optstr: reconnect,max_conns=10,noauto
FS-opstr: reconnect,max_conns=10
user-optstr: noauto
10445: libmount: CXT: merging mount flags
10445: libmount: CXT: final flags: VFS=00000000 user=00000004
10445: libmount: CXT: mount: evaluating permissions
10445: libmount: CXT: permissions evaluation ends with -EPERMS
10445: libmount: CXT: mount: preparing failed
10445: libmount: CXT: force UNRESTRICTED
10445: libmount: CXT: mount: preparing
10445: libmount: CXT: fstab already applied -- skip
10445: libmount: CXT: merging mount flags
10445: libmount: CXT: final flags: VFS=00000000 user=00000004
10445: libmount: CXT: mount: evaluating permissions
10445: libmount: CXT: mount: fixing options, current vfs: '(null)' fs: 'reconnect,max_conns=10' user: 'noauto', optstr: 'reconnect,max_conns=10,noauto'
10445: libmount: CXT: mount: fixing vfs optstr
10445: libmount: CXT: applying 0x00000000 flags to '(null)'
10445: libmount: CXT: new optstr 'rw'
10445: libmount: CXT: mount: fixing user optstr
10445: libmount: CXT: applying 0x00000004 flags to 'noauto'
10445: libmount: CXT: new optstr 'noauto'
10445: libmount: CXT: fixed options [rc=0]: vfs: 'rw' fs: 'reconnect,max_conns=10' user: 'noauto', optstr: 'rw,reconnect,max_conns=10,noauto'
10445: libmount: CXT: preparing source path
10445: libmount: CXT: srcpath 'sshfs#192.168.1.149:/mnt/extern'
10445: libmount: CXT: REMOUNT/BIND/MOVE/pseudo FS source: sshfs#192.168.1.149:/mnt/extern
10445: libmount: CXT: preparing fstype
10445: libmount: CXT: FS type: fuse [rc=0]
10445: libmount: CXT: preparing target path
10445: libmount: CACHE: canonicalize path /mnt/extern
10445: libmount: CACHE: add entry [ 1] (path): /mnt/extern: /mnt/extern
10445: libmount: CXT: final target '/mnt/extern' [rc=0]
10445: libmount: CXT: /usr/bin/mount.fuse ... found
10445: libmount: CXT: prepare update
10445: libmount: CXT: utab path initialized to: /run/mount/utab
10445: libmount: CXT: checking for writable tab files
10445: libmount: UTILS: utab: /run/mount/utab
10445: libmount: UTILS: try write /run/mount/utab dir: /run/mount
10445: libmount: UTILS: access FAILED [/run/mount]
10445: libmount: UTILS: /run/mount/utab: irregular/non-writable file
10445: libmount: UPDATE: allocate
10445: libmount: UPDATE: resetting FS [target=(null), flags=0x00000000]
10445: libmount: UPDATE: FS template:
10445: libmount: UPDATE: ------ fs:
source: sshfs#192.168.1.149:/mnt/extern
target: /mnt/extern
fstype: fuse
optstr: rw,reconnect,max_conns=10,noauto
VFS-optstr: rw
FS-opstr: reconnect,max_conns=10
user-optstr: noauto
10445: libmount: UPDATE: prepare utab entry
10445: libmount: UPDATE: utab entry unnecessary (no options)
10445: libmount: CXT: mount: do mount
10445: libmount: CXT: mount: executing helper /usr/bin/mount.fuse
10445: libmount: CXT: mount: generate helper mount options
10445: libmount: CXT: /usr/bin/mount.fuse executed [status=1, rc=0]
10445: libmount: CXT: don't update: no update prepared
10445: libmount: CXT: excode: rc=1 message=""
10445: libmount: CXT: <---- reset [status=1] ---->
10445: libmount: FS: free [refcount=0]
10445: libmount: CXT: no FS template, reset only
10445: libmount: TAB: reset
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: FS: free [refcount=0]
10445: libmount: TAB: free [refcount=0]
10445: libmount: CACHE: free [refcount=0]
10445: libmount: UPDATE: free
10445: libmount: CXT: Setting (null) as target namespace
10445: libmount: CXT: <---- free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment