Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread lucio
> What capacity and features were you looking for? I'm looking to eliminate the 220V circuit between UPS and PSU altogether, I believe it to be archaic and inefficient. I'm also looking for multiple inputs, so that eventually it will be possible to connect the PSU directly to solar panels as well

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Bakul Shah
On Thu, 06 Jun 2013 07:17:36 +0200 lu...@proxima.alt.za wrote: > In the same league, I was looking for an uninterruptable PSU and found > a single supplier and a price tag, for a single host of >USD 340. > Fanless, I must concede, but then the Li-Ion batteries weren't > included. UPSes come in a w

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread lucio
> Build a psu for my fileserver that has battery back up. It isn't > fanless (honestly sounds like a jet taking off) but I have all of > those fancy laptop features with about $100. If you have the know > how building a psu is the way to go sometimes. Can you suggest a source for the constructio

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Matthew Veety
On Jun 6, 2013, at 1:17, lu...@proxima.alt.za wrote: >> I don't understand why nobody seems >> to produce a design that does not use a fan for the PSU > > In the same league, I was looking for an uninterruptable PSU and found > a single supplier and a price tag, for a single host of >USD 340. > F

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread lucio
> I don't understand why nobody seems > to produce a design that does not use a fan for the PSU In the same league, I was looking for an uninterruptable PSU and found a single supplier and a price tag, for a single host of >USD 340. Fanless, I must concede, but then the Li-Ion batteries weren't in

[9fans] u9fs fix for OSX

2013-06-05 Thread arisawa
Hello, OSX unicodes for some japanese letters are irregular. current u9fs fails to handle OSX unicode correctly. you will find u9fs that fix the problem at http://plan9.aichi-u.ac.jp/netlib/ probably anyone except japanese will not be interested in, though. Kenji Arisawa

Re: [9fans] Fossil disk usage over 100%?

2013-06-05 Thread sl
>> Richard mentioned fixing the snapshots bug in fossil. This >> is about as close as we've come to examining the technical >> issues. > > No: this *is* examining the technical issues. Richard has done > actual engineering here; it's moderately depressing that many > members of this list, and parti

Re: [9fans] Fossil disk usage over 100%?

2013-06-05 Thread sl
>> Richard mentioned fixing the snapshots bug in fossil. This >> is about as close as we've come to examining the technical >> issues. > > No: this *is* examining the technical issues. Richard has done > actual engineering here; it's moderately depressing that many > members of this list, and parti

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Steven Stallion
+1 to this, though I use a different chassis. Since I'm relegated to an apartment at the moment, I have a desktop rack mounted in a closet. My development boards are set on top of the cabinet with 6-32 1/2" standoffs, which rest on an ESD mat grounded to the rack. It's small, but gives me about 8U

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Steve Simon
I bought a SuperMicro X7SLA-H a few years ago, 2 1.6Ghz Atoms with 2xGbE, though only 2GB of RAM. This is my home auth/cpu/file server. I am very happy with it, it does have a small fan for the glue logic chip but the cpu is passively cooled. I have this in an mini-ITX case with a pair or mirrored

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Bakul Shah
For something low power you can use an external power brick and a "picoPSU" DC-DC converter with 12V in and 5V + 12V out with appropriate connectors. Check out mini-itx.com. Fanless power supplies are also available upto about 480W. Though I don't worry about fan noise as my fileserver is not t

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread erik quanstrom
On Wed Jun 5 16:37:05 EDT 2013, cinap_len...@gmx.de wrote: > awesome! can you ship to germany? i'll see when i can schedule vacation > so i have the time :) ich kanns mir ausrechnen. - erik

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread cinap_lenrek
awesome! can you ship to germany? i'll see when i can schedule vacation so i have the time :) -- cinap

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Skip Tavakkolian
I use Supermicro 5015A-EHF-D525 1U servers in a 19" cabinet. they are fairly quiet. you can usually find reasonably priced used 12U or 24U cabinets at places like RE-PC. i've not found a good way of mounting Sheeva and RPi cpu's in the cabinet. On Wed, Jun 5, 2013 at 11:52 AM, Aram Hăvărnea

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread erik quanstrom
On Wed Jun 5 15:49:12 EDT 2013, cinap_len...@gmx.de wrote: > is anyone working on a xhci driver? or is anyone willing to send hardware > so someone who's willing will write a driver for it? send me an address. how many boards do you want? - erik

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread cinap_lenrek
is anyone working on a xhci driver? or is anyone willing to send hardware so someone who's willing will write a driver for it? -- cinap

Re: [9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread erik quanstrom
On Wed Jun 5 14:53:56 EDT 2013, ara...@mgk.ro wrote: > I want to replace my CPU and file servers. I don't need much > performance, a new Atom is more than enough, but I'd like something > that supports at least 8GB RAM. This board seems nice: > http://www.supermicro.com/products/motherboard/ATOM

[9fans] Hardware recommandations for new CPU and file servers

2013-06-05 Thread Aram Hăvărneanu
I want to replace my CPU and file servers. I don't need much performance, a new Atom is more than enough, but I'd like something that supports at least 8GB RAM. This board seems nice: http://www.supermicro.com/products/motherboard/ATOM/X9/X9SBAA-F.cfm. Where to put it though? I want something c

Re: [9fans] lpdaemon

2013-06-05 Thread Don Bailey
You get that I'm talking about the subsequent read back after copy, right? No need to be so competitive :) Also, you're making strange presumptions about me having presumptions. I'm not trying to say you're wrong or a poor coder, Erik. I was simply offering my point of view. Before this thread

Re: [9fans] lpdaemon

2013-06-05 Thread erik quanstrom
> You're absolutely correct if the length of value to be copied is not > validated prior to the copy. Then, an invalid page could be hit if no > nil is present within the array or beyond. wrong. strncpy only copies up to the specified maximum. the code is ugly but correct. > To be verbose, my b

Re: [9fans] lpdaemon

2013-06-05 Thread Don Bailey
Not exactly. But, functionally close enough. I skipped commenting on strncpy to ignore the plethora of issues with lpd and focus on the question at hand. D On Jun 5, 2013, at 7:20 AM, erik quanstrom wrote: > On Wed Jun 5 09:15:11 EDT 2013, don.bai...@gmail.com wrote: >> The first opportunit

Re: [9fans] lpdaemon

2013-06-05 Thread Don Bailey
You're absolutely correct if the length of value to be copied is not validated prior to the copy. Then, an invalid page could be hit if no nil is present within the array or beyond. I wasn't providing a verbatim patch (notice the function and operator weren't filled in). I was just providing th

Re: [9fans] lpdaemon

2013-06-05 Thread Friedrich Psiorz
I think your code is wrong. If the NUL byte is present, it doesn't do anything, however if it is not there, strlen will read more than it should, and possibly try to read some invalid address. In case info.host is a fixe size array, a simple info.host[sizeof info.host - 1] = 0; would do. Am 05.06.

Re: [9fans] lpdaemon

2013-06-05 Thread erik quanstrom
On Wed Jun 5 09:15:11 EDT 2013, don.bai...@gmail.com wrote: > The first opportunity to write a nil byte should always be taken. > Using sizeof only means that in corner cases memory disclosure may > occur between where the nil should be and the end of the array. While > this isn't a security crit

Re: [9fans] lpdaemon

2013-06-05 Thread Don Bailey
The first opportunity to write a nil byte should always be taken. Using sizeof only means that in corner cases memory disclosure may occur between where the nil should be and the end of the array. While this isn't a security critical app, it is still good coding practice. x = strlen(info.host)

Re: [9fans] lpdaemon

2013-06-05 Thread erik quanstrom
i agree ... applied to 9atom. Subject: [sources] applied patch: /n/atom/patch/applied/lpdaemonnit Reply-To: sour...@9atom.org email quans...@quanstro.net readme >From: yaroslav >Subject: [9fans] lpdaemon in /sys/src/cmd/lp/lpdaemon.c:297,310

[9fans] lpdaemon

2013-06-05 Thread yaroslav
in /sys/src/cmd/lp/lpdaemon.c:297,310 These info.host[strlen(info.host)] = '\0'; … info.user[strlen(info.user)] = '\0'; look nonsence as zeros are placed exactly where they already are. Should read as in following instead: