245 reputation
111
bio website
location
age
visits member for 2 years, 9 months
seen Oct 15 at 17:37

Oct
15
comment How to merge a git repository once split off without history
Related, yes. But it lacks the continous history I need, as there the two projects that get to be merged are unrelated, while in my case, the second one is a ancestor of some commit in the master repo.
Oct
15
comment Access data from a linux partition inside an image without root privileges
Wouldn't mounting over something be denied by the users access right? And whats wrong with an user mounting over folders he owns?
Oct
14
comment cpu load measure with hyperthreading on linux
The problems you mention is exactly what I encountered, however the question was, how to take a correct measurement then.
Sep
3
comment How to acquire a low latency realtime HD video image?
These devices won't work with a laptop. There may be USB3.0 capture cards I think?
Jul
23
comment How to acquire a low latency realtime HD video image?
Would be good to have a high quality USB 3.0 camera using the USB UVC class. It should be usable without drivers on Linux and OS X this way.
Jul
23
comment How to acquire a low latency realtime HD video image?
There also seem to bee some industrial vision cameras using USB 3.0. Expensive, usually proprietary SDK, usually Windows only. That is not what I look for...
Mar
3
comment How long does it usually take to format a 2TB external HD using ext4 and gparted?
ext4 can be formatted in a defered way, where most of formatting commences in background while the filesystem can already be used after a very short initalization period. Using mkfs.ext4, the option would be -E lazy_itable_init=1, and this even is a default setting it seems. I don't know how to make gparted using this option, but maybe it is possible. Using this feature, a 2GB partition gets available after about one minute.
Oct
17
comment rdiff-backup over existing backup
Sounds good! As I am not using rdiff-backup in daily procedure now, may I ask if you tried this successfully?
Sep
13
comment Is it possible to make the OOM killer intervent earlier?
I think this answer is a bit like 'don't do anything real bad to solve a problem' but in my opinion a system that can made unresponsive by a bunch of seemingly harmless user actions is worse than a system that kills them early.
Aug
28
comment How to store file attributes like permissions and timestamps and reapply them later on linux?
Yes, but I want to store the attributes alone. I use other tools to store the files, but they do not reliable store attributes. So I like to use something that is able to store attributes but don't neccessary the file contents.
Aug
25
comment How to sync file times from one directory tree to another
That seems to be a dead end. rsync works well if the trees are identical except the timestamps, but if there are any other changes, it gets too complicated to keep rsync from applying them either.
Aug
25
comment How to sync file times from one directory tree to another
This works well, except it is a little slow as you stated. Suprisingly, it does makes several hundred files per second, which is quite cool if you remember a new touch is run for every file.. however, I will try a Python script like you propose.
Aug
25
comment How to sync file times from one directory tree to another
Even when using --existing, there is still some risk loosing modifications made to some files since the duplication. Maybe there is some way preventing rsync from copying content at all? Then the problem would shrink to some resetted timestamps. On the other hand, using rsync without --size-only would give a precise picture of what files would need a new timestamp and which do not. Using with -n for dry run, I would get a list stating >f for files that would be reseted but should not, and .f.t for files that are old and would get the correct old timestamp. But how to apply it then?
Aug
25
comment How to sync file times from one directory tree to another
Looks cool. I also added --existing to prevent rsync copying files again that where deleted after the duplication.
Aug
24
comment cpu load measure with hyperthreading on linux
Simply spoken: How to tell at a given moment, if my CPU would be capable to do further work, without slowing down the currently ongoing work?
Aug
24
comment cpu load measure with hyperthreading on linux
My question is how to get the total usage of available cpu cycles. I think you're saying 'you can't get that value because the OS isn't capable of knowing it', but I am not aware why. The OS may know if hyperthreading happens by probing the behaviour or having some CPU driver defining if the current CPU model uses it or not. In worst case, the OS truely is incapable of handling this, I like to have a suggestion how to compute the value by myself using my knowledge of my current CPU hyperthreading capabilities.
Jul
25
comment cpu load measure with hyperthreading on linux
This is obviously a reason why the OS should be aware of virtual cores. So it has to find out and compute the physical core usage based on it. Otherwise the whole concept of measureing "usage" and "load" has no use to the user. If I run top, I usually have some question like "Is the system running at it's limit?" or "Would it be useful to divide the work into more processes?" etc. This questions can't be reliable answered by the current topoutput.
Jul
19
comment cpu load measure with hyperthreading on linux
I just like to have a load measure where 100% would mean that every cycle of every real core is used.
Jul
19
comment cpu load measure with hyperthreading on linux
It seems so, but it doesn't have to? The real vs. virtual core mapping is a simple one to two map. The problem is how to measure load on a virtual core that actually changes its available performance by getting scheduled with another one on the real core. But all data is avalable I think, the question is just where are the tools that get a proper result out of them?
Jun
28
comment Fast and reliable reboot after power loss
This can also be combined with another eg. ext3 read-writable partition where single databases or log files are stored. As this partition is usually small and low on file count, it can be fscked in a short time and is unlikely to fail completely. Even if data gets corrupted, the system boots up, and your applications can be resilent to missing data if well made.