M. Warner Losh wrote:
> Oliver Fromme <[EMAIL PROTECTED]> writes:
> : Thanks for the new patch, I'll try it as soon as possible.
I got a few minutes and tested it.
> I don't have the proper environment to easily test this
> out, but I think what I sent will
M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> Oliver Fromme <[EMAIL PROTECTED]> writes:
> : 1- Why does the kernel try to mount /dev at all? Why not
> : simply let init mount it in all cases, with ot without
> : init_chroot?
BSHELL, runcom_script);
return (state_func_t) single_user;
}
if (wpid == pid && WIFSTOPPED(status)) {
warning("init: %s on %s stopped, restarting\n",
- _PATH_BSHELL, _PATH_
John Baldwin wrote:
> Oliver Fromme wrote:
> > I've created (and tested!) a new patch. I've tested on
> > RELENG_6, but I think init(8) isn't very different on
> > HEAD, so it should work there, too.
> >
> > Any comments are welcome. I
until the end of a file and when they get a EOF,
> they simply wait a few milliseconds and try again.
No. FreeBSD's tail(1) does not "poll" at EOF, which would
be quite ugly and inefficient. Instead it uses the kqueue
interface, so the kernel notifies tail when more data
John Baldwin wrote:
> Oliver Fromme wrote:
> > John Baldwin wrote:
> > > just pass the string literal to the kenv() function, e.g.
> >
> > In fact that's what I tried first ... Alas:
> > warning: passing arg 2 of `kenv' discards qualifi
M. Warner Losh wrote:
>
> this patch looks good, however, one nit:
>
> In message: <[EMAIL PROTECTED]>
> Oliver Fromme <[EMAIL PROTECTED]> writes:
> : + if (stat("/dev", &stst) != 0)
> : + warni
ile system. dump(8)
is inefficient, but not _that_ inefficient.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the
John Baldwin wrote:
> On Saturday 06 January 2007 14:27, Oliver Fromme wrote:
> > M. Warner Losh wrote:
> > > Also, kenv(KENV_GET, ... is used a lot. Maybe it makes sense to have
> > > a simple kenvget call. Would make a few lines a little shorter if
> > &g
ack, and I don't know if something
similar is applicable to the iSCSI situation. But I
thought it wouldn't hurt to mention it anyhow.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www
the box, and there's a hen-and-egg problem during
boot when fsck+mount is to be run. But I think it should
be possible to make it work without too much trouble.
Best regards
Oliver
PS: I've set reply-to to the freebsd-geom list. I think
it is more appropriate than -hackers.
--
Oli
isk, then reboot.
> I suspect to be the UFS problem to be the biggest one when it comes
> to deal with that from a running Linux system.
Right, Linux support for UFS is weak, not to mention UFS2.
> Also as anything needs to run unattended, how do I set FreeBSD to
> try DHCP on an
uot;secure". If you want to make top
more secure, type "chmod 700 /usr/bin/top".
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783
Any opinions exp
Dr. Markus Waldeck wrote:
> Oliver Fromme wrote:
> > Well, an unprivileged user can achieve the same effect by
> > typing "while :; do :; done". There are a thousand ways
> > to waste CPU time, and there is no way to prevent a user
> > > from do
a that
you modify. When you modify or delete blocks that
have not been modified since the last snapshot had been
created, the space requirement of the snapshot data will
grow by blocks. The number of snapshots in existence
does not matter.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH &
ine. It doesn't
provide all of the features of UNIONFS, but it can be used
as a substitute in many common situations. I'm using it
extensively, for example for shared read-only binaries
across jails, and I've yet to see a panic.
Regards
Oliver
--
Oliver Fromme, secnetix Gm
ag
to ls, as it wouldn't help for portable scripts.
PPS: FWIW, I like the patch (the second one which takes
nanoseconds correctly into account). I would also suggest
an option to display the nanoseconds in ls -l output.
Maybe when -T is specified twice ...? (That way we
wouldn't waste yet an
f that can operate on individual
> fields.
I always use "diff -Bb" for things like that, i.e. to
ignore any changes in whitespace. Works perfectly fine.
Maybe someone should just add "-b" to the diff command
in those periodic scripts?
Best regards
Oliver
--
Oliver
ore the crash.
(BTW, that's a softupdates-related question, and it's not
UFS2-specific.)
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily re
Joe Schmoe <[EMAIL PROTECTED]> wrote:
> Oliver Fromme <[EMAIL PROTECTED]> wrote:
> > Joe Schmoe <[EMAIL PROTECTED]> wrote:
> > > 1. Is it dangerous to mount all 20 possible
> > > filesystem snapshots and
> > > _leave them mounted_ to u
o it might actually be able
to handle it efficiently (i.e. share). But I really don't
know. Any FreeBSD kernel hacker can enlighten me?
If the memory isn't shared in this situation, is there a
way to change the design so it can be shared? chroot and
NFS are "musts", though.
T
Peter Edwards wrote:
> On Fri, 15 Oct 2004 13:49:48 +0100, David Malone <[EMAIL PROTECTED]> wrote:
> > On Thu, Oct 14, 2004 at 04:27:38PM +0200, Oliver Fromme wrote:
> > > [...]
> > > If the memory isn't shared in this situation, is there a
> > &g
.c (where * is "release" for FreeBSD
4.x and "usr.sbin" for 5.x). In short, it searches the
following directories, relative to the media base:
/
/FreeBSD
/releases
/$RELNAME
/releases/$RELNAME
where "$RELNAME" is the r
anpage description) ?
My personal opinion (please don't kill me): It appears to
me to be a "dirty hack" with very limited usefulness. If
associative arrays are to be implemented, it should be done
properly (like in zsh, for example).
Regards
Oliver
--
Oliver Fromme, secne
as "null".
I'm sorry I don't quite understand.
If you mean that the number of processes that a user is
allowed to run can be limited: You can already do that
in FreeBSD. You might want to read the login.conf(5)
manpage, and particularly the "resource limits" sec
en you use the -f option (this
is similar to ktrace's -i option).
Regards
Oliver
PS: I tried strace under -stable only. I don't know if
it works under -current as well.
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this mes
nts and which not, and we do have /etc/make.conf and
CFLAGS for exactly that purpose.
I always hate super-clever makefiles and configure scripts
that strip -O from my CFLAGS and insert -O6 -march=i686 or
other unwanted things. It's a PITA.
Just my 0.02 Euro.
Regards
Oliver
--
Oliver From
mands that I suggested above are
portable and work for _any_ number of files, no matter
what the ARG_MAX limit is. Sure, they're a bit longer
to type, but if you're concerned about that, then you
could wrap them into small scripts or shell functions.
Regards
Oliver
--
Oliver Fromm
Leo Bicknell <[EMAIL PROTECTED]> wrote:
> In a message written on Sat, Jan 05, 2002 at 09:48:40PM +0100, Oliver Fromme wro
> te:
> > ls | grep '\.out$' | wc -l
>
> One process shorter: find -name "*.out" -maxdepth 0 | wc -l
OK, but I tried to be
Sorry for replying to myself, but this just came to my
mind ...
Oliver Fromme <[EMAIL PROTECTED]> wrote:
> David Miller <[EMAIL PROTECTED]> wrote:
> > What I usually want to do is something more like ls *.out |wc -l
>
> ls | grep '\.out$' | wc -l
A
sounded like he is searching for an
application-level proxy, not a packet-level one.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of se
Terry Lambert <[EMAIL PROTECTED]> wrote:
> Oliver Fromme wrote:
> > Maybe I'm wrong, but it sounded like he is searching for an
> > application-level proxy, not a packet-level one.
>
> The natd program has application level proxy code (natd is an
> appli
f the PC FDC: The µPD765 a command to look
for the next track and return its location data. So you
can just look what is there, then read it. And copy it.
There were other, even more sick copyright mechanisms,
though, which were impossible to copy (such as changing
of the bitrate within a
ve to
get this thing working.
Regards
Oliver
BTW: More information on the Memorybird:
http://www.fujitsu-siemens.com/rl/peripherals/homeperipherals/memorybird.html
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be persona
ot;},
+ /*quirks*/ DA_Q_NO_6_BYTE
}
};
I've submitted a PR accordingly, it's kern/34712.
Can someone please commit it? Thanks!
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message m
kind of things. After the
first failure (which is detected in umass_bbb_state()),
a flag (quirk) should be set in the softc, and afterwards
umass_scsi_transform should translate 6-byte commands to
10-byte commands. Doesn't sound too complicated to me.
Or am I totally wrong?
Regards
Olive
call to do the
> change if you wish to do this in for the SCSI transforms as well.
I think that would be a very good idea. The boot software
issue is negligible, because there aren't any USB devices
you can boot from.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oetting
Chris Dillon wrote:
> On Sat, 9 Feb 2002, Oliver Fromme wrote:
> > I think that would be a very good idea. The boot software issue
> > is negligible, because there aren't any USB devices you can boot
> > from.
>
> You mean can't boot from USB devices
n advan-
tage that awk syntax looks a lot like C).
It's a simple drop-in replacement. In the kernel Makefile,
replace ``perl5 vnode_if.pl'' with ``awk -f vnode_if.awk''.
However, note that I've only tested it with gnu-awk. It
_should_ run with the awk in -current, too, b
ware (unlike most everything
else) does not have a hardware monitor, an infinite loop
is entered when you halt the system. It could be argued
that it would make sense to return to /boot/loader. But
I don't think that would be easy to do.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co
be very welcome -- thanks in advance!
Regards
Oliver
PS: I'm using FreeBSD 4-stable.
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any w
00 and then add ipfw fwd rules
to forward between ports 2500 and 25.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any w
27;s on /dev/acpi to retrieve the information?
I'm not an ACPI developer, but I really like the sysctl
interface, because it enables you to retrieve information
from within scripts easily. For ioctls you would have to
write a separate tool to be able to access it.
Just my 0.02 Euro.
Regards
Ol
there are a
lot of mounts (I mean _really_ many).
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All
would prefer hearing some opinions first before wasting
time on something completely stupid. :-)
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the op
Erik Trulsson <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 08, 2002 at 07:17:59PM +0200, Oliver Fromme wrote:
> > [...]
> > For example, updating of mtimes is not neccessary on a
> > file system that contains a news spool, or the content of
> > a web cache, or s
pdates.
Is that also true for NFS mounts?
(The reason why I'm asking: I am going to set up a new
newsserver (INN) on a FreeBSD machine, where all data
including the newsspool is stored on a NetApp Filer.)
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538
already there and has
a few hundreds of Gbytes of space free, so that it'll be.
Both have gigabit ethernet, so that shouldn't be a problem.
I'm very curious how it will perform.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any op
ite access
to the file that has been vnconfiged on the client.
>From the point of view of the Filer, it is still just a
file that someone is writing to.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be pe
rwise you could modify
parent shell variables within command substitutions.
You can easily verify this with ktrace. ;-)
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt
Sheldon Hearn wrote in list.freebsd-hackers:
> On Tue, 13 Jul 1999 18:13:42 +0200, Oliver Fromme wrote:
>
> > Command substitution certainly has to spawn a subshell, even
> > for built-in commands, because otherwise you could modify
> > parent shell variables with
u sparc SUNW,Ultra-5_10
That doesn't prove anything, because $$ always contains the
PID of the "top-level" shell, as I explained in an earlier
mail. Try this one:
$ echo $$ `( /bin/echo $$ )`
14762 14762
I think you agree that a subshell is spawned in that case,
don't you? ;-)
eryone who wants
> can look for these user mounts and walk them at will. My private stuff is
> quite public.
You own it, so you can set the permission appropriately,
so nobody else can access it if you don't want that.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Claust
r_device} | cut -d' ' -f2 | tr '\n' '|'`recsrc
sed 's/#.*$//' ${mixer_config} | egrep "$slots" | xargs mixer -f
${mixer_device}
fi
Just my 0.02 Euro...
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
fore trying
> to write into the allocated space.
I'd suggest to use asprintf().
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
;;
> -4)
> +4 )
> reboot
> echo "reboot failed... help!"
> exit 1
> ;;
> [...]
Why?!? I like the existing "case" style _much_ better,
it's more readable and emphasizes the structure.
Regards
wrong impression. I appreciate Doug's work very
much.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(Terry Prat
m, but that's just me...
Apart from the above -- Good work, Doug!
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
d pipe, but I haven't tried this.
Another way would be to put the exit code into a temporary
file, like this:
trap "rm -f stage1.result" 1 2 15
(
./stage1 2>&1
echo $? > stage1.result
) | tee stage1.out
if [ `cat stage1.result` != 0 ];
no good reason.
Apart from that -- Good work! :)
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(Ter
in the seriousness of the
system.
> Would anyone scream and projectile-vomit if I added this to identcpu.c?
I would, FWIW.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
&qu
libedit could be used for (although it
could need a few technical improvements, IMO, but the basic
concept is there).
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jede
240 digital camera is supported by "oPhoto"
(http://www.fromme.com/ophoto/). I'm not aware of any
support for USB video cameras.
> Oh, btw, how long can USB be extended?
There should be information about that on www.usb.org.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 1
mbers...
On the other hand, I wonder why dd needs to know the maxium
value of an off_t. That sounds broken to me. I haven't looked
at the patch, but if it's dependant on the exact size of an
off_t, then the patch is no good.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 3867
ng the server name from the MASTER_SITE
specified in /etc/make.conf{,.local}?
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
;$PKGS" | wc -l` -eq 1 ]; then
PKG=`echo "$PKGS" | cut -f1 -d" "`
if [ "$PR_LIST" = 1 ]; then
echo "$PKGS"
elif [ "$PR_NOTREALLY" = 1 ]; then
echo
ecause of newbus, so I tried
to port it, but without success. :-(
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(
27;m a bit
familiar with this... The difference between 1.44 and 2.88 Mb
floppies is that the latter use 36 sectors per track and twice
the data rate (1 MBit/s). So the entry should look like this:
{36, 2, 0xff, 0x1b, 80, 5760, 1, FDC_125KBPS, 2, 0x6c, 1}
Actually, there should be a #define F
Wilko Bulte wrote in list.freebsd-hackers:
> As Oliver Fromme wrote ...
> > I once programmed low-level FDC stuff under DOS, so I'm a bit
> > familiar with this... The difference between 1.44 and 2.88 Mb
> > floppies is that the latter use 36 sectors per track and t
n see them in the `ps` output. You can put
the password in your ~/.omirc, for example (and make sure it
has permissions 600).
Teaching omi to accept URL syntax is on my to-do list.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTEC
bility a lot,
IMO.
I'd send-pr a patch, if there's a chance that it will be
comitted (I'd suggest "-s" for "separators"). Or does this
start to get feeping creaturism...?
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info:
get one of those to upgrade part of our students
dorm network from 10 to 100 Mbit/s. A 100BaseFX port is
required for our uplink. The price is very tempting, but
if the beast hangs every other day, this is no good,
obviously...
Regards
Oliver
[1] About 500 and 900 $US, respectively.
--
Oli
und called ophoto which talks to it over USB,
http://www.fromme.com/ophoto/
(Supports the Kodak DC-240 and DC-280.)
> and there is another (more featured) which talks to it via serial called
> gphoto..
Yep, but it's terribly slow...
Regards
Oliver
--
Oliver Fromme, Leibni
gt; painful quickly, as such basic things like seek() are amoung them.
``long long'' is part of the C9x standard (or whatever it is
called now, I'm not an expert). If TenDRA (or lcc) supports
the latest C standard, then there should be no problem.
Regards
Oliver
--
Oliver From
end:
People posting ``open source'' programs would be required
to send the code, or a Web site address where the code was
displayed, to the government.
Basically, does this mean something like
tar cf - /usr/src/crypto | mail [EMAIL PROTECTED]
? :-)
Regards
Oliver
--
lement in a list, which marks
the end of the list. NIL is the abbreviation of "not in list".
(I'm not familiar with elisp, though.)
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL
ver, for a big web-
server, for a newsserver, and while we're at it, configure an
appropriately sized MFS for /tmp, etc. ... This is a can of
worms.
Bottom line: I think it should stay the way it is now. :-)
Just my 0.02 Euro.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 3867
as someone else said, you can't make it fit everybody.
What I would like to see in sysinstall is an option to make
/tmp an MFS. But then again, that would probably open yet
another can of worms...
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger
re just a particular type of ICMP packets (ICMP
ECHO requests and ICMP ECHO replies, respectively).
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
w the contents of cur.cp_time are used in the cpustats()
function. Note that "cur" is a "struct statinfo", which is
defined in /usr/include/devstat.h. The CPU states are defined
in /usr/include/sys/dkstat.h.
That should get you going. :-)
Regards
Oliver
--
Oliver Fromme,
Kris Kennaway <[EMAIL PROTECTED]> wrote in list.freebsd-hackers:
> On Sun, 12 Mar 2000, Oliver Fromme wrote:
> > Then look up the definition of kread() in the same file, and
> > how the contents of cur.cp_time are used in the cpustats()
> > function. Note that
s
> already. I think that this will be committed ASAP.
Over here, /usr/ports/net/etherboot works fine, after a bit of
hacking.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
&quo
the local university. It's available
from ftp7.de.freebsd.org. And no, it's not compressed. :-)
(However, note that the server is in Germany. Depending on
your connectivity, it might be a bit slow.)
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
100+ cards and can share
> their story.
>
> Since I wrote this message, I have tried etherboot 4.4.5. Still no go.
I'm using etherboot 4.2.11. Works fine.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
&
201 - 284 of 284 matches
Mail list logo