How many files can I put in one diretory?

2000-06-22 Thread Nicole Harrington.


 Hello
 I have a user who needs to store a large amount of small html files. Like
around 2 million...

 Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that can
be handled per directory?


  Thanks!!

   Nicole



 
 [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
 [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
//  \\
---(((---(((-
 
 --  Powered by Coka-Cola and FreeBSD  --
-- Strong enough for a man - But made for a Woman --
--   OWNED?  MS: Who's Been In/Virused Your Computer Today? --

 ---
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Luigi Rizzo

 
  Hello
  I have a user who needs to store a large amount of small html files. Like
 around 2 million...

that sounds insane! Because a name is a name, why dont they call
those files xx/yy/zz/tt.html and the like, to get down to a more
reasonable # of files per directory.

Or use a single file and a cgi which extracts things from the right place.
In such a context, i assume that the best place to do the name lookup
is in the app, not in the kernel.

cheers
luigi

  Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that can
 be handled per directory?
 
 
   Thanks!!
 
Nicole
 
 
 
  
  [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
  [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
 //  \\
 ---(((---(((-
  
  --  Powered by Coka-Cola and FreeBSD  --
 -- Strong enough for a man - But made for a Woman --
 --   OWNED?  MS: Who's Been In/Virused Your Computer Today? --
 
  ---
  
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Kris Kirby

On Thu, 22 Jun 2000, Don Lewis wrote:
 other ways of quickly finding the desired directory entry.  Even so,
 you probably still would want to avoid doing an "ls" or an "echo *" ;-)

Heh. I once wrote a program that made 1K files until it ran out of disk
space. It took the 386DX-40 about two days to run out of inodes. The
purpose was to find some rather elusive IDE bad sectors. I soon tired of
such attempts, as I spent two days writing and another two rm'ing the
mess. newfs helped, but I had other bad sectors to deal with. I soon
removed that hard drive. I think I smashed somewhere. I was once given a
whole pile of 40 MB and 80 MB SCSI drives (3.5"). I broke a few but the
novelty wore off. It's tiring work destroying hard drives.

-
Kris Kirby, KE4AHR  | TGIFreeBSD... 'Nuff said.
[EMAIL PROTECTED]|
---
"Fate, it seems, is not without a sense of irony."



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Brian Somers

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.

It was phk (cc'd), and yes, it seems to have evaporated.

 Tony.
 -- 
 f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
 356 pungent unguent for stump-itch

-- 
Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
  http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Matt Loschert

On Thu, 22 Jun 2000, Tony Finch wrote:

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.
 
 Tony.
 -- 
 f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
 356 pungent unguent for stump-itch
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message


I think you are referring to the attached Perl script by Bill Fenner.

- Matt

--
Matt Loschert   [EMAIL PROTECTED]
Software Engineer   voice (703) 847-1381
ServInt Internet Services   fax   (703) 847-1383




#!/usr/bin/perl
#
# whereintheworld
# Parses "make world" output and summarize where it's been so far.
#
# Bill Fenner [EMAIL PROTECTED] 11 January 2000
#
# $Id: whereintheworld,v 1.2 2000/01/11 21:18:37 fenner Exp $
#
use strict;

my $lastarrow = undef;
my $inside = 0;
my @lines = ();
my $thresh = 5;
my $lastwasdash = 0;
my $file = $ARGV[0] || (-f "/usr/src/world.out" ? "/usr/src/world.out" : "-");
open(LOG, $file) || die "$file: $!\n";
while (LOG) {
if (/^/) {
$inside = !$inside;
print unless ($lastwasdash);
$lastwasdash = 1;
next;
}
if ($inside  /^/) {
print;
$lastwasdash = 0;
next;
}
push(@lines, $_);
if ($#lines  $thresh) {
my $line = shift(@lines);
$lastarrow = $line if ($line =~ /^===/);
}
}
exit if ($lastwasdash);
if ($lines[0] !~ /^===/  $lastarrow) {
print $lastarrow, "...\n";
}
print @lines;



Re: libnsl and libdl not found.

2000-06-22 Thread Andrew Kenneth Milton

+[ Bageshri Kundu ]-
| Hi,
| 
| I am porting some MPLS conformance tester code from Linux to Free BSD
| which needs libnsl  libdl to be linked in. When I do a make, I get the
| error saying that these 2 files are not found and nor do they seem to be
| present in the machine. Doesn't FreeBSD come with these libraries?
| Otherwise is there a way to get these from somewhere? How is dynamic
| linking done on Free BSD without libdl?

These are built into libc AFAIK. You can safely remove the -l for them.

| Also, I have another question about a specific socket option called
| "SO_BINDTODEVICE" which is supported on Linux but does not seem to be
| supported on Free BSD. Has anybody come across this problem?

Can't help you here.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Poul-Henning Kamp

In message [EMAIL PROTECTED], Ben Smithurs
t writes:

 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.
=20
 It was phk (cc'd), and yes, it seems to have evaporated.

Hmm, are you sure you're not thinking of 'whereintheworld' by
fenner, or isn't that what you were thinking of?  Take a look at
http://people.freebsd.org/~fenner/whereintheworld and see if it's what
you're after.

I also had a script, I'll try to see if I can find it again when I
have time.

--
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Brian Somers

 Brian Somers wrote:
 
  A few months ago someone posted a script that summarizes make
  buildworld as it progresses. I've searched the ports and the mailing
  lists but I can't find it any more :-( so I'd be grateful if someone
  would tell me. Thanks.
 =20
  It was phk (cc'd), and yes, it seems to have evaporated.
 
 Hmm, are you sure you're not thinking of 'whereintheworld' by
 fenner, or isn't that what you were thinking of?  Take a look at
 http://people.freebsd.org/~fenner/whereintheworld and see if it's what
 you're after.
 
 And Brian, are you sure you're not mixing it up with phk's proposals to
 post a list of world breakage to -current or something?  Or am I just
 getting terribly confused?  (I'll shut up now.)

I'm fairly sure phk posted about 3 of these reports.  I whinged about 
the first one because it mentioned that something didn't build and 
then went on to report 0 errors...

 --=20
 Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Arun Sharma

On Wed, 21 Jun 2000 23:42:37 -0700 (PDT), Nicole Harrington. [EMAIL PROTECTED] 
wrote:
 
  Hello
  I have a user who needs to store a large amount of small html files. Like
 around 2 million...
 
  Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that can
 be handled per directory?

I investigated this for about 25k files and it seemed to be fine. Note that 
if you keep the in memory directory cache (which is hashed) large enough,
you might be able to get away with a one time linear search cost in the
directory. So your worst case is scanning two million filenames in a directory.
The average case can be made O(1)

Also, picking names intelligently is also a good idea -

fbar123456789

is a bad idea, because the string comparision routine has to skip over
the first 50 character, before it finds a mismatch. I think netscape 
commits this sin.

-Arun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Robert Watson

On Thu, 22 Jun 2000, Daniel O'Connor wrote:

 On 22-Jun-00 Luigi Rizzo wrote:
   that sounds insane! Because a name is a name, why dont they call
   those files xx/yy/zz/tt.html and the like, to get down to a more
   reasonable # of files per directory.
   
   Or use a single file and a cgi which extracts things from the right place.
   In such a context, i assume that the best place to do the name lookup
   is in the app, not in the kernel.
 
 Yeah.. This is why databases where invented :)
 
 FYI 4 in a directory really makes directory listings slow.. 2 million would
 suck :)

Actually, I'd choose a higher starting suck number -- if you're thinking
of ls, remember that ls attempts to read all of the entries into memory
and sort them.  The directory listing becomes much faster if you use
``-f'', which prevents sorting of output.  I have a cyrus server with
easily 50,000 entries in many directories and that has not been a serious
impediment to correct functioning, although no doubt there is a high
performance impact.

One possibility here, if the names of the files don't matter, is to make
use of Adrian Chadd's IFS, which avoids the issue by providing direct
inode # access to an FFS disk layout.  When opening a file, the inode
number is returned so that you can handle meta-data in your own database
(possibly on the same drive), which permits custom name mechanisms
optimized for seeks, etc.  This would be great, for example, for AFS and
Coda client caches and server storage, where the distributed file systems
provide their own stoarge for meta-data in internal databases (and in the
case of Coda, in a transactional database).  Name lookup against the IFS
space is O(1).

This code is not yet committed, but is definitely of interest.

  Robert N M Watson 

[EMAIL PROTECTED]  http://www.watson.org/~robert/
PGP key fingerprint: AF B5 5F FF A6 4A 79 37  ED 5F 55 E9 58 04 6A B1
TIS Labs at Network Associates, Safeport Network Services



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Problem with Adaptec scsi card

2000-06-22 Thread Juan Lorenzana

Team,

I have an urgent problem. We have built a telephony product that uses a RAID. We
are running a Pentium II 450 Mhz machine running FreeBSD 2.2.8.  We purchased a
middleware from a Swedish company and they only support 2.2.8.  Their roadmap
includes a port to Solaris and the 3.0 branch of FreeBSD but is not available at
this time.

We have an onboard SCSI controller which we use to talk to the local disk.  We
have installed two Adaptec 2940U2W as well.  One that talks directly to the RAID
and another that talks to a tape device.  When we run in this configuration, we
get the following error:

/kernel: (sa1:ahc1:0:3:0):scb 0x2F timed out in dataout phase, scsisigi == 0x4

This only happens during high traffic situation, like when we do our daily
backups.  I have searched the newsgroups and have not found any insight as to
what might be the problem and it's resolution.  We had to install the CAM
drivers in order to support the Adaptec 2940U2W card.  I only found one other
instance of this problem, but no one had responded.

Anyway, I am in a cruch because our System Test department never tested the
hardware configuration, just the software.  We just sold the product and they
found the problem during manufucturing and testing before shipping to the
customer.  Any help anyone can provide is appreciated.

If anyone can consult on this issue, please let me know.

Regards,

Juan Lorenzana
AG Communication Systems
Product Manager
ClientCare DE
[EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: buildworld summary

2000-06-22 Thread Tony Finch


 A few months ago someone posted a script that summarizes make
 buildworld as it progresses. I've searched the ports and the mailing
 lists but I can't find it any more :-( so I'd be grateful if someone
 would tell me. Thanks.

 It was phk (cc'd), and yes, it seems to have evaporated.

 Hmm, are you sure you're not thinking of 'whereintheworld' by
 fenner, or isn't that what you were thinking of?  Take a look at
 http://people.freebsd.org/~fenner/whereintheworld and see if
 it's what you're after.

Ah, that's the one! Thanks, and thanks to the others who mailed me off
the list.

Tony.
-- 
f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
292 hatchet-job afterglow


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Problem with Adaptec scsi card

2000-06-22 Thread Doug White

On Thu, 22 Jun 2000, Juan Lorenzana wrote:

 We have an onboard SCSI controller which we use to talk to the local disk.  We
 have installed two Adaptec 2940U2W as well.  One that talks directly to the RAID
 and another that talks to a tape device.  When we run in this configuration, we
 get the following error:
 
 /kernel: (sa1:ahc1:0:3:0):scb 0x2F timed out in dataout phase, scsisigi == 0x4
 
 This only happens during high traffic situation, like when we do our daily
 backups.  I have searched the newsgroups and have not found any insight as to
 what might be the problem and it's resolution.  We had to install the CAM
 drivers in order to support the Adaptec 2940U2W card.  I only found one other
 instance of this problem, but no one had responded.

Double-check your termination and cabling.  Trouble during high activity
is probably some sort of interference.  It also could be a device that
just can't take the heat.

Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED] |  www.FreeBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



.core file reporting in daily report

2000-06-22 Thread James Howard

I was trying to figureout how the periodic scripts were run when I
noticed that cron had coredumped back in October and left a core file in
/var/run/cron.  I got to thinking, it would be nice if the daily scripts
would report when core files are found so they can be cleaned up.

Jamie


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: .core file reporting in daily report

2000-06-22 Thread Brian Somers

 I was trying to figureout how the periodic scripts were run when I
 noticed that cron had coredumped back in October and left a core file in
 /var/run/cron.  I got to thinking, it would be nice if the daily scripts
 would report when core files are found so they can be cleaned up.

I'm about to commit a change to the way the periodic scripts are run. 
You'll be able to tune this in /etc/periodic.conf shortly.

 Jamie

-- 
Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
  http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: .core file reporting in daily report

2000-06-22 Thread James Howard

In message [EMAIL PROTECTED], Brian Somers writes:
  I was trying to figureout how the periodic scripts were run when I
  noticed that cron had coredumped back in October and left a core file in
  /var/run/cron.  I got to thinking, it would be nice if the daily scripts
  would report when core files are found so they can be cleaned up.
 
 I'm about to commit a change to the way the periodic scripts are run. 
 You'll be able to tune this in /etc/periodic.conf shortly.

Wonderful.  I am about to steal the scripts to install on a bunch of Red
Hat systems.  Why is it when FreeBSD has something really nice like this
to make the sysadmin's life easier, Linux ignores it?

Jamie


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: .core file reporting in daily report

2000-06-22 Thread Michael Lucas

 
 Wonderful.  I am about to steal the scripts to install on a bunch of Red
 Hat systems.  Why is it when FreeBSD has something really nice like this
 to make the sysadmin's life easier, Linux ignores it?
 

It's called "Not Invented Here", and at times we're just as guilty as
anyone.

Of course, we're also more concerned with doing things correctly than
with just getting code out there.

==ml


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Passing values between shell-variables

2000-06-22 Thread Dan Nelson

In the last episode (Jun 22), gerald stoller said:
  I want to take an integer value from one shell-variable and pass
 a modified value to another shell-variable.  First I tried setint_v
 (after using local to get tbl structures for the two shell-variables)
 and second I tried various forms of the var.c functions intval 
 setint .  To see if things worked, I print the shell-variable (to
 which I assigned a value) afterwards, but neither path seems to have
 succeeded.  I may try getint next, and also make my tests more basic,
 but if anyone could give me a good hint, I'd appreciate it.
 One thing that puzzles me is can be illustrated by the following code:
   struct  tbl  *var1 ;
   int   val1  ;
 
   var1 = local( "LINENO" , FALSE )  ;
   getint( var1 , val1 )  ;
   printf( "%d  %d\n"  ,  var1-val.i  ,  val1  )  ;
 which gives differing values in the two fields (the  val1  value appears to 
 be correct).  Isn't  val.i  (from struct  tbl ) where the integer (or is it 
 floating point?, but it is declared  long ) is stored?
  Please send a response directly to me, my bulk-mail folder is 
 over-stuffed.

I'm not sure what local() and getint() are, since you didn't include
the source to them, but you should probably be using the getenv() and
putenv() functions to read environment variables.

-- 
Dan Nelson
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



ssh2 daemon is ignoring ignorenologin

2000-06-22 Thread James Halstead

I have a system whih a user that is in a login class with the ignorenologin
setting on. when I have /var/run/nologin created, the sshd refuses this user
everytime, telnet works fine. I just wondered why this is. It is just kind
of an annoyance for me but I almost locked myself out from a system I admin
that is too far away to visit.

James ;)

---
ICQ #19675056
Public key available at:
http://www.dreamscape.com/halstead/jh.asc
---



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Nicole Harrington.


On 22-Jun-00 Luigi Rizzo wrote:
 
  Hello
  I have a user who needs to store a large amount of small html files. Like
 around 2 million...
 
 that sounds insane! Because a name is a name, why dont they call
 those files xx/yy/zz/tt.html and the like, to get down to a more
 reasonable # of files per directory.
 

 Well.. Yea that's the idea.. But what is a reasonable number? 10K 100K etc.

   Nicole


 Or use a single file and a cgi which extracts things from the right place.
 In such a context, i assume that the best place to do the name lookup
 is in the app, not in the kernel.
 
   cheers
   luigi
 
  Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that
  can
 be handled per directory?
 
 
   Thanks!!
 
Nicole
 
 
 
  
  [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
  [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
 //  \\
 ---(((---(((-
  
  --  Powered by Coka-Cola and FreeBSD  --
 -- Strong enough for a man - But made for a Woman --
 --   OWNED?  MS: Who's Been In/Virused Your Computer Today? --
 
  
  ---
  
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 

 
 [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
 [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
//  \\
---(((---(((-
 
 --  Powered by Coka-Cola and FreeBSD  --
-- Strong enough for a man - But made for a Woman --
--   OWNED?  MS: Who's Been In/Virused Your Computer Today? --

 ---
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Nicole Harrington.


On 22-Jun-00 Daniel O'Connor wrote:
 
 On 22-Jun-00 Luigi Rizzo wrote:
  that sounds insane! Because a name is a name, why dont they call
  those files xx/yy/zz/tt.html and the like, to get down to a more
  reasonable # of files per directory.
  
  Or use a single file and a cgi which extracts things from the right place.
  In such a context, i assume that the best place to do the name lookup
  is in the app, not in the kernel.
 
 Yeah.. This is why databases where invented :)
 
 Hey I agree... However even if the html was databased.. (working on that now)
the custom graphics cannot be. (yet)


 FYI 4 in a directory really makes directory listings slow.. 2 million
 would suck :)
 

 Well.. Yea. But assuming you are using Apache and requesting the page and
graphics via a fully formed URL it should be pretty high.. I would assume.


   Nicole


 ---
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 "The nice thing about standards is that there
 are so many of them to choose from."
   -- Andrew Tanenbaum
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message

 
 [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
 [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
//  \\
---(((---(((-
 
 --  Powered by Coka-Cola and FreeBSD  --
-- Strong enough for a man - But made for a Woman --
--   OWNED?  MS: Who's Been In/Virused Your Computer Today? --

 ---
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Daniel O'Connor


On 23-Jun-00 Nicole Harrington. wrote:
  Yeah.. This is why databases where invented :)
   Hey I agree... However even if the html was databased.. (working on that
  now)
  the custom graphics cannot be. (yet)

Hmm.. can't you do binary blobs in a DB and change the image URL's to be cgi
requests?

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Nicole Harrington.


On 23-Jun-00 Daniel O'Connor wrote:
 
 On 23-Jun-00 Nicole Harrington. wrote:
  Yeah.. This is why databases where invented :)
   Hey I agree... However even if the html was databased.. (working on that
  now)
  the custom graphics cannot be. (yet)
 
 Hmm.. can't you do binary blobs in a DB and change the image URL's to be cgi
 requests?
 

 I dunno.. whats a "binary Blob"?

 Also would'nt this make the DB HUGE

   Nicole



 ---
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 "The nice thing about standards is that there
 are so many of them to choose from."
   -- Andrew Tanenbaum
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message

 
 [EMAIL PROTECTED] |\ __ /|   (`\   http://www.unixgirl.com/
 [EMAIL PROTECTED] | o_o  |__  ) )  http://www.dangermouse.org/
//  \\
---(((---(((-
 
 --  Powered by Coka-Cola and FreeBSD  --
-- Strong enough for a man - But made for a Woman --
--   OWNED?  MS: Who's Been In/Virused Your Computer Today? --

 ---
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How many files can I put in one diretory?

2000-06-22 Thread Daniel O'Connor


On 23-Jun-00 Nicole Harrington. wrote:
   I dunno.. whats a "binary Blob"?

I chunk of binary data you can put in a DB.

Like an image, or an mpeg, or a sound file..

AFAIK postgres supports BLOBS.

   Also would'nt this make the DB HUGE

Yep :)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



libnsl and libdl not found.

2000-06-22 Thread Bageshri Kundu

Hi,

I am porting some MPLS conformance tester code from Linux to Free BSD
which needs libnsl  libdl to be linked in. When I do a make, I get the
error saying that these 2 files are not found and nor do they seem to be
present in the machine. Doesn't FreeBSD come with these libraries?
Otherwise is there a way to get these from somewhere? How is dynamic
linking done on Free BSD without libdl?

Also, I have another question about a specific socket option called
"SO_BINDTODEVICE" which is supported on Linux but does not seem to be
supported on Free BSD. Has anybody come across this problem?

Thanks
Bageshri


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: libnsl and libdl not found.

2000-06-22 Thread Chris D. Faulhaber

On Thu, 22 Jun 2000, Bageshri Kundu wrote:

 Hi,
 
 I am porting some MPLS conformance tester code from Linux to Free BSD
 which needs libnsl  libdl to be linked in. When I do a make, I get the
 error saying that these 2 files are not found and nor do they seem to be
 present in the machine. Doesn't FreeBSD come with these libraries?
 Otherwise is there a way to get these from somewhere? How is dynamic
 linking done on Free BSD without libdl?
 

Built into libc...just remove the -lxxx


-
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: CVSUP and hardware problem

2000-06-22 Thread FENIX


I'm glad to hear that i'm not the only one with this problem, but
unfortunatley i don't have any more PCI cards, and i need to have the second
subnet up by the end of this week. Is it possoble that there is some kind of
bug in the new source ? i will run cvsup again today (it takes me about 10
hours to download and compile the source :(  I hope it will work again.
If there is anyone who knows more about this please let me know. Thanks
Fenix.

+;-Original Message-
+;From: Karel J. Bosschaart [mailto:[EMAIL PROTECTED]]
+;Sent: Thursday, June 22, 2000 3:59 PM
+;To: FENIX
+;Cc: FreeBSD Questions
+;Subject: Re: CVSUP and hardware problem
+;
+;
+;On Thu, Jun 22, 2000 at 03:40:58PM +0200, FENIX wrote:
+; I have recently cvsup'ed my 4.0-INSTALL to 4.0-STABLE , after
+;all was done i
+; made a new kernel and , now  it hangs on the boot , i got 2
+;NE2000 adapters
+; (ed0 ed1) and one 3com (xl) it all worked fine before the
+;cvsup, but now it
+; hangs on ed1 while booting, i haven't changed anything in the
+;kernel config
+; file i just made a new kernel with new sources (i also deed
+;make clean for
+; the kernel), when i boot -c and disable ed1 it works fine . Does someone
+; know why it's happening ?
+;
+;Unfortunately I don't know what's happening, but yesterday I had the same
+;problem as you: An NE2000 (ISA, non-PnP) caused 4.0-Stable to hang during
+;boot unless ed0 is disabled, while 4.0-Release booted without
+;problems (and
+;the 4.0-Release floppies still boot and detect the ed0 properly).
+;I replaced
+;the ISA card with a PCI card and it works again in 4.0-Stable,
+;also using ed0.
+;
+;Karel.
+;



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message