I will be in Japan from May 31st - June 3rd

1999-05-28 Thread Jordan K. Hubbard
... for a quick promo tour and would be more than happy to meet people while I'm there. So far, I have the evening of 5/31 free for whatever (group dinner?) and I'll be speaking at the Japan Unix Society meeting on 6/1 from 18:30 - 20:30, after which we'll be having a small dinner party until arou

Help: mount disk.img as file system?

1999-05-28 Thread Xun Wilson Huang
Hi, Suppose I have a disk image of some sort ( floppy or I do a "dd /dev/hda1 > disk.img" ), How can I mount it as part of my file system? I would like to do something like mount -t diskimage disk.img /mnt and then being able to play with files under /mnt? This would be a nice thing to hav

RE: Help: mount disk.img as file system?

1999-05-28 Thread Daniel O'Connor
On 28-May-99 Xun Wilson Huang wrote: > Suppose I have a disk image of some sort ( floppy or I do a "dd > /dev/hda1 > disk.img" ), How can I mount it as part of my file system? I > would like to do something like > > mount -t diskimage disk.img /mnt > > and then being able to play with

Re: A bug in namei cache? (stale entries)

1999-05-28 Thread Ville-Pertti Keinonen
> Suppose, you have a directory hierarchy a -> b -> c. In each of a, b, and > c, we have the following files: > > a: ., .., a1, a2, a3, b (a1, a2, a3 are not directory files) > b: ., .., b1, b2, b3, c (b1, b2, b3 are not directory files) > > If I do a "mv a a_new", then cache entrie

FreeBSD 3.2 - new ifnet structure

1999-05-28 Thread Emmanuel Duros
The last FreeBSD release provides a new ifnet structure different from the one in 2.x-R. In 2.x-R we can have this code: { struct ifnet *ifp = ifnet; /* go through the ifnet list */ for ( ifp = ifnet; ifp; ifp = ifp->if_next) ... } What is it in 3.x-R assuming that the global variable ifnet is

fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Dag-Erling Smorgrav
Hey guys, I brushed the dust off a bunch of patches I had for libfetch and the fetch(1) command and made a patchkit of them (in the great tradition pioneered by messrs. Schmidt, Dillon and Yokota). Some of it is five month old patches I never got around to comitting, some of it is new code, and so

RE: FreeBSD 3.2 - new ifnet structure

1999-05-28 Thread Ladavac Marino
> -Original Message- > From: Emmanuel Duros [SMTP:emmanuel.du...@sophia.inria.fr] > Sent: Friday, May 28, 1999 10:19 AM > To: freebsd-hackers@freebsd.org > Subject: FreeBSD 3.2 - new ifnet structure > > > The last FreeBSD release provides a new ifnet structure different from > the

ipfw/natd limitation: controlling access of an unregistered net to the internet

1999-05-28 Thread Konstantinos . DRYLLERAKIS
Dear all, I believe the problem that I am facing is common enough, but I have failed to find any extra information except some old postings describing possible changes to natd/ipfw behaviour in the future which do not seem to have taken place. The problem is that of connecting _and_ controlling

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Dag-Erling Smorgrav
Sheldon Hearn writes: > On 28 May 1999 10:29:44 +0200, Dag-Erling Smorgrav wrote: > > I brushed the dust off a bunch of patches I had for libfetch and the > > fetch(1) command and made a patchkit of them [...] > Your mail has brought to mind a question I've never managed to sort out > in my head a

RE: ipfw/natd limitation: controlling access of an unregistered n et to the internet

1999-05-28 Thread Ladavac Marino
> -Original Message- > From: konstantinos.dryllera...@dg21.cec.be > [SMTP:konstantinos.dryllera...@dg21.cec.be] > Sent: Friday, May 28, 1999 11:15 AM > To: freebsd-hackers@freebsd.org; freebsd-quest...@freebsd.org > Subject: ipfw/natd limitation: controlling access of an > unregister

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Brian Somers
[.] > We need generic FTP and HTTP functionality for a variety of > applications (first and foremost, sysinstall and pkg_add(1)), and we > need a command-line interface to the FTP and HTTP protocols > (fetch(1)). We also need an interactive interface to the FTP protocol > (for doing stuff like

EXPORTMFS and net install security

1999-05-28 Thread Sebastien Maraux
has someone ever tried to use EXPORTMFS ? I plan to use this to export MFS space via NFS. I would like to use it to export the files that are needed to be exported in R/W mode, such as /dev and /var, for my network installation The server would have a huge swap space, like 2x its RAM add to 20M pe

[Fwd: ipfw/natd limitation: controlling access of an unregistered net tothe internet]

1999-05-28 Thread James E. Housley
-- James E. HousleyPGP: 1024/03983B4D System Supply, Inc. 2C 3F 3A 0D A8 D8 C3 13 Pager: page...@notepage.com 7C F0 B5 BF 27 8B 92 FE "The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD"--- Begin Mes

Re: ipfw/natd limitation: controlling access of an unregistered net to

1999-05-28 Thread Luigi Rizzo
Hi, configuring nat is a bit tricky, even more so if your machine is configured to do routing, but it is doable. In particular, you surely can filter packets before natd'ing them, using sequences like deny ip from unprivileged_ip to outside_ip deny tcp from privileged_ip to outsi

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Dag-Erling Smorgrav
Brian Somers writes: > What about a non-interactive command for pushing stuff via ftp/http ? > This has always been lacking IMHO (``ftp -n < gotchas). > > I haven't actually looked at libfetch, but I would think that the > functionality should be there. Libfetch supports FTP uploads (no HTTP u

Re: Help: mount disk.img as file system?

1999-05-28 Thread Wilko Bulte
As Xun Wilson Huang wrote ... > Hi, > > Suppose I have a disk image of some sort ( floppy or I do a "dd > /dev/hda1 > disk.img" ), How can I mount it as part of my file system? I > would like to do something like > > mount -t diskimage disk.img /mnt > > and then being able to play with files

Re: Serial ports programming

1999-05-28 Thread Max Gotlib
On Thu, 27 May 1999, Louis A. Mamakos wrote: > > > Hi! > > > > > > Some days ago I've faced with the following problem: > > > I need some kind of action (while coding user space > > > program actively handling the serial port) to get > > > sure all the bytes I've wrote to it are _transmitted_. >

Re: Serial ports programming

1999-05-28 Thread Max Gotlib
On Thu, 27 May 1999, Chuck Robey wrote: > On Thu, 27 May 1999, Max Gotlib wrote: > > > Hi! > > > > Some days ago I've faced with the following problem: > > I need some kind of action (while coding user space > > program actively handling the serial port) to get > > sure all the bytes I've wrote

xl driver for 3Com

1999-05-28 Thread Johan Kruger
Hi there hackers. I need to hack the driver file if_xl.c to do the following : -> Detect the first 3Com card normally. -> All cards hereafter must only be able to receive packets, not transmit them. Does anybody know how i can achieve this by changes in the file if_xl.c Even if you could point me

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Brian Somers
> Brian Somers writes: > > What about a non-interactive command for pushing stuff via ftp/http ? > > This has always been lacking IMHO (``ftp -n < > gotchas). > > > > I haven't actually looked at libfetch, but I would think that the > > functionality should be there. > > Libfetch supports FTP

Re: xl driver for 3Com

1999-05-28 Thread Dennis
At 02:58 PM 5/28/99 +0200, you wrote: >Hi there hackers. >I need to hack the driver file if_xl.c to do the following : >-> Detect the first 3Com card normally. >-> All cards hereafter must only be able to receive packets, not >transmit them. >Does anybody know how i can achieve this by changes in t

Re: mbuf stuff

1999-05-28 Thread Dennis
> >#10 0xf01cbe1a in l2_int () > >#11 0xf01dd8cd in ethintr_pci () > >#12 0xf01388f6 in rtalloc1 (dst=0xf01e8f18, report=1, ignflags=65536) > > at ../../net/route.c:132 > >#13 0xf01388ac in rtalloc_ign (ro=0xf01e8f14, ignore=65536) > > at ../../net/route.c:108 Am I wrong in assuming that this

Re: xl driver for 3Com

1999-05-28 Thread Luigi Rizzo
> At 02:58 PM 5/28/99 +0200, you wrote: > >Hi there hackers. > >I need to hack the driver file if_xl.c to do the following : > >-> Detect the first 3Com card normally. > >-> All cards hereafter must only be able to receive packets, not > >transmit them. looks like the typical ipfw thing, rather th

Re: Multiproc kernel 3.1-Release & Cyclades Cyclom 8Yep PCI

1999-05-28 Thread Michael Scott Boers
>Try deleting the code in the SMP ifdefs in cy.c, and don't use fast >interrupts with SMP: >(a) for the pci version, don't use option CY_PCI_FASTINTR. >(b) for the isa version, delete the line with RI_FAST in it in cy.c. >See hints in my previous mail. The main problem is that disable_intr() >isn

PCMCIA "sio" problem with current

1999-05-28 Thread Doug Ambrisko
I wondering if I'm missing something here. I had PCMCIA stuff working for a NE2000 ethernet card but not for serial ports. Does anyone have serial ports working (ie. modems or serial cards)? I had this laptop working with 3.1 and just upgraded it to current and the serial port stopped working.

Re: xl driver for 3Com

1999-05-28 Thread Mike Smith
> At 02:58 PM 5/28/99 +0200, you wrote: > >Hi there hackers. > >I need to hack the driver file if_xl.c to do the following : > >-> Detect the first 3Com card normally. > >-> All cards hereafter must only be able to receive packets, not > >transmit them. > >Does anybody know how i can achieve this b

RE: FreeBSD 3.2 - new ifnet structure

1999-05-28 Thread Emmanuel Duros
> [ML] I don't have the source in front of me, but I think it >uses queue.h macros now so that the definition probably looks like > typedef LIST_HEAD( something, ifnet ) ifnethead; > > where LIST could also be TAILQ, CIRCQ, or something else (the >AIX version of sys/queue

Re: mbuf stuff

1999-05-28 Thread Julian Elischer
network devices need splimp() to block them the mbuf calls are splimp() protected. julian On Fri, 28 May 1999, Dennis wrote: > > >#10 0xf01cbe1a in l2_int () > > >#11 0xf01dd8cd in ethintr_pci () > > >#12 0xf01388f6 in rtalloc1 (dst=0xf01e8f18, report=1, ignflags=65536) > > > at ../../net/r

Re: mbuf stuff

1999-05-28 Thread Dennis
At 10:40 AM 5/28/99 -0700, you wrote: >network devices need splimp() to block them > >the mbuf calls are splimp() protected. K, so that goes back to my original questionshouldnt the routines that would cause drivers to allocate mbufs to fail call splimp instead of splnet()? Dennis > >juli

Re: xl driver for 3Com

1999-05-28 Thread Dennis
At 09:29 AM 5/28/99 -0700, you wrote: >> At 02:58 PM 5/28/99 +0200, you wrote: >> >Hi there hackers. >> >I need to hack the driver file if_xl.c to do the following : >> >-> Detect the first 3Com card normally. >> >-> All cards hereafter must only be able to receive packets, not >> >transmit them. >

Re: File system gets too fragmented ???

1999-05-28 Thread Wes Peters
Peter Jeremy wrote: > > "Michael R. Wayne" wrote: > >Long ago, back when disks were small, slow and expensive, someone > >wrote a program that properly defragged a Unix filesystem. > > If it was that long ago, chances are it is pre-FFS - the System 5 > File System and its predecessors. I rememb

Algorithm used to delete part of a file

1999-05-28 Thread Zhihui Zhang
I am wondering what will happen to the underlying data blocks and indirect blocks of a file if I delete a part of the file - how these blocks are re-organized. I have no idea which source code should I look into to understand this. Maybe I should read the source code for vi or another editor. I

symorder for FreeBSD-3.x

1999-05-28 Thread Mohit Aron
Hi, its seems that the program symorder only works on coff format object files. Is there an equivalent program in FreeBSD-3.x that works on elf object files ? - Mohit To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

linked symbols using kldload

1999-05-28 Thread Mohit Aron
Hi, I'm using FreeBSD-3.2 and am trying to upgrade to the kld interface from the old lkm interface for loadable kernel modules. kldload doesn't seem to produce a linker output file upon loading a module - modload used to do this on the other hand. I've found this output file extremely valua

Re: Algorithm used to delete part of a file

1999-05-28 Thread Christopher R. Bowman
At 04:03 PM 5/28/99 -0400, Zhihui Zhang wrote: > >I am wondering what will happen to the underlying data blocks and indirect >blocks of a file if I delete a part of the file - how these blocks are >re-organized. I have no idea which source code should I look into to >understand this. Maybe I shoul

RE: CVSup problem

1999-05-28 Thread Jeff Lush
Hello again! This command worked after I installed the ports-collection from sysinstall (although I probably could have grabbed the ports initially from this command) and grabbed the ports-supfile from an ftp mirror. >The best way to do this would actually be to execute the > following command

Re: Algorithm used to delete part of a file

1999-05-28 Thread Zhihui Zhang
On Fri, 28 May 1999, Christopher R. Bowman wrote: > It is difficult to understand if you are talking at the file system layer > (because you mention data and indirect blocks) or the application layer (you > mention looking at the vi code). At the file system layer you don't delete > blocks in th

Re: xl driver for 3Com

1999-05-28 Thread Dag-Erling Smorgrav
Dennis writes: > At 02:58 PM 5/28/99 +0200, you wrote: > > I need to hack the driver file if_xl.c to do the following : > Note that this card/driver seems to have serious problems under heavy load. > Just so you know. What FreeBSD version do you run? There were a few commits to the xl driver shor

Re: symorder for FreeBSD-3.x

1999-05-28 Thread Dag-Erling Smorgrav
Mohit Aron writes: > its seems that the program symorder only works on coff format object > files. Is there an equivalent program in FreeBSD-3.x that works on elf > object files ? COFF? FreeBSD never supported COFF, to the best of my knowledge. You might want to take a look at objcopy(1).

Re: ipfw/natd limitation: controlling access of an unregistered net to the internet

1999-05-28 Thread Dag-Erling Smorgrav
konstantinos.dryllera...@dg21.cec.be writes: > I believe the problem that I am facing is common enough, but I have failed to > find any extra information except some old postings describing possible > changes to natd/ipfw behaviour in the future which do not seem to have taken > place. Yes, the

Re: xl driver for 3Com

1999-05-28 Thread Dennis
At 03:12 AM 5/29/99 +0200, Dag-Erling Smorgrav wrote: >Dennis writes: >> At 02:58 PM 5/28/99 +0200, you wrote: >> > I need to hack the driver file if_xl.c to do the following : >> Note that this card/driver seems to have serious problems under heavy load. >> Just so you know. > >What FreeBSD versi

Re: Book stores [was: Re: serial ports]

1999-05-28 Thread Joel Ray Holveck
> two. And, for the odd title that is not available locally, > there is always amazon.com which works pretty well for me. I've generally had better pricing with Bookpool (http://www.bookpool.com/) myself. I'm in West Texas, and the technical selection of most bookstores here concentrate on MCSE

Re: xl driver for 3Com

1999-05-28 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Dennis had to walk into mine and say: > Note that this card/driver seems to have serious problems under heavy load. > Just so you know. This is statement is nothing more than baseless slander, just so *you* know. I really hate it when:

FS tuning (Was: File system gets too fragmented ???)

1999-05-28 Thread Joel Ray Holveck
> You might try unmounting the filesystem and doing > tunefs -o space /dev/rawdevice > (which can also be done at newfs time). You may find that the > performance, especially write performance, isn't too good. I've been looking over FS performance tuning, trying to get my compiles to go a b

proposed socket change (IPFW too? :)

1999-05-28 Thread Brian Feldman
I'd like to propose a change in struct socket, which should increase its functionality. It should first be noted that, along with my IPFW UID/GID code (which would be nice to have merged into HEAD too, and if I must, I'll clean up the ugly switch part), I included this change. Implementation time

Re: FS tuning (Was: File system gets too fragmented ???)

1999-05-28 Thread Brian Feldman
On 29 May 1999, Joel Ray Holveck wrote: > > You might try unmounting the filesystem and doing > > tunefs -o space /dev/rawdevice > > (which can also be done at newfs time). You may find that the > > performance, especially write performance, isn't too good. > > I've been looking over FS perf

Re: xl driver for 3Com

1999-05-28 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Dennis had to walk into mine and say: > I dunno what it is, but we've had customers experiencing packet loss at > high usage on 100Mb's nets...and the problem goes away when replacing them > with intels. I dont know the details. Then *FIN

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Joe Abley
On Fri, May 28, 1999 at 11:27:20AM +0100, Brian Somers wrote: > What about a non-interactive command for pushing stuff via ftp/http ? > This has always been lacking IMHO (``ftp -n < gotchas). > > I haven't actually looked at libfetch, but I would think that the > functionality should be there.

Re: xl driver for 3Com

1999-05-28 Thread Andrew Kenneth Milton
+[ Bill Paul ]- | | but I don't know the details." Yes! I like it! Instead of trying to help | people, I'll be maddeningly vague! I'll pretend to be helpful but stop | short of actually providing any useful information! Then everyone else Be carefu