Re: [9fans] ftpfs ahould not expose "." and ".." directories

2008-04-29 Thread eekee57
Honestly I went with strncmp() over strcmp() on little more than a hunch. I actually prefer strcmp() as looking cleaner, with one less arg and no need to remember the existence fo the null at the end. Maybe I'll change it. As to the style of logic, strncmp() and strcmp() both return zero for an ex

Re: [9fans] plan 9 on an IBM eserver 325

2008-04-29 Thread Mathieu Lonjaret
So, back to this issue. I've finally figured out how to make a bootable iso ( for future search in the archives: /n/sources/contrib/maht/rc/mkiso , /sys/lib/dist/pc/mkfile , and http://maht0x0r.blogspot.com/2007/11/roll-your-own-plan9-iso.html were pretty much the only useful docs I could find on t

Re: [9fans] ftpfs ahould not expose "." and ".." directories

2008-04-29 Thread roger peppe
personally, since you're using it so many times, i'd be tempted to write a little function, say "isdot" or "ishidden", just to keep the code looking nice. that way if someone decides to change the style, there's only one place to do it in. On Tue, Apr 29, 2008 at 9:32 AM, eekee57 <[EMAIL PROTECTED

Re: [9fans] LSI Logic 53C1030 SCSI

2008-04-29 Thread dave . l
after that, there was no question that i would take all the SCSI drives for recycling. the SATA drives are much, much faster that the `fastest' of the old SCSI drives. ... and less likely to die. How old are those drives? My very vague rule of thumb is that the bathtub failure curve for mos

Re: [9fans] plan 9 on an IBM eserver 325

2008-04-29 Thread erik quanstrom
> ELCR: 0C80 > apm ax=f000 cx=f000 dx=40 di= ebx=5d84 esi=-1 > initial probe, to find plan9.ini... dev A0 port 1F0 config 0040 > capabilities 2F00 mwdma 0007 udma 407F > dev A0 port 170 config 85C0 capabilities 2F00 mwdma 0007 udma 0407 > FLAGS=10282 TRAP=6 ECODE=0 PC=3 > AX BX 80815d

Re: [9fans] LSI Logic 53C1030 SCSI

2008-04-29 Thread Charles Forsyth
> How old are those drives? > My very vague rule of thumb is that the bathtub failure curve for most > moving computer machinery > rises steeply after at most about 5 years, > so if they're already a few years old ... they varied: typically 7 or 8, some 10 to 15

Re: [9fans] plan 9 on an IBM eserver 325

2008-04-29 Thread lejatorn
Heh, you got me there. It's just that I was too lazy to rewrite all the stuff by hand. I only compared what was on the screen to that previous message and when I saw the value were the same I pasted again the old message. But I had indeed noticed that line was absent. So yeah, with the old 9load t

Re: [9fans] plan 9 on an IBM eserver 325

2008-04-29 Thread erik quanstrom
> Heh, you got me there. It's just that I was too lazy to rewrite all the > stuff by hand. I only compared what was on the screen to that previous > message and when I saw the value were the same I pasted again the old > message. But I had indeed noticed that line was absent. > So yeah, with the o

Re: [9fans] plan 9 on an IBM eserver 325

2008-04-29 Thread Mathieu Lonjaret
pc=0x3 On Tue, Apr 29, 2008 at 2:16 PM, erik quanstrom <[EMAIL PROTECTED]> wrote: > > Heh, you got me there. It's just that I was too lazy to rewrite all the > > stuff by hand. I only compared what was on the screen to that previous > > message and when I saw the value were the same I pasted aga

Re: [9fans] LSI Logic 53C1030 SCSI

2008-04-29 Thread dave . l
Bet they weren't spinning all that time. Interestingly, no matter what the manufacturers claim, the small amount of real-world research I have seen, as well as my own experience, still says "5 years" for disk drives. Also, as you say, the same timescales render them obsolete in terms of storage

[9fans] upas/ned question

2008-04-29 Thread erik quanstrom
in nedmail.c:/^folder, there is an attempt to use /mail/box/$user/f to store files saved with the f cmd, though this isn't documented in the man page. is this an something ancient and long-forgotten? where does this come from? - erik