Comments (3)
@stef204 I am the author and maintainer of the usb script. I've never worked with encfs before so would you please post the output of the following commands to help me assess whether this would be easy to add support.
Run each command with usb device plugged but encfs partition not mounted, and then again with encfs partition mounted:
lsblk -spnd
udevadm info --query=property --name=/dev/sdd
udevadm info --query=property --name=/dev/sdd1
where /dev/sdd should be replaced by the usb device containing the encfs partition, and /dev/sdd1 is an encfs partition on said device. Feel free to redact any information you do not wish to share. Currently the script mostly relies on lsblk being able to list the device and classify its type (disk/part/rom/crypt/etc.) and the ID_FS_TYPE attribute in the udev info.
from i3blocks-contrib.
I was making reference to showing whatever directory is mounted using encfs, just as the script shows mounted partitions e.g. /mnt/shared (/dev/sdaX) on my box is a fat32 partition. Being able to see mounted encfs directories would be an enhancement.
Encfs is different so not sure it can be integrated; as it "is a userspace stackable cryptographic file-system similar to eCryptfs and uses FUSE to mount an encrypted directory onto another directory specified by the user. It does not use a loopback system like some other comparable systems such as TrueCrypt and dm-crypt".
https://github.com/vgough/encfs
I tried to run each commands you suggested, modified to reflect proper parameters but nothing shows up since the directories are mounted using fuse (they are not really partitions so could be outside the scope of "usb script". There might be a way to make these show up in the block though, (They do show up using command df
since they are either mounted or not.)
Let me know what other steps you can suggest to help out. Tx.
from i3blocks-contrib.
I'm closing this issue as out of scope of the usb script. However, what you suggest does seem like it could be a useful script in its own right. You may want to fork my usb script and re-purpose it.
from i3blocks-contrib.
Related Issues (20)
- volume-pipewire is not able to forward default sink when clicked on HOT 1
- confusing formatting in rofi-calendar
- bandwidth2: missing dependency
- temperature block shows wrong temperature
- The cpu_usage2 blocklet isn't working HOT 1
- The blocklet battery-poly isn't working HOT 2
- only appears the clock with date
- key_layout doesn't work because it doesn't output a \n at the end HOT 1
- Root Makefile errors
- Using Font Awesome 6 instead of Font Awesome 5 for dunst
- apt-upgrades
- Issue with Icons in volume-pipewire
- The memory2 block uses incorrect math to calculate ram usage HOT 1
- volume-pulseaudio higher than 100%
- calendar: calendar display at wrong position for different i3 bar position HOT 2
- [bandwidth] tailscale showing as "down"
- [volume_pulse] grep warning
- [mediaplayer] no output if metadata invalid
- [mediaplayer][rfc] make MPRIS a hard dependency?
- The module `cpu_usage2` doesn't compile with clang/llvm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3blocks-contrib.