13,215 reputation
12440
bio website dangel.im
location Dublin, Ireland
age
visits member for 3 years
seen 5 mins ago

Currently looking for new opportunities around linux, networking and python. See http://careers.stackoverflow.com/mru for my profile. Feel free to contact me for further information at ulrich@dangel.im


Jul
26
comment Vlan not connected to one network virtual machine to another network virtual machine
Trunk port and set up the vlan on the host/sdn etc.
Jul
25
comment How do I find seconds since midnight?
Very clever and good use of eval
Jul
24
comment Can I create a bootable distribution backup
why is using a live cd not an option? most livecds allow you to have some kind of persistency where changes will be written to a blockdevice
Jul
24
comment How did `git pull` eat my homework?
i would contact upstream, but anything which could modify the fs (nfs etc.), parallel processes such as virus scanner, backup scripts, automated cleanup scripts etc.
Jul
22
comment how to verify if root password changed correctly
@Mel_Burslan thats why you should install expect on one system and use that system to login into the servers either via ssh or serial console
Jul
22
comment how to verify if root password changed correctly
Try to login via ssh and use expect or use some ssh library or connect to your kvm servers/vms and try to login via the serial console (again via expect).
Jul
22
comment How to build space separated, escaped full paths of files recursively matching glob?
if you quote an argument the program does not see or recognize this, e.g. /home/user/a\ b.csv is the same as "/home/user/a b.csv" for the program (if you enter it in a shell)
Jul
21
comment sed regex issue
Just write a new one, e.g. sed 's/^$RELEASE.*;$/$RELEASE = "foobar";/'
Jul
21
comment Essential tasks of a routing daemon in Linux
You are wrong, you can for example read async on multiple socket or you can use something like select to determine which socket is available to read from, and then read from it without blocks.
Jul
20
comment Essential tasks of a routing daemon in Linux
yes it can be done in one process.
Jul
19
comment Allow non-root unmodifiable sofware to bind to ports 80 & 443
you can allow any java program to bind to any ports by running setcap 'cap_net_bind_service=+ep' JRE_FILE - see stackoverflow.com/a/414258 for more details
Jul
19
comment Which distributions can have a network installation started from a floppy?
this is why this is a comment and not an answer, and pxe boot is a solution to the problem (install a system without usb/cd/hdd) and is covered in the documentation of the distributions. using floppy disks for such tasks is unnecessary and nowadays not many distributions support floppy disks.
Jul
19
comment Which distributions can have a network installation started from a floppy?
any distribution, such as ubuntu, debian, centos, suse, arch etc. can be booted and installed via the network
Jul
18
revised Querying names of a text document
added 18 characters in body
Jul
17
reviewed Close How to search and list files and folders with specific pattern?
Jul
17
revised Looking for a way turn multiples commands with same parameter into a one liner
added 28 characters in body
Jul
17
comment Artificially prime buffer cache?
JFTR you should clear the buffers between running these commands. I think this testcase is also rather artificial, I'd evaluate it within your environment to see how many operations/second you can achieve via which method. (Do not forget to clear the buffer/cache between runs)
Jul
17
comment Artificially prime buffer cache?
I wouldn't do it that way as you depend on an external program (figuring out bs/count etc.) For a while there was an optimisation in dd which just returned if of was /dev/null. How about using posix_fadvise instead? This should be posix compliant and still achieve the same result without relying on dd
Jul
17
comment Artificially prime buffer cache?
just a headsup, if you use mmap, you can use madvise to mark it as sequential read so the kernel will do the readaehead as well and discard old pages. man7.org/linux/man-pages/man2/madvise.2.html
Jul
17
comment Artificially prime buffer cache?
benchmark, otherwise it is just opinion based ;) but i'd just use man7.org/linux/man-pages/man2/readahead.2.html and read it it like you normally would