Reputation
4,374
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
7 16
Newest
 Organizer
Impact
~282k people reached

Jan
5
comment What's the Bash equivalent of “cmd /c”
To expand on that: the reason this works with cmd is that it has hacks to detect that the application being started is a gui one and fake the return code rather than waiting for the process to actually terminate and return a status.
Jan
5
comment 2 slot external hard drive dock with 1 eSATA connection?
@ChristopherBruce, posting this answer drove me to dig back into investigating the performance issue again and it seems I may have jumped to conclusions about the fis based switching and the problem may simply be that the JMicron controller that drives my eSATA ports just sucks; it appears to simply have a maximum throughput of only ~170 MB/s even to a single drive when reading entirely out of the drive cache rather than the platters, which is more like ~270 MB/s when I connect the drive to my internal controller. I'm going to order an esata adapter board for my other controllers and test.
Jan
4
comment Rewriting partition table to be BIOS/DOS compatible
@Synetech, the incorrect relative sectors ( another foolish thing Microsoft decided to encode in their boot sectors ) will also prevent it from booting. You should be able to use fixboot from another system's recovery console on the problem disk just fine.
Jan
4
comment Rewriting partition table to be BIOS/DOS compatible
That likely will fix it. If the geometry is wrong, that would trip up the windows boot loader because iirc, it doesn't switch to LBA mode and continues to use CHS addressing if possible.
Jan
4
comment Rewriting partition table to be BIOS/DOS compatible
What is the geometry the partition table appears to be using? Running fdisk -l from a linux live cd and adding that information to your question would help.
Jan
4
answered PCIe lanes CPU dependent?
Jan
4
answered Why isn't page used as the unit when calculating the maximum size of RAM a CPU can address?
Jan
3
comment Is Gzip supposed to honor original filename during decompress?
As indicated by the original question, and Simon's answer, gzip does in fact remember the original file name. The fact that it only compresses one file is a non sequitur.
Jan
3
comment What determines the page size and the cluster size?
Also modern cpus support large compound pages ( 4 MiB or 2 MiB ) that can be used to save page table entries for large extents of virtual memory with the same permissions and backing file. Linux has the ability to automatically use them where appropriate or programs can explicitly request them when allocating memory. Fewer page table entries also has a performance increase since they fit easier in the translation lookaside buffer so the cpu is less likely to need to waste time fetching them from ram.
Jan
3
comment What determines the page size and the cluster size?
The OS typically reads quite a few pages at a time in order to take advantage of higher efficiencies in doing so. The choice of page size therefore doesn't have anything to do with IO performance, but rather the size of the page table. The smaller the page size, the more entries the page table needs to describe virtual memory, so you spend more memory on the page tables. Larger pages however, means you have less flexibility in dividing up that memory between different files or sections with different permissions.
Jan
3
comment What determines the page size and the cluster size?
@sawdust, why yes, you are right.
Jan
3
comment What happens when 2 hosts simultaneous establish a connection in a 3-way handshake
@MaQleod, right, by different set of ports I meant the port on either side has to be different.
Jan
2
comment What determines the page size and the cluster size?
Please don't cross post: unix.stackexchange.com/q/176963/7285
Jan
2
answered Any performance implications of LVM and ZFS snapshots over time?
Jan
2
comment How do I extract Flash content from a PDF file?
What?! A pdf can not have flash content embedded.
Jan
2
answered What happens when 2 hosts simultaneous establish a connection in a 3-way handshake
Jan
2
comment What happens when 2 hosts simultaneous establish a connection in a 3-way handshake
@SvW, two connections can only be established if different ports are used. I can't tell from the question whether the author assumes the same set of ports or understands the relevance.
Jan
1
comment To get Subversion to work with a remote client server, what do I need to do?
Umm, yes, if you want to access the server using http, you need an http server running on it. A quick google for subversion manual finds it and it explains different ways how to set up a server, one with apache, and one with the stand alone svn:// server: svnbook.red-bean.com
Dec
29
comment how do torrent clients circumvent router's firewall?
@user907860, it is, but it isn't. What I mean is that there is no connection setup and teardown protocol like there is for TCP, but pretty much everyone that uses UDP in practice responds using the same port as the first message, so routers take advantage of this to infer that there is a "connection" going on that they need to forward, otherwise UDP would never be able to traverse a NAT firewall.
Dec
29
comment how do torrent clients circumvent router's firewall?
@user907860, then in that case they must be connections that you initiated and are still considered open after closing the client. Until the router believes they are closed ( and the only way to detect this with UDP is with a timeout, which is normally kept fairly long to avoid closing connections prematurely ).