er than "chmod 000" (if
the FS supports it).
But I agree that it would be nice to prevent ffox from segfaulting;
unfortunately this is one of those apps which segfaults a lot (for me at
least). =)
Cheers,
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
;m fine with the default being "fit into my terminal width", but I'd be
for one option to specify limited width and another option (-w) to
specify "as wide as possible".
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing
;
SIZE(genio, ktr_rw);
In your case, you could make a macro for each type. Without an example of
how you want the output to look, it's hard for us to show you code that
will produce such output.
-- Rick C. Petty
___
freebsd-hackers@freebsd.o
_fd);
Why are you reopening stdout? It should already be open, so use
"fileno(stdout)" or just plain "STDOUT_FILENO" instead of "new_fd".
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.o
mounted read-only, and if that fails I'll fall back to
dd. Actually if you have the space and it was a bad disk, I'd probably dd
to a new disk or file, then mount that disk or file read-only, and then use
rsync.
-- Rick C. Petty
___
freebsd-hacker
if
you put it at the front of a UFS partition, you have just under 256 KB of
room since our UFS code will search for the superblock at a byte offset of
262144, but there aren't any knobs to newfs so you'd have to hack it
together. Take a look at /
ou're looking for.
And I agree that it's particularly slow even in 2d.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
w (because I want different resolutions on each head).
Perhaps the ATI hardware isn't capable of this, but nvidia's cards seem to
be. It's too bad the open source drivers haven't made enough progress in
this area yet.
-- Rick C. Petty
_
I'm using the ati/radeon driver currently on amd64 until
nvidia finishes their 64-bit driver.
YMMV,
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
n my C99 code.
And I thought this was the point of this discussion, to be able to declare
variables when you first use them.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
On Sun, Mar 08, 2009 at 01:36:09PM +0100, Bernd Walter wrote:
> On Fri, Mar 06, 2009 at 03:47:38PM -0600, Rick C. Petty wrote:
> > On Fri, Mar 06, 2009 at 03:30:14PM -0600, Octavian Covalschi wrote:
> > > Why is spinning down is bad for HDD ? I believe it's better to
other words, if you can avoid
power-cycling your drives, they should last longer (in that you're less
likely to destroy the heads).
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hac
ll a reasonable feature) but there is no command for
spinup. I wish there was a spinup command because I've seen drives that
won't do a spinup until they receive a special ATA command. I was never
able to find any docs, so if anyone knows the command I'd be willing to
write a pa
to maintain the
> disagreement between the contents of the directory as reported by
> readdir and the list of names that are known to open.
No, I believe it's less work this way, but I'm no expert here. I did not
design devfs nor did I like it myself initially, but after t
On Sat, Jan 10, 2009 at 04:20:58AM -0800, per...@pluto.rain.com wrote:
> "Rick C. Petty" wrote:
> >
> > That's not how devfs works. It's actually a feature
> > that devfs doesn't list everything ever possible
>
> http://storage9.myopera.com/fr
ot be
> easy to fix.
This is not a bug, it is designed behavior. It was intentionally written
to dynamically create device nodes when needed.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinf
out: "mount -t devfs devfs /dev" I believe I saw recently that
devfs mounts were merged into standard mount code.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsu
On Fri, Dec 12, 2008 at 08:21:25AM -0800, Tim Kientzle wrote:
> Rick C. Petty wrote:
> >On Fri, Dec 12, 2008 at 01:15:17PM +0200, Artis Caune wrote:
> >
> >I suspect you've run into a well-known svn bug that affects "svn merge". I
> >thought they had fixe
ting. When I see it
bring in extra files, I just do a revert on those, then the commit is
clean.
I'm hoping the tigris folks are working on this issue.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/
that's not consumed.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
e if the
> problem continues?
Well the firewall is primarily for NAT and port forwarding. There's
nothing special about it. It looks like the TSO disabling fixed my
problems. Thank you for the suggestion!
-- Rick C. Petty
___
freebsd-hackers
a problem with.
In fact in each sshd_config, I have:
UseDNS no
In dnsmasq, I have each host listed in /etc/hosts which is used by dnsmasq
for forward and reverse DNS. No this problem started when I updated the OS
on my gateway.
-- Rick C. Petty
ox
was 99-100% idle during those tests and I don't see an interrupt storm or
anything funny like that. Any ideas?
-- Rick C. Petty
>From /var/run/dmesg.boot:
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
On Tue, Jul 15, 2008 at 06:51:28AM +0200, Matthias Apitz wrote:
>
> Is there a way (without using fsdb(8)) to list the block list from a
> given inode? thx
ffsinfo -i -l 0x230
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing
ning on these lists, without using your real name, just makes
people believe that you are a troll. It is obviously not constructive
since the problems are known and (supposedly) are being worked on.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing l
e only reason I reboot is to use
the latest kernel and mount from the mirror.
I'd like to see other OSes do all of that.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubs
d. Perhaps because it tries to set the LEDs first?
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
0x1 flag to atkbd, i.e. from
> atkbd(4)
> ...
>
> and see if this helps. you wont be able to "hot plug" ps2 keyboards,
> but i suspect you probably can live without it.
I'm almost certain this will help, but I believe this shouldn't
post-kbdmux systems but since it wasn't reproducable in any reliable
fashion, I couldn't pin the problem down.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rrently broken, but lulf@ I think
was working on that. There are many things I don't like about LVM at all,
particularly in the naming and how impossible it is to setup a root mirror
at install (or even mirror whole disks).
-- Rick C. Petty
___
fre
On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote:
> I am curious is there an effort in FreeBSD similar to Linux NDISwrapper?
http://www.freebsd.org/cgi/man.cgi?query=ndis&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=htm
. All I do is quit mplayer and
restart it, skipping the first 10 seconds of video. That workaround has
always worked for me.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To un
f defined(DIST_SUBDIR)
DIST_SUBDIR_OVERRIDE=${DIST_SUBDIR}/
.else
DIST_SUBDIR_OVERRIDE=
.endif
MASTER_SITE_OVERRIDE=ftp://ftp5.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR_OVERRIDE}
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.free
o complete. System activity can lengthen the
interval by an indeterminate amount.
If timeout is a null pointer, the select blocks indefinitely.
To effect a poll, the timeout argument should not be a null pointer, but
it should point to a zero-valued timeval structure.
Y files.
Everything else should be just fine; you're not supposed to be installing
the same port multiple times at the exact same time, but maybe a lock could
be held on the package directory (i.e. /var/db/pkg/$PKG_NAME). Again, I
don't believe this is strictly necessary.
-- Rick C. Pe
especially if this operation happens often enough. I
agree with the other poster(s) who said that if it prevents complex code,
it might be worth it. Your case isn't complex enough to warrant the
spawning of a shell process, especially when one of your primary goals is
to reduce
s to work with the core utilities.. this leaves out
gmake, python, ruby, etc. I doubt anyone will find anything as powerful
as pmake without sacrificing the much-used flexibility it provides.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing
e you like using a hammer
doesn't mean all screwdrivers are stupid.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
On Mon, May 14, 2007 at 06:06:37PM -0400, Kris Kennaway wrote:
>
> Some of the fields can (and do) have unbounded length.
>
> Kris
Where is that specified in the SQL spec? Or are you just saying that
SQLite provides this flexibility?
-- R
of ."
So your example should have failed to work correctly. You should have used
something more appropriate, like VARCHAR(255) instead of VARCHAR(1).
If SQLite isn't even standards-compliant, why is anyone considering it? =)
Nitpicky, I kno
Just plain "atacontrol" shouldn't
do anything useful.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gularly than on systems which are always running.
I've also seen disks work just fine while powered that just plain quit
immediately after a power cycle.
So you may save power by spinning the disks down, but I doubt you're
saving disk life (unless they'
ld
probably make an educated guess by looking at which cards are being mapped
to which interrupts. Pick a device which has a solitary (unshared) IRQ and
swap with the modem.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
as the base is already problematic
enough (look at security/heimdal), but at least the separation is
manageable.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
On Tue, Oct 17, 2006 at 10:06:36AM +0200, Oliver Fromme wrote:
> Rick C. Petty wrote:
> > I doubt you'd get the code to work under 6.x or 5.x even. I'm not sure if
> > any GEOM-related stuff ever made it into fsck, but certainly the background
> > checking co
test again on FreeBSD 6 ?
I doubt you'd get the code to work under 6.x or 5.x even. I'm not sure if
any GEOM-related stuff ever made it into fsck, but certainly the background
checking code and softupdates changes were introduced about that time.
-- Rick C. Petty
__
On Fri, Oct 13, 2006 at 02:16:51PM -0400, John Baldwin wrote:
> On Friday 13 October 2006 13:42, Rick C. Petty wrote:
> >
> > I'm pretty sure that's what he tried (hence "remounted readonly"). I've
> > noticed this behavior as well and it is q
u can no longer fsck it. I've been meaning to track this down and/or
file a PR. I'm pretty sure this used to work just fine in 3.x and 5.x.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ill
fail if it can't find a real sector to allocate, and I don't think it deals
well with bad sectors anyway. Point is: don't let it. "dd" the drive
ASAP and cut your losses...
-- Rick C. Petty
___
freebsd-hackers@freebsd.org m
that there's more than one way to skin a
cat(1), pardon the pun. So use what you feel more comfortable using!
Three cheers for free unix,
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
On Mon, Aug 28, 2006 at 06:18:58PM +0200, Oliver Fromme wrote:
> Rick C. Petty wrote:
> >
> > I find that the following command works just fine for me:
> >
> > find /usr/ports -type d -name work -prune -print -delete
>
> The following is probably the most
ot; unless it's in the base system. Why isn't
portupgrade in the base system? Oh right, because it uses ruby. Please
shoot me first before throwing ruby in the base distro. :-P
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
d that the following command works just fine for me:
find /usr/ports -type d -name work -prune -print -delete
=)
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
n think of is that I'm using kbdmux with no PS/2
keyboard attached-- but I'm using a similar USB keyboard on another
6.1-STABLE box just fine. Any ideas?
-- Rick C. Petty
output of dmesg:
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
ically "updating but not appending". And another note: a good way
to defragment a file is to sequentially copy it. (The "best" way is to
copy the file to a new filesystem, that way you guarantee the blocks
allocated to the file are contiguous.)
-- Rick C. Petty
___
7;01'.
Whereas the opposite situation is preferrable? Hmm, I'm using Y bytes of
storage within this directory tree, let's move that to another partition.
I'll make that partition at least Y bytes big. Recursive copy-- whoa!
Out of space? Darn.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
e (i.e. 8x fragment size) in UFS an integer
multiple of st_blksize. My previously-posted example would work just
fine. I guess a better solution would be to check every 512-byte chunk
and seek if zero. It's up to the underlying filesystem to imple
On Tue, Aug 01, 2006 at 02:26:28PM -0400, Mike Meyer wrote:
> In <[EMAIL PROTECTED]>, Rick C. Petty <[EMAIL PROTECTED]> typed:
>
> > Obviously, I didn't add the error checking/handling, but AFAIK this is
> > essentially what the -S option to gnu's tar doe
On Tue, Aug 01, 2006 at 12:51:32PM -0500, Eric Anderson wrote:
> On 08/01/06 12:40, Rick C. Petty wrote:
>
> It could possibly be bad if you have a real file (say a 10GB file,
> partially filled with zeros - a disk image created with dd for
> instance), and you use cp with some
our "-a" option could be a replacement for
"-pRs" if so desired (or "-S", it's all the same to me).
While we're at it, I think we should add the -S option to bsdtar. I'm
willing to do the work and make patches (to cp & tar), if someone is
willing
nt every detail which is already
> handled by dump/restore.
I don't think this is what people are asking for. BTW, does dump/restore
handle extended attributes? Last I checked, it didn't. But then again I
don't think cp or tar do either. Feel free to enlighten me.
-- Rick C.
r, bytes);
}
Obviously, I didn't add the error checking/handling, but AFAIK this is
essentially what the -S option to gnu's tar does. In this example, you
may not mimic the allocated blocks of a sparse file, but you would
optimize the copy to use as few filesystem blocks as possib
On Mon, Jul 31, 2006 at 11:01:24PM +0200, Ivan Voras wrote:
> Rick C. Petty wrote:
>
> >"-l" may be a useful option, but at what point is the line drawn between
> >bloating our base cp and having a gcp port (or using linux_base)??
>
> It's like saying &quo
On Mon, Jul 31, 2006 at 12:42:02PM -0500, Eric Anderson wrote:
> On 07/31/06 12:28, Rick C. Petty wrote:
> >
> >In both cases, why don't you just use:
> >
> >/usr/compat/linux/bin/cp
>
> Two reasons - it's not in the base system, so a port has to be inst
s out there, and
> the second one because I think it's a useful feature for the FreeBSD "cp".
In both cases, why don't you just use:
/usr/compat/linux/bin/cp
If you're not going to add all 18 options to our cp, then -a shouldn't be
added at all. It doesn't provi
ent than what you've observed.
> Kind of like the old /dev/fd/1 /dev/fd/2 directories used to be under
> MAKEDEV...
How is that the same? MAKEDEV was in the day before devfs, so the device
entries needed to be created by the underlying filesystem. In devfs,
things are only present i
speakers. Not that I cared - I tossed the
> mouse and keyboard on the spare parts pile and plugged them into a
> KVM.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ow where you shop that has a system under US$50 !
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
artitions if the gpt/bsdlabel is in use (i.e. one
of the other partitions is currently mounted as a filesystem). I hope the
GEOM people are working to improve this.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/
gt;
> (When I manually "ifconfig plip0 down", the whole printing problem
> is solved.)
What's wrong with using:
ifconfig_plip0="down"
???
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ability
and consistency of a finished language is exactly what is needed for a
stable and consistent OS (kernel). Pick a language (let's call it "C")
that isn't likely to evolve any further. Oh wait, we already did :-P
-- Rick C. Petty
__
hich calls C
functions, but the converse is quite tricky.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
maps to channel 2
I had to use the serial numbers to make sure I was writing on the correct
drives, so that was annoying.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Consider something like either:
kldfind -c | -s | -h [-qv] modulename ...
or a multi-line usage (e.g. something like bsdlabel(1)):
kldfind [-qv] -c category ...
kldfind [-qv] -s string ...
kldfind [-qv] -h
Personally, I'd prefer clarity over brevity. Just m
EndMode
Option "DPMS"
EndSection
I can't remember if I needed the frequencies-- I had some initial problems
using the DVI input and nvidia not detecting things correctly, but then I
added this to the Device section:
On Tue, May 09, 2006 at 03:07:57PM +0200, Michal Mertl wrote:
> Rick C. Petty wrote:
> > What determines the probing order of the ports/channels on the PDC40718
> > (Promise TX4 SATA300 controller)? The SATA ports are labeled "Port 1"
> > through "Port 4"
reported in FreeBSD
-- ---
Port 1
Port 2
Port 3
Port 4
Has anyone else noticed this with these cards? What can I do to fix it?
I'm running both 6.0-RELEASE and RELENG_6_1 as of 2006-May-07.
-- Rick C. Petty
___
freebsd-hackers@free
l for non-RAID5 configurations, but gv_rebuild_plex is only called
in the context of GV_PLEX_RAID5 on degraded plexes.
Maybe I'm misunderstanding something. Feel free to enlighten me! :-)
-- Rick C. Petty
___
freebsd-hackers@freebsd.org maili
h better because it guarantees power & ground connection is
established before the data pins. Many KVMs buffer the keyboard I/O so it
can wait until power & ground are established before trying to send/recv
data. I've never blown out a PS/2 port or device, and I hot swap much more
th
point? (e.g. user
read/write/execute)
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
client. Next time it
happens, I'll try xev. But I haven't had the problem since I stopped using
x11vnc.
I only use the nVidia drivers and x.org.
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailm
cards). My keyboard input problem only affected
certain clients. Like I said, one rxvt would accept keyboard events and
another rxvt right next to it wouldn't. It was an X.org server, I forget
the version. I've not noticed the problem recently, but I
stopped using x11vnc.
Sorry I'm no help, but at least I feel sane knowing it wasn't just me...
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
On Wed, Mar 15, 2006 at 12:27:08PM -0500, John Baldwin wrote:
> On Wednesday 15 March 2006 12:11, Rick C. Petty wrote:
> >
> > My BIOS (Asus A8N-E rev 1010) has no option for disabling USB keyboard
> > support, but I can either disable the USB controller or disable the USB
&
#x27;m not
sure. I've also noticed related problems when trying to load umass and ums
through the boot loader and manually (I will try to reproduce these).
Maybe the problem is in the USB layer??
FYI, I tried this on 6.1-BETA4, fresh from the ISOs.
-- Rick C. Petty
__
e hardware
boots just fine with 6.0-RELEASE (although I need to choose the USB
keyboard option if I plan on typing). Any suggestions?
-- Rick C. Petty
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hacke
it'll
drop to PIO mode). Any help on this topic would be appreciated. Some of
the data is vital and I need it quickly. Thanks in advance,
-- Rick C. PettySenior Software Engineer, KIWI Computer
---
[EMAIL PROTECTED]
87 matches
Mail list logo