Reputation
2,172
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 12 18
Newest
 Yearling
Impact
~250k people reached

Aug
20
comment How can I run a script at boot time right when the disks are mounted?
I'm used to the SYS-V model, and have not much played with systemd. And while SYS-V is supported by most *nix systems, the alternatives differ between "distributions": one uses systemd, the other upstart, and so on. Until it's settled what will be the "common successor" of SYS-V, I didn't want to invest to much time in the "wrong candidate" ;) // Nevertheless: the issue became rather "philosophical" meanwhile, as what I had in mind looked a bit too complicated when implementing it (too much room for errors) – so I decided for an easier alternative. Thanks nevertheless for your input!
Aug
20
answered How can I run a script at boot time right when the disks are mounted?
Aug
20
comment How can I run a script at boot time right when the disks are mounted?
"The script wrapped in that service" would start too late: everything you can place in /etc/rc.X will be run a while after mounting is completed. For my case, I would need to plugin to the mount process itself, which is performed by the kernel before the init process starts. So putting that script into a service cannot work. And yes, all I need from Linux is "trigger/call it at the correct moment" – but unfortunately, in my case this can't be done via the init system by simply placing a "SXY-do_my_job" file there.
Aug
18
comment How can I run a script at boot time right when the disks are mounted?
Nope, completely different thing. It's not about the mounting in my case, but about what happens afterwards. I've got a raw idea meanwhile, but am not (yet) aware of possible implications: the right place for my stuff would be running things from /etc/init.d/mountall-bootclean.sh (where e.g. /tmp is cleaned up: this script is run immediately after all local file systems have been mounted). But it doesn't check for any *local* script to call-if-exists, so I had to modify it directly – with the danger of my modifications being gone with some system update.
Aug
18
asked How can I run a script at boot time right when the disks are mounted?
Jun
30
awarded  Yearling
May
30
awarded  Notable Question
May
13
comment Leave ACL handling to Windows with Cygwin rsync
@miking already gave a nice hint with that link and the noacl option. Didn't work out for me with MobaXterm (portable), as that seems to re-create /etc/fstab on each start. I partially got around that placing mount -c /drives -o binary,posix=0,user,auto,noacl into my .bashrc. "Partially" as this only affects the "Windows drive letters" (and not e.g. /home).
May
4
comment How to print new line character with echo?
@michael_n which is what the OP finally reverted too, in fact. But the question was explicitely stating "with echo" – hence my answer this way. Anyhow, it was not "with Bash" – so thanks for your pointing out those differences!
Apr
30
awarded  Nice Answer
Feb
6
awarded  Good Answer
Dec
19
awarded  Student
Nov
12
awarded  Popular Question
Oct
1
awarded  Necromancer
Sep
24
awarded  Autobiographer
Jun
30
awarded  Yearling
Jun
23
awarded  Informed
Jun
21
comment How to control websites' use of localStorage in Firefox?
That's what it's set here. Got no exception yet. Maybe the sites using LocalStorage here (e.g. SE) are limited to those having "full cookie permission", so I was not bugged by that bug (yet). And yeah, a 2012 bug still unsolved. I rawly remember it hit me when I just joined SE (as stated in my question), and had trouble logging in...
Jun
21
comment How to control websites' use of localStorage in Firefox?
Thanks a lot for your comprehensive answer! No detail left open :) And yes, I use that Foundstone addon already for a while to investigate. Also checked the corresponding databases with SQLiteman. What I was lacking you filled in: As the described cookie policy matches mine (unticked that checkbox, have non-whitelisted sites ask first), I feel backslapped :)
Jun
21
awarded  Scholar