Re: perceived strangeness with getopt(1,3)

2002-09-25 Thread M. Warner Losh
In message: <009b01c26500$3f7e91a0$[EMAIL PROTECTED]> "Matthew Emmerton" <[EMAIL PROTECTED]> writes: : gabby# getopt k:s: -k -s : -k -s -- : gabby# : : Wha? Neither of these options specified arguments! I guess you could : consider that -k's argument was '-s', but I was pretty sure

Re: The poor man's cryptfs

2002-09-25 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Daniel O'Connor" writes: >On Thu, 2002-09-26 at 14:18, Poul-Henning Kamp wrote: >> >Have you seen ports/security/vncrypt? >> >> Or src/sys/geom/geom_aes ? > >Whoo :) > >> I have what I hope is industry-strenght encryption in my development >> tree with only a few

Re: The poor man's cryptfs

2002-09-25 Thread Daniel O'Connor
On Thu, 2002-09-26 at 14:18, Poul-Henning Kamp wrote: > >Have you seen ports/security/vncrypt? > > Or src/sys/geom/geom_aes ? Whoo :) > I have what I hope is industry-strenght encryption in my development > tree with only a few more issues to straigten out before it hits -current. MFC? 8-) So

Re: The poor man's cryptfs

2002-09-25 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Daniel O'Connor" writes: >On Thu, 2002-09-26 at 08:52, James Gritton wrote: >> After playing with a few encrypted filesystems, and giving up on them (after >> a kernel crash or two), I went looking for something else to encrypt. The >> logical choice is the devic

Re: Slow I/O responsiveness with UDMA133

2002-09-25 Thread Mike Silbersack
On Wed, 25 Sep 2002, Sean Farley wrote: > With write cache enabled it does perform better, but I would like the > new computer to at least equal the old system without it enabled. With all due respect, whether that's a reality isn't your choice, it's the drive's choice. :) Does the drive suppo

Re: The poor man's cryptfs

2002-09-25 Thread James Gritton
"Daniel O'Connor" <[EMAIL PROTECTED]> writes: > Have you seen ports/security/vncrypt? Oops :-). I never was very good at looking to see what's out there. It looks good - it apparently supports different crypto algorithms and isn't broken WRT labels. Oh well, I can still call mine the poor

Slow I/O responsiveness with UDMA133

2002-09-25 Thread Sean Farley
I have a Soltek 75DRV5 (VIA 8233a) and a Maxtor 6L080L4. The problem I am having is with poor performance with ATA-133. My ATA-33 system beats it. After building a new system, I noticed that it was less responsive when it came to I/O concerning the hard drive. The standard XFree86 source extra

Re: perceived strangeness with getopt(1,3)

2002-09-25 Thread Dan Nelson
In the last episode (Sep 25), Matthew Emmerton said: > Maybe I'm missing something huge, but getopt(1,3) aren't working the > way I think they should. > > gabby# getopt k:s: -k -s > -k -s -- > gabby# > > Wha? Neither of these options specified arguments! I guess you > could consider that -k's

Re: The poor man's cryptfs

2002-09-25 Thread Daniel O'Connor
On Thu, 2002-09-26 at 08:52, James Gritton wrote: > After playing with a few encrypted filesystems, and giving up on them (after > a kernel crash or two), I went looking for something else to encrypt. The > logical choice is the device. Have you seen ports/security/vncrypt? I use ports/security

Re: Spark 5.

2002-09-25 Thread Mark Valentine
> From: [EMAIL PROTECTED] (Josef Karthauser) > Date: Thu 26 Sep, 2002 > Subject: Spark 5. > Do we run on Spark 5? Someone's selling one and a monitor for 300 UK > pounds. Is it worth getting hold of? Not for FreeBSD (sun4u only, I believe); SPARC 5 is sun4m (32-bit only). £300 is expensive -

perceived strangeness with getopt(1,3)

2002-09-25 Thread Matthew Emmerton
Maybe I'm missing something huge, but getopt(1,3) aren't working the way I think they should. I have a script that I want to take two options, both of which have required arguments. gabby# getopt k:s: -k getopt: option requires an argument -- k -- gabby# getopt k:s: -s getopt: option requires a

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Josef Karthauser
On Wed, Sep 25, 2002 at 11:29:12AM -0700, Julian Elischer wrote: > vmware used the blocking ("b" devices) interface to disks that do > blocking for you. > > Some well meaning but misguided individuals removed block devices > without providing an alernate way of doing this. It should be possible >

Re: Spark 5.

2002-09-25 Thread Brooks Davis
On Thu, Sep 26, 2002 at 12:09:47AM +0100, Josef Karthauser wrote: > Do we run on Spark 5? Someone's selling one and a monitor for 300 UK > pounds. Is it worth getting hold of? A Sparc 5 is a 32-bit machine (approximatly equivalent to a 90Mhz Pentium) so no. If you ment's an Ultra5, that's a PC

The poor man's cryptfs

2002-09-25 Thread James Gritton
After playing with a few encrypted filesystems, and giving up on them (after a kernel crash or two), I went looking for something else to encrypt. The logical choice is the device. Well, the virtual device. Like a cryptfs that's based on a loopback mount, I'm encrypting a virtual device based o

Spark 5.

2002-09-25 Thread Josef Karthauser
Do we run on Spark 5? Someone's selling one and a monitor for 300 UK pounds. Is it worth getting hold of? Joe -- "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein, 1921 msg37070/pgp

Re: kqueue

2002-09-25 Thread Michel Oosterhof
On Wed, Sep 25, 2002 at 10:35:06AM -0700, Terry Lambert wrote: > The obvious objection to such changes is that the internals > of the RPC library are sufficiently exposed that there is a > near-dependency on the use of select; if you look at the "rpc" > man page, for example, you will see, among

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Terry Lambert
Dan Nelson wrote: > > The NetWare undelete functionality, in particular, the ability to > > delete multiple files of the same name, required that globbing > > take place in the kernel, and that the "deleted" files be marked > > not only in the inode, but in the directory space as well. The > > ab

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
On Wed, Sep 25, 2002 at 11:29:12AM -0700, Julian Elischer wrote: > vmware used the blocking ("b" devices) interface to disks that do > blocking for you. > > Some well meaning but misguided individuals removed block devices > without providing an alernate way of doing this. It should be possible >

usb lexmark X73 problem

2002-09-25 Thread Mathew Kanner
Hello, I'm not sure which list to send this to. I'm having problems with USB and a POS lexmark x73, if I try to send it a job via unlpt0, it dies very quickly (ulpt0 offline in dmesg) and I have to powercycle the printer. However, if kldunload ulpt, and use ugenX.1, everything is

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Julian Elischer
vmware used the blocking ("b" devices) interface to disks that do blocking for you. Some well meaning but misguided individuals removed block devices without providing an alernate way of doing this. It should be possible to do the equivalent of a vn device that accepts misalligned accesses and re

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Dan Nelson
In the last episode (Sep 25), Terry Lambert said: > Dan Nelson wrote: > > You might be able to misuse the Whiteout file type in FFS to > > present a similar user interface. unlink(2) would rename the file > > to filename.timestamp and whiteoute it. ls -W, rm -W, and rm would > > list, salvage, a

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Tim Pozar
On Wed, Sep 25, 2002 at 07:52:17PM +0200, Mark Santcroos wrote: > [freebsd-emulation@ bcc'ed] > > On Wed, Sep 25, 2002 at 07:47:48PM +0200, Mark Santcroos wrote: > > A fact is that vmware did work up until a few months. I didn't do a binary > > search yet. That is last resort... > > Anyone runni

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
[freebsd-emulation@ bcc'ed] On Wed, Sep 25, 2002 at 07:47:48PM +0200, Mark Santcroos wrote: > A fact is that vmware did work up until a few months. I didn't do a binary > search yet. That is last resort... Anyone running a -current of several months old and using vmware2? If so, can you please k

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Mark Santcroos writes: >On Wed, Sep 25, 2002 at 07:41:44PM +0200, Poul-Henning Kamp wrote: >> >The fact that this did work, was it a bug or did this come out due to some >> >other change. The stacktrace from read(2) is below. >> >> This hasn't worked for a long tim

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
On Wed, Sep 25, 2002 at 07:41:44PM +0200, Poul-Henning Kamp wrote: > >The fact that this did work, was it a bug or did this come out due to some > >other change. The stacktrace from read(2) is below. > > This hasn't worked for a long time in -current. Long as in > 6 months? By looking at the co

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Mark Santcroos writes: >Vmware2 stopped running from both md and ad devices. Virtual disks still >work. It is caused by a read that is not on sector boundary. > >Should a program be able to read non-sector sized chunks from a raw disk >yes or no? What is the desire

Re: kqueue

2002-09-25 Thread Terry Lambert
Michel Oosterhof wrote: > I've got one more question, actually a fact that surprises me, it > seems that tail(1) is the only place in the base system that actually > uses kqueue. Is there a reason for this? I read in most places > kqueue() is more efficient, scalable, etc. I'm sure code like ftpd

vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
Vmware2 stopped running from both md and ad devices. Virtual disks still work. It is caused by a read that is not on sector boundary. Should a program be able to read non-sector sized chunks from a raw disk yes or no? What is the desired behaviour? The fact that this did work, was it a bug or d

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Nate Lawson
On Wed, 25 Sep 2002, Bruce M Simpson wrote: > On Tue, Sep 24, 2002 at 12:32:40PM -0700, Nate Lawson wrote: > > How about updating Alpine (alpine.cs.washington.edu) and fixing a lot of > > its lousy hacks (i.e. the sysinit stuff)? > > Nice idea, but a lot of people will/are use/using Bochs or VMwa

Re: kqueue

2002-09-25 Thread Nate Lawson
On Wed, 25 Sep 2002, Michel Oosterhof wrote: > Hello. > > Recently I started looking into kqueue(2), and to get to know the > interface better I attempted to turn usr.sbin/moused into a kqueue > program (replacing the main select() loop that reads the mouse > device). > > Now I thought I underst

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Terry Lambert
Dan Nelson wrote: > You don't need journaling for undelete capability. When you delete a > file on Netware, the file is simply marked "deleted" but the filename > stays in the directory, and duplicate deleted filenames are allowed. > When true free disk space gets low, deleted files are purged in

Re: Just a wild idea

2002-09-25 Thread Mikko Työläjärvi
On Tue, 24 Sep 2002, Paul Schenkeveld wrote: > Hi Thomas, > > On Tue, Sep 24, 2002 at 01:31:59AM +0200, tho wrote: > > hi Paul, > > > > have you considered using a "file descriptor passing" based technique > > (section 14.7 of Stevens' UNPv1) ? > > > > you may have a process with suser privs whic

Re: periodic(8)-produced diffs

2002-09-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-09-23 16:10:59 +0100: > On Mon, Sep 23, 2002 at 05:05:36PM +0200, Roman Neuhauser wrote: > [... re periodic diffs] > > And, what would the preferred interface be? Most of periodic.conf > > knobs are bools, but I'm not sure > > diff_{context,traditional,unified}_format="{

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Dan Nelson
In the last episode (Sep 25), Julian Stacey said: > > -a fs with journaling: some times ago, i would like to develop my > > own fs with journaling, but right now i could even drop the dream > > of my own fs and JUST port the xfs/jfs for FreeBSD.. > > Journaling would support user level "Undelete"

Problems with NATd performance...

2002-09-25 Thread Cody Swanson
Hello all, I just setup a 4.6.2 machine locally on my network at home to replace an aging Linux NAT box I had going. Clients behind the new box can only get 100k/sec downloads while clients behind the old Linux box (running ipchains) get 400k/sec+ downloads off the same cable modem. Locally on th

URGENT ASSISTANCE IS NEEDED

2002-09-25 Thread edward mulete
Good day, I am Edward Mulete JR. the son of Mr. STEVE MBEKI MULETE from Zimbabwe. I am sorry this mail will surprise you, though we do not know, my mother Mrs. Clara got your contact through the International Chamber of Commerce. Due to the current war against white farmers in Zimbabwe and

Re: kqueue

2002-09-25 Thread vijay singh
Hi, this is in no way related to the kqueue question asked below but to event notification mechanisms in general. I was wondering if there is some paper or design that talks about how such a facility could be provided in a Unix type kernel. Kqueue is fairly recent, and I dont know what its require

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Ronald G Minnich
On Wed, 25 Sep 2002, Bruce M Simpson wrote: > Anyone looked at OpenBIOS? The line has to be drawn somewhere... as regards > supporting multiple chipsets/CPUs. Personally I like the idea of being able > to do PXE-like booting on non-Intel platforms. sure, and it will probably run on top of linuxb

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Julian Stacey
> when the time to write my final thesis in my university arrived > i immediately thought to help in some way the FreeBSD group. Nice, Thanks ! > -a fs with journaling: some times ago, i would like to develop > my own fs with journaling, but right now i could even drop the > dream of my own fs

Re: mbuf chain

2002-09-25 Thread Giorgos Keramidas
On 2002-09-24 13:57, Prafulla Deuskar <[EMAIL PROTECTED]> wrote: > All, > > Is there a pre-set limit on maximum number of fragments in a > mbuf chain ? Not as a limit of the mbuf chain code, but as a limit of the IP packet input code. Look at the description of the ip_maxfragpackets sysctl value

Re: kqueue

2002-09-25 Thread David Malone
On Wed, Sep 25, 2002 at 10:12:53AM +0200, Michel Oosterhof wrote: > I've got one more question, actually a fact that surprises me, it > seems that tail(1) is the only place in the base system that actually > uses kqueue. It is also used in libc for the DNS resolver. > Is there a reason for this?

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Daniel O'Connor
On Wed, 2002-09-25 at 18:50, Bruce M Simpson wrote: > > Port the Linux Rockwell/Conexant winmodem support to freebsd? (Tons of > > laptops have this chipset). > > http://www.mbsi.ca/cnxtlindrv/ > > I had a brief look at this last month. I should warn you that the Linux > driver is simply a wra

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Bruce M Simpson
On Tue, Sep 24, 2002 at 12:32:40PM -0700, Nate Lawson wrote: > How about updating Alpine (alpine.cs.washington.edu) and fixing a lot of > its lousy hacks (i.e. the sysinit stuff)? Nice idea, but a lot of people will/are use/using Bochs or VMware for this. Mind you, the Alpine approach doesn't req

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Bruce M Simpson
On Tue, Sep 24, 2002 at 01:46:03PM -0600, Ronald G Minnich wrote: > or get freebsd loadable from linuxbios (http://www.linuxbios.org). We load > plan 9 and WinCE, so how much does freebsd need? Anyone looked at OpenBIOS? The line has to be drawn somewhere... as regards supporting multiple chipset

Re: 3.5GB memory limit?

2002-09-25 Thread Danny Braniss
> It's chipset, not CPU specific. Your question is like asking if, > because your Yugo (car) can't go faster than 100 KPH on one brand > of gasoline, if it's a gasoline problem. > I get the point, though the example of the Yugo is missleading, some 'brands' tend to mix the gasoline, (diesel + k

kqueue

2002-09-25 Thread Michel Oosterhof
Hello. Recently I started looking into kqueue(2), and to get to know the interface better I attempted to turn usr.sbin/moused into a kqueue program (replacing the main select() loop that reads the mouse device). Now I thought I understood the interface, I requested a kqueue, but as soon as I ad