2,740 reputation
212
bio website
location
age
visits member for 1 year, 10 months
seen 4 hours ago

Apr
11
comment Needed: A simple way to remotely monitor a process on my server
Omg, just noticed IMAP is not what you have. I promise to update the answer for SMTP and pop. Its simply other "we're done" messages
Apr
10
comment Best secure way to update back-end servers?
Well, first it depends on what Linux/version you want them to have in the end. Then it depends on whether you have any constraints on libraries/versions. If you don't, save your data, get some DVD of your favorite Linux and do a fresh installation. RedHat 5 and 6 are so old I'm not sure you can upgrade to CentOS or Fedora. Too much has changed along the way. IIRC RedHat 7 was the first with a 2.4 kernel in its standard installation.
Apr
10
comment Why is dd so slow on raw device, so fast on filesystem (writing on USB key)?
@psusi: no. my argument is like taking a cab.
Apr
10
comment Why is dd so slow on raw device, so fast on filesystem (writing on USB key)?
@psusi: it is deterministically incidental. that means it does get better than one contiguous write.
Apr
9
comment Why is dd so slow on raw device, so fast on filesystem (writing on USB key)?
@psusi: so it does get better than dd to the raw block device and in the performed benchmark, using a file system was the enabler for this, wasn't it?
Apr
8
comment Why is dd so slow on raw device, so fast on filesystem (writing on USB key)?
@psusi: so the theory. Do you believe the tremendous speedup is the usb drive unleashing another couple of mbits when it senses file access? I don't, hence my answer.
Apr
8
comment Why is dd so slow on raw device, so fast on filesystem (writing on USB key)?
@psusi: filesystems can/do optimise accessing block devices for higher performance. no filesystem, less chance for optimisation. i am well aware of the kernel's possibilities, but i don't know how dd uses them. Actually I'd guess dd is the tool which disables everything it can disable, to ensure data arrives at the device exactly how and when dd writes it.
Apr
7
comment Can the 25 years of development of the Linux kernel be qualified or abstracted in layman's terms?
On your question, maybe you need to tell us about layman's terms, in order to get a good answer here. Apart from that, post this to the lkml and get their feedback on your chronology. If you missed something important, they will make you know.
Mar
29
comment Process in user mode switch to kernel mode. Then the process will have root privileges?
You are very welcome to improve the answer.
Mar
29
comment Process in user mode switch to kernel mode. Then the process will have root privileges?
@gilles: it is a very simple and abstract ISA i imagined for this answer, and the example means page faults, which do exist and result in a kernel trat, IIRC
Mar
25
comment ssh with for loop - parentheses problem
I don't know about your specific versions, but my bash would execute ssh $HOST and then wait for ssh to terminate before continuing with the for loop ...
Mar
20
comment How to change run-level for a session? (from graphics to command-line only)
It depends on your installed distribution and its version. Generally you don't set runlevels for individual sessions, but for the entire OS. Today's Linuxes will always start a GUI in rulevels 2-5. Still, if you don't log in at the GUI and switch to a TTY (Ctrl + Alt + Fn) right away, the additional load on the battery shouldn't be too bad anymore
Mar
20
comment Automatic kernel configuration tool
@ProBackup: I never said it gives optimal build options, I said its a framework for optimizing build options. Just because it lets you set options explicitly which are set for you (or even not available at all) when building a kernel natively.
Mar
14
comment When is it important to write portable scripts?
@toxalot: yes that could work. if you put something like FIND=/opt/gnu/dispicable/bin/find at the beginning of your script and then use ${FIND} instead of find in your script you give people one (!) place to put their install paths and make your script use the correct tools.
Mar
14
comment When is it important to write portable scripts?
@toxalot: Binaries and scripts are called explicitly by using absolute paths.
Mar
14
comment When is it important to write portable scripts?
There is also a meta aspect in this question: While it may not help the initial answering of the question, comments like "this is not portable" can be very helpful for other readers stumbling accross the question/answer months or years later.
Feb
17
comment Why does dig take much longer than DNS query time?
Ubuntu has been shipping dnsmasq and uses it by default, which already gives you a caching name server. I don't think there is anything to be gained by adding another one.
Feb
13
comment Where does gnome-session/gnome-shell store its configuration?
please contribute by adding the missing locations, rather than just downvoting
Jan
31
comment Cannot connect to X server :0.0 as superuser
When you are not superuser, what does echo $DISPLAY show? Which user does the xserver process, you want to use, belong to? (you can find out the latter by using for example ps faux)
Jan
31
comment Cannot connect to X server :0.0 as superuser
@galegosimpatico: why would launching a dbus server solve this issue?