Born on December 9, 1842 into an aristocratic family in Tsarist Russia, Peter Kropotkin developed radical ideas in the course of his scientific research. In 1874, a few hours after he presented a well-received report regarding glacial formations to the Geographical Society, he was arrested and accused of subversive activity. The...
So, I need to monitor a fairly large nested directory tree for changes on Linux. It seems like there are a few different watcher modules that I could use – fsnotify and notify being the main ones, both of which use the inotify interface and attempt to set watches on each individual subdirectory and maintain all their watchers...
Just the other day I wrote something just like this, but I used inotify.
I have to monitor a fairly small direcotry tho, so I didn’t encounter any problem.
both of which use the inotify interface and attempt to set watches on each individual subdirectory
Is this really necessary? Inotify’s man page says it can monitor a whole directory with only one watch, so that’s what I did and it looks like it’s working
I didn’t make a lot of tests tho, so I might be wrong
Edit: from the inotify man page:
Inotify monitoring of directories is not recursive: to monitor subdirectories under a directory, additional watches must be created. This can take a significant amount time for large directory trees.
Yeah, it is necessary. That’s what I get for not reading the whole thing.
Nowadays, most people use password managers (hopefully). However, there are still some passwords that you need to memorize, like master password (for a password manager), phone lock, wifi password, etc....
I don’t remember where, but i read that this method only works because linux distributors “abuse” the ISO format to allow this. If I remember right, it’s not possible to use this ISOs on regular disks
Of course the command you provided is right and it’s what I use, it’s just a fun fact
I don’t have time right now to read all the post, i only read up to the desktop grid, but i have to ask: have you ever heard about i3wm? I think you might like it.
And if you do know it, do you know of any way to implement a desktop grid? I have the same problem you have with alt+tab and it would be the best thing ever
Hi. I’m working on a project that compiles Rust code to WASM, and uses WASI in Node.js to execute it. After some development, I encountered a segmentation fault happening in the wasi.start() function. Considering that I’m kinda new to Node I was only able to understand that it was happening after the call to the exported...
Alt Text> Linux Error Messages That Go Hard Starter Pack ERROR: Failed to mount the real root device. Bailing out, you are on your own. Good luck.``WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! sysvinit initscripts (due to sysvinit) sysv-rc (due...
<span style="color:#323232;">Uhhuh. NMI received for unknown reason 31 on CPU 3.
</span><span style="color:#323232;">Dazed and confused, but trying to continue
</span>
I get this one like once a week and it always makes me laugh. One day I’ll investigate
Here recently it seems like everything just gets under my skin so quickly and easily. It’s not that I get mad and take it out on others, it’s just the fact that I’m constantly annoyed and stressed. Something as simple as the dogs tracking some mud through the house will just ruin my mood. I know some people who would just...
I’m currently in the process of writing a song. I’ve got a tune and I’m putting the lyrics together but I’m always concerned that any tune I think of might just be another song I’ve heard somewhere randomly that I don’t remember hearing....
I’ve used a US-QWERTY keyboard layout my entire life. I’ve seen other layouts that do things like reduce the size of the enter/backspace keys, move the pipe operator (|) and can’t wrap my head around how I would code on those....
Same. Forward slash always annoys me. It’s in the middle of the keyboard, so you have to either 1. make a very uncomfortable move with your right hand, or 2. make an uncomfortable move with your right hand, or 3. use both your hands, which sucks.
Luckily I’m using linux, so I have tilde and backtick (`) as AltGr+’ and AltGr+ì, which are pretty easy to type.
Master Oogway knew what was up (lemmy.world)
DNS Resolver Quad9 Wins Pirate Site Blocking Appeal Against Sony (torrentfreak.com)
deleted_by_author
I though was a photo of the rule (lemmy.dbzer0.com)
June 30, 1876: Peter Kropotkin Escapes from Prison (crimethinc.com)
Born on December 9, 1842 into an aristocratic family in Tsarist Russia, Peter Kropotkin developed radical ideas in the course of his scientific research. In 1874, a few hours after he presented a well-received report regarding glacial formations to the Geographical Society, he was arrested and accused of subversive activity. The...
What is your Depression Anthem?
Is directory monitoring just cursed?
So, I need to monitor a fairly large nested directory tree for changes on Linux. It seems like there are a few different watcher modules that I could use – fsnotify and notify being the main ones, both of which use the inotify interface and attempt to set watches on each individual subdirectory and maintain all their watchers...
What is the /opt directory?
I’ve seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?
Are you using passphrases? Is it worth it?
Nowadays, most people use password managers (hopefully). However, there are still some passwords that you need to memorize, like master password (for a password manager), phone lock, wifi password, etc....
How to create a bootable Linux USB drive (www.zdnet.com)
My weird KDE plasma workflow
Notes...
Free sex... (party)*… Become poor dog (lemmy.world)
is archive.ph/.is sad or is some content taken down?
I look for this article:...
Node.js segmentation fault does not happen on different envirnment
Hi. I’m working on a project that compiles Rust code to WASM, and uses WASI in Node.js to execute it. After some development, I encountered a segmentation fault happening in the wasi.start() function. Considering that I’m kinda new to Node I was only able to understand that it was happening after the call to the exported...
Keep proton pass and proton mail with single account?
Proton pass...
Linux error starter pack (lemm.ee)
Alt Text> Linux Error Messages That Go Hard Starter Pack ERROR: Failed to mount the real root device. Bailing out, you are on your own. Good luck.``WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! sysvinit initscripts (due to sysvinit) sysv-rc (due...
Does ProtonVPN no longer offer the option to pay in crypto?
https://lemm.ee/pictrs/image/9262ff2a-bbb7-4162-924d-fefa08d18030.png
People who can don't get mad and just go with the flow, how do you do it?
Here recently it seems like everything just gets under my skin so quickly and easily. It’s not that I get mad and take it out on others, it’s just the fact that I’m constantly annoyed and stressed. Something as simple as the dogs tracking some mud through the house will just ruin my mood. I know some people who would just...
When you're writing a song, how do you know it isn't just a song you've heard before but don't recognise?
I’m currently in the process of writing a song. I’ve got a tune and I’m putting the lyrics together but I’m always concerned that any tune I think of might just be another song I’ve heard somewhere randomly that I don’t remember hearing....
Aint no Tolerance Paradox round here (lemmy.ml)
Do any of you program on non-US keyboard layouts?
I’ve used a US-QWERTY keyboard layout my entire life. I’ve seen other layouts that do things like reduce the size of the enter/backspace keys, move the pipe operator (|) and can’t wrap my head around how I would code on those....