Re: emulate an end-of-media

2008-02-25 Thread Peter Jeremy
On Mon, Feb 25, 2008 at 03:44:55PM -0500, Mike Meyer wrote: >On Mon, 25 Feb 2008 21:19:33 +0100 "Martin Laabs" <[EMAIL PROTECTED]> wrote: >> My solution can just close the pipe at the one "end" of the magic >> device which would be realy simple to implement in a script. > >While you're proposing a

Re: find -lname and -ilname implemented

2008-02-25 Thread Peter Jeremy
On Tue, Feb 26, 2008 at 07:27:30AM +0200, Jonathan McKeown wrote: >What I wasn't thrilled about, and hoped to trigger a discussion of, was the >apparent suggestion that FreeBSD must be Linux-compatible at all costs >because weight of numbers makes Linux and GNU a de-facto standard. Whilst I agre

Re: find -lname and -ilname implemented

2008-02-25 Thread Jonathan McKeown
On Tuesday 26 February 2008 01:06, Alex Zbyslaw wrote: > Giorgos Keramidas wrote: > >On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > >>This knee-jerk reaction against gnu find functionality baffles me. > >>The changes are trivial and make FreeBSD more compatible. It is such > >>

Re: emulate an end-of-media

2008-02-25 Thread Tim Kientzle
Why compress? It's ancient technology and will be vastly outperformed Yes, gzip or bzip2 compress better, but they also: * Are a lot slower. * Use a lot more data memory. * Require a lot more code. Also some nasty person has a software patent on compress... That was over 20 years ago; th

Re: Modular type GENERIC?

2008-02-25 Thread Adrian Chadd
On 26/02/2008, David O'Brien <[EMAIL PROTECTED]> wrote: > As you've shown the magic is in the loader.conf. I don't know a good way > to handle this other than attempt to load every module (like Microsoft NT > installer does) - and hope the probe of a driver that doesn't claim a > device doesn'

Re: emulate an end-of-media

2008-02-25 Thread Daniel O'Connor
On Tue, 26 Feb 2008, Alex Zbyslaw wrote: > Are there not (at least) two more alternatives? > > 1) Add gzip/zlib support to dump. That would seem easier than > new devices. Then -a would just work. > > 2) Instead of using cdrecord directly you have a wrapper which > "emulates" the dump -a

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-25 Thread Uwe Doering
Achim Patzner wrote: article below. does anyone know how this affects eli/geli? There's fairly little any disk crypto system can do to thoroughly defend against this. Hm. Strange. Serious hardware is very well suited to do that (usually by adding well defended crypto hardware). Keys don't hav

Re: find -lname and -ilname implemented

2008-02-25 Thread Alex Zbyslaw
Giorgos Keramidas wrote: On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: This knee-jerk reaction against gnu find functionality baffles me. The changes are trivial and make FreeBSD more compatible. It is such an obvious no-brainer that I frankly didn't expect anybody to bat

Re: emulate an end-of-media

2008-02-25 Thread Julian H. Stacey
> Why compress? It's ancient technology and will be vastly outperformed Also some nasty person has a software patent on compress (they filed the patent application, published the code & waited some years till lots got hooked, but they didnt patent decompress algorithm & everyone decompresseed &

Re: emulate an end-of-media

2008-02-25 Thread Alex Zbyslaw
Mike Meyer wrote: On Mon, 25 Feb 2008 21:19:33 +0100 "Martin Laabs" <[EMAIL PROTECTED]> wrote: Hi, On Mon, 25 Feb 2008 20:34:31 +0100, wrote: You might want to play with the -P option to dump. Your above could be written as: dump -aL0 -P 'compress -c' /MYFILESYSTEM | cdrecord dev=.

Re: sbc: isa plug-n-play

2008-02-25 Thread Andriy Gapon
on 22/02/2008 19:00 Torfinn Ingolfsen said the following: > On Fri, 22 Feb 2008 18:17:27 +0200 > Andriy Gapon <[EMAIL PROTECTED]> wrote: > >> Everything works great. But recently I had an itch to go trough BIOS >> settings. I spotted one named "Plug-n-Play OS" and it was set to > > The BIOS setti

Re: find -lname and -ilname implemented

2008-02-25 Thread Giorgos Keramidas
On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Jonathan McKeown <[EMAIL PROTECTED]> writes: > : Yes, where it makes sense. I'm not at all convinced that this change makes > as > : much sense as you obviously think it does - especia

Re: emulate an end-of-media

2008-02-25 Thread Mike Meyer
On Mon, 25 Feb 2008 21:19:33 +0100 "Martin Laabs" <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, 25 Feb 2008 20:34:31 +0100, wrote: > > > You might want to play with the -P option to dump. Your above could be > > written as: > > > > dump -aL0 -P 'compress -c' /MYFILESYSTEM | cdrecord dev=... - >

Re: emulate an end-of-media

2008-02-25 Thread Martin Laabs
Hi, On Mon, 25 Feb 2008 20:34:31 +0100, wrote: You might want to play with the -P option to dump. Your above could be written as: dump -aL0 -P 'compress -c' /MYFILESYSTEM | cdrecord dev=... - Unfornunately this does not work as you expect. Dump just takes its data an pass it to the script s

Re: usleep

2008-02-25 Thread KAYVEN RIESE
On Mon, 25 Feb 2008, Sharad Chandra wrote: , [Heiko Wundram (Beenic) wrote:] | Am Freitag, 22. Februar 2008 11:28:42 schrieb Sharad Chandra: I was looking some where and i found process switching time is around 10ms. That means time slice is 10ms. say some peace of code just called usleep o

Re: emulate an end-of-media

2008-02-25 Thread Mike Meyer
On Mon, 25 Feb 2008 13:36:17 +0100 "Martin Laabs" <[EMAIL PROTECTED]> wrote: > Hi, > > I'll write a script that back up my data on dvd-r and dvd-rams. > (And some incremental backups also at some internet storage > services.) > Therefore I'd like to use dump. It is not too hard to create > dump-

Re: Modular type GENERIC?

2008-02-25 Thread David O'Brien
On Sun, Feb 24, 2008 at 07:26:04PM +0900, Adrian Chadd wrote: > I was just wondering why we're not shipping a GENERIC type > configuration that simply loads the modules at startup, rather than a > statically linked kernel. I thought that was a large part of the push > for the modular framework in y

Re: find -lname and -ilname implemented

2008-02-25 Thread David O'Brien
On Mon, Feb 25, 2008 at 12:07:44AM -0700, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Mike Meyer <[EMAIL PROTECTED]> writes: > You fail to understand the complex interplay of politics here. These > people do not want to see beyond it. They want to shut you down > because

Re: find -lname and -ilname implemented

2008-02-25 Thread David O'Brien
On Sun, Feb 24, 2008 at 12:43:39PM -0700, M. Warner Losh wrote: > : > { "-empty", c_empty,f_empty,0 }, > : > { "-exec", c_exec, f_exec, 0 }, > : > { "-execdir", c_exec, f_exec, F_EXECDIR }, > : > - { "-false", c_simple, f_no

Re: Anybody have a patch for pdksh derivatives, for jails?

2008-02-25 Thread xorquewasp
On 20080225 14:24:12, Alexander Leidinger wrote: > Quoting cali clarke <[EMAIL PROTECTED]> (from Sun, 24 Feb 2008 >> Note that also, this problem does NOT occur if you use ssh >> to enter the jail as I believe ssh handles tty allocation in >> advance. > > You don

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-25 Thread Rink Springer
On Mon, Feb 25, 2008 at 03:33:30PM +, Igor Mozolevsky wrote: > [text] Guys, can you take this to chat@ please... -- Rink P.W. Springer- http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder _

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-25 Thread Igor Mozolevsky
On 25/02/2008, Bill Moran <[EMAIL PROTECTED]> wrote: > In response to "Igor Mozolevsky" <[EMAIL PROTECTED]>: > > > Crypto is merely a way of obfuscating data, and we all know the truth > > about security by obscurity, right? > > > I don't think you correctly understand the concept of "security th

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-25 Thread Bill Moran
In response to "Igor Mozolevsky" <[EMAIL PROTECTED]>: > On 24/02/2008, Bill Moran <[EMAIL PROTECTED]> wrote: > > "Igor Mozolevsky" <[EMAIL PROTECTED]> wrote: [snip] > > Fact is, data is "sensitive" to different degrees. It's also valuable > > to different degrees. > > > > If you're worried a

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
Am Montag, 25. Februar 2008 14:15:46 schrieb Robert Woolley: > On Mon, 25 Feb 2008 10:39:59 +0100 > "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> wrote: > > Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: > > > So does it mean, freebsd has limitation. sleeping will only work > > > for i

Re: Modular type GENERIC?

2008-02-25 Thread Alexander Leidinger
Quoting Adrian Chadd <[EMAIL PROTECTED]> (from Sun, 24 Feb 2008 19:26:04 +0900): G'day, I was just wondering why we're not shipping a GENERIC type configuration that simply loads the modules at startup, rather than a statically linked kernel. I thought that was a large part of the push for th

Re: usleep

2008-02-25 Thread Robert Woolley
On Mon, 25 Feb 2008 10:39:59 +0100 "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> wrote: > Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: > > So does it mean, freebsd has limitation. sleeping will only work > > for its value more than 1 milli sec because % of +- error value is > > comp

Re: Anybody have a patch for pdksh derivatives, for jails?

2008-02-25 Thread Alexander Leidinger
Quoting cali clarke <[EMAIL PROTECTED]> (from Sun, 24 Feb 2008 19:42:01 +0100): Hi. pdksh and derivatives (openbsd ksh, mirbsd mksh etc) all have the same "bug" with regards to jails. On all of my systems, trying to start *ksh in a jail results in a message that /dev/tty could not be opened (

emulate an end-of-media

2008-02-25 Thread Martin Laabs
Hi, I'll write a script that back up my data on dvd-r and dvd-rams. (And some incremental backups also at some internet storage services.) Therefore I'd like to use dump. It is not too hard to create dump-volumes with fixed size through the -B option. But now I'd like to use some sort of compres

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-25 Thread Igor Mozolevsky
On 24/02/2008, Bill Moran <[EMAIL PROTECTED]> wrote: > "Igor Mozolevsky" <[EMAIL PROTECTED]> wrote: [snip] > > IMO the possibility of such attack is so remote that it doesn't really > > warrant any special attention, it's just something that should be kept > > in mind when writing "secure" cry

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
Am Montag, 25. Februar 2008 11:45:02 schrieb Sharad Chandra: > I got out-of-order captured packets on my starfire dual port card ie ack > get lower time-stamp than its corresponding seq in tcp traffic. I don't > have much nic card level knowledge, so decided to produce delay to send ack > and incre

Re: usleep

2008-02-25 Thread Sharad Chandra
, [Heiko Wundram (Beenic) wrote:] | Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: | > So does it mean, freebsd has limitation. sleeping will only work for its | > value more than 1 milli sec because % of +- error value is comparitivly | > low? I am curious to know, is there any

Re: usleep

2008-02-25 Thread Heiko Wundram (Beenic)
Am Montag, 25. Februar 2008 10:10:56 schrieb Sharad Chandra: > So does it mean, freebsd has limitation. sleeping will only work for its > value more than 1 milli sec because % of +- error value is comparitivly > low? I am curious to know, is there any method which sleeps for few > microseconds. Som

Re: usleep

2008-02-25 Thread Sharad Chandra
, [Heiko Wundram (Beenic) wrote:] | Am Freitag, 22. Februar 2008 11:28:42 schrieb Sharad Chandra: | > Does usleep work for you? i just saw it is implemented over nanosleep | > which passes a struct timeval to "select". | | Quoting from POSIX: | | """ | The usleep() function will cause the