Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Matthew Seaman
On 14/06/2012 08:40, Matthew Seaman wrote:
 Really?  If I said the bandwidth usage was 10Mb/s would you immediately
 understand that was 10,000,000,000 bits per second?

Err... of course you wouldn't.  10,000,000 bits per second.  That's what
I meant to type.

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW





signature.asc
Description: OpenPGP digital signature


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-14 Thread C. P. Ghost
On Tue, Jun 5, 2012 at 8:19 PM, Kurt Buff kurt.b...@gmail.com wrote:
 UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries
 http://cwonline.computerworld.com/t/8035515/1292406/565573/0/

 This would seem to make compiling from source difficult.

 Kurt

I'm not sure I understand the issue, but this is my take on it
so far:

1. What's preventing the makers of boot loaders like GRUB (which can
also boot FreeBSD) from getting a certificate ONCE? And if they have
one, what's preventing them from loading ANY kernel at all? It is only
the first stage boot loader that needs to be signed, or not?

2. What's preventing anyone of us in the EU from stepping up
efforts with the EU Commission and the EU Parliament to stop
Microsoft from monopolizing the ARM (and later x86) platforms,
i.e. by becoming the only gatekeepers? After all, EU sovereign
states and their economies can't depend on a US corporation
having a global kill switch to their whole infrastructure. We're not
just talking about Windows dominance here, but a lot more:
dominance on the whole hardware segment. I'm pretty sure this
scheme is highly anti-competitive, and I guess it runs afoul of a lot
of already existing EU regulations.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: link_elf_obj: symbol ata_controlcmd undefined

2012-06-14 Thread C. P. Ghost
On Sun, Jun 10, 2012 at 7:04 AM, Subhro Sankha Kar sub...@80386.org wrote:
 Hello,

 Looks like you have missed out something related to ATA in the kernel 
 configuration file. Can you post your complete kernel config?

Hi,

I'm just using the GENERIC config on amd64, as of r235604. Nothing
modified there.

# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: stable/9/sys/amd64/conf/GENERIC 233797 2012-04-02 18:13:29Z jkim $

cpu HAMMER
ident   GENERIC

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCL   # New Network Filesystem Client
options NFSD# New Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS usable as /, requires NFSCL
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_FREEBSD32# Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options STACK   # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options PRINTF_BUFR_SIZE=128# Prevent printf output being 
interspersed.
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT   # Security event auditing
options MAC # TrustedBSD MAC Framework
#optionsKDTRACE_FRAME   # Ensure frames are compiled in
#optionsKDTRACE_HOOKS   # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
options KDB # Kernel debugger related code
options KDB_TRACE   # Print a stack trace for a panic

# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel

# CPU frequency control
device  cpufreq

# Bus support.
device  acpi
device  pci

# Floppy drives
device  fdc

# ATA controllers
device  ahci# AHCI-compatible SATA controllers
device  ata # Legacy ATA/SATA controllers
options ATA_CAM # Handle legacy controllers with CAM
options ATA_STATIC_ID   # Static device numbering
device  mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device  siis# SiliconImage SiI3124/SiI3132/SiI3531 SATA

# SCSI Controllers
device 

Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Polytropon
On Thu, 14 Jun 2012 08:40:27 +0100, Matthew Seaman wrote:
 On 14/06/2012 07:11, Polytropon wrote:
  Even school taught that in the 80's: When dealing with
  computers, 1 kB != 1000 B, but 1 kB = 1024 B. That is
  considered basic knowledge.
 
 Schools teach a lot of things that are so glossed over or so
 over-simplified as to be basically wrong.  They have been known to teach
 things that were common knowledge at the time and were later shown to be
 simply incorrect[*].

That's why you never can stop learning in IT, and fighting
bad habits in all imaginable areas. :-)



  Every IT person should be aware of this. It's common to abuse
  the SI units with the (known!) deviant interpretation.
 
 Really?  If I said the bandwidth usage was 10Mb/s would you immediately
 understand that was 10,000,000,000 bits per second?  Yes, bandwidth is
 always denoted in strict SI powers-of-1000 scale modifiers, always has
 been, but the corrosive effect of muddling 2^10 vs 10^3 in computing
 just leads to confusion and error.

In that case, it's simple: The base unit is b (bit), not B (byte),
so M = *1000*1000 as the normal SI interpretation. The abuse of M
as in *1024*1024 (SI: Mi) only happens to bytes. :-)



  Sometimes, you find hardware vendors forgetting the factor
  mismatch 1024 vs. 1000 when they tell you how many GB the new
  shiny hard disk has. :-)
 
 Oh dear.  It is so galling to realise that the sales people were
 actually right all along isn't it?  Does one's geek credibility no good
 at all to realise that we've been out pedanted by some suits...

And it becomes even more funny when an IT aware advertising
manager says: Hey, there's this cool Gi prefix, why not
just say the disk is 800 GiB instead of 800 GB? Then more
geeks will buy our products! :-)

(No, I won't try to even mention the fun of usable file
system capacity vs. gross disk hardware-only capacity.)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.3 + MySQL 5.0.95

2012-06-14 Thread Paul Macdonald

On 13/06/2012 19:34, Simon wrote:

Hi,

I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports.

It runs fine until it dies silently. Does anyone run a heavy loaded MySQL
under such setup? how can I troubleshoot this?

I could never compile a stable MySQL server from the ports and always
relied on MySQL community server binaries but there is no binary for
latest 5.0.xx

Thank you!
Simon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Its not clear if you upgraded mysql or just did a vanilla fresh install, 
but assuming the former,


i take it you ran the mysql_upgrade script post upgrade?

/usr/ports/databases/mysqlXX-scripts



--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546PLEASE NOTE NEW MOBILE
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Possible to run freebsd mips under QEMU???

2012-06-14 Thread Nomen Nescio
Hi is there any update on this? I would like to be able to run FreeBSD MIPS
and I don't have a MIPS box!

You wrote:

 On Tue, May 15, 2012 at 10:06 AM, Adrian Chadd adr...@freebsd.org wrote:
  The short answer is yes - I've seen this. I've not done it myself
  though, I've just acquired cheap mips hardware.
 
 I'd currently preference the use of GXemul over the use of QEMU.
 GXemul has a built-in test machine that we support disk, networking
 and SMP on now.  I'll try to take the time to write-up complete
 instructions (I've done it so many times I'd surely leave something
 out if I wrote it up right now) in the next few days, or perhaps
 rwatson will, as I know his lab is using GXemul in that way.  We
 should try to get something on the Wiki for this as soon as possible
 as it's a very easy way to get started with FreeBSD on MIPS, and is
 infinitely-useful for debugging and some kinds of performance testing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update procedure, question

2012-06-14 Thread Leslie Jensen


When one recives the

FreeBSD Errata Notice or

FreeBSD Security Advisory

The instruction is to do:


# freebsd-update fetch

# freebsd-update install



From earlier discussions on this list about the -px number not 
changing, I usually rebuild and install the kernel.


My question is:

Do I need to reboot after # freebsd-update install or can I rebuild and 
install the kernel before the reboot?


Thanks

/Leslie



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update install question

2012-06-14 Thread Leslie Jensen


When I do

freebsd-update install

I get this error:

Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No 
such file or directory


I think it's because I do not have all sources installed. So I just want 
to confirm that it's the case.


Also, should I care and install the source needed?

Thanks

/Leslie






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update procedure, question

2012-06-14 Thread Matthew Seaman
On 14/06/2012 10:41, Leslie Jensen wrote:
 When one recives the
 
 FreeBSD Errata Notice or
 
 FreeBSD Security Advisory
 
 The instruction is to do:
 
 
 # freebsd-update fetch
 
 # freebsd-update install
 
 
 
 From earlier discussions on this list about the -px number not changing,
 I usually rebuild and install the kernel.
 
 My question is:
 
 Do I need to reboot after # freebsd-update install or can I rebuild and
 install the kernel before the reboot?

freebsd-update will fetch any updates to /usr/src, so any time after
you've done 'freebsd-update install' you can build and install a new
kernel with all the security patches applied.

Given that you are only applying security updates within one release
branch and you are using a kernel configuration that has been well
tested, you should be fine to just install the new kernel before
rebooting at the end of your update procedure.

However, if you're going to be doing anything more ambitious (switching
RELEASE version, modifying the kernel config non-trivially), then you
should adopt a more cautious approach.  You need to make sure you've got
a world+kernel combination that still works after freebsd-update has
applied all its changes to the system before you try booting to your
customised kernel.  In the case of major version upgrades, use the
default kernels that freebsd-update supplies during the actual upgrade
so you can be assured that you have a working combination (working in
the sense that you can log in and build/install a new kernel; if you
need a custom kernel to support some odd bits of hardware then those
temporarily won't work).  Once you've got the system up and running
after updating, then go ahead and build and install your new kernel.
Should it fail to boot properly, you will be able to back-out to the
previous known-working kernel.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Re: freebsd-update install question

2012-06-14 Thread Matthew Seaman
On 14/06/2012 10:45, Leslie Jensen wrote:
 When I do
 
 freebsd-update install
 
 I get this error:
 
 Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No
 such file or directory
 
 I think it's because I do not have all sources installed. So I just want
 to confirm that it's the case.

If you're using freebsd-update then you don't need the libc sources.
Does no harm to have them around.

Given you're using a custom kernel then you definitely do need the
kernel sources: that's everything under /usr/src/sys plus a few other
bits and pieces.

 Also, should I care and install the source needed?

The default setting for freebsd-update is to install the system sources.
 If you haven't changed /etc/freebsd-update.conf then something odd is
happening.  Perhaps you manually deleted the contents of /usr/src ?

If you definitely don't want the system sources, then edit
/etc/freebsd-update.conf and change this section in the obvious way:

# Components of the base system which should be kept updated.
Components src world kernel

# Example for updating the userland and the kernel source code only:
# Components src/base src/sys world

ie. comment out the first 'Components' line and uncomment the second.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW





signature.asc
Description: OpenPGP digital signature


Re: freebsd-update install question

2012-06-14 Thread Leslie Jensen



2012-06-14 12:18, Matthew Seaman skrev:

On 14/06/2012 10:45, Leslie Jensen wrote:

When I do

freebsd-update install

I get this error:

Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No
such file or directory

I think it's because I do not have all sources installed. So I just want
to confirm that it's the case.


If you're using freebsd-update then you don't need the libc sources.
Does no harm to have them around.

Given you're using a custom kernel then you definitely do need the
kernel sources: that's everything under /usr/src/sys plus a few other
bits and pieces.


Also, should I care and install the source needed?


The default setting for freebsd-update is to install the system sources.
  If you haven't changed /etc/freebsd-update.conf then something odd is
happening.  Perhaps you manually deleted the contents of /usr/src ?

If you definitely don't want the system sources, then edit
/etc/freebsd-update.conf and change this section in the obvious way:

# Components of the base system which should be kept updated.
Components src world kernel

# Example for updating the userland and the kernel source code only:
# Components src/base src/sys world

ie. comment out the first 'Components' line and uncomment the second.

Cheers,

Matthew




I use the default kernel, on changes whatsoever.

I haven't changed anything. I installed the sources because it was 
needed for VirtualBox, I think. I didn't install all sources only what 
was needed. I've not touched /etc/frebsd-update.conf at all.


Should I install the libc souces?

thanks

/Leslie



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD compatibility with HP ProLiant DL360p Generation 8 (Gen8) ?

2012-06-14 Thread Olivier Mueller
Hello,

I need to order a few more servers for an internal project, and instead
of the usual DL360G7 we now use without any problem with FreeBSD, there
would now be the next generation, called Gen8. 

Intel® C600 Series Chipset
Intel® E5-2600 Processor Family
Storage Controller : HP Smart Array P420i/1GB
Network Controller : HP Ethernet 1Gb 4-port 331FLR Adapter
(full specs: 
http://h18000.www1.hp.com/products/quickspecs/14211_na/14211_na.pdf )

I am just wondering if it would also be compatible with the current
version of FreeBSD.  I guess it is the case at least for the cpu/chipset
according to http://www.freebsd.org/releases/9.0R/hardware.html , but I
miss for example the P420 or the network interface in the actual
hardware list, so a confirmation before ordering would be really nice to
have :)  

Thanks  kind regards,
Olivier


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB device activity when not mounted

2012-06-14 Thread Michael Powell
Polytropon wrote:

 On Wed, 13 Jun 2012 22:26:16 -0600, Gary Aitken wrote:
 I can understand why I would see activity on a USB device
 when it's first plugged in.  But why do I see continued
 activity (i.e. the light blinks on a usb disk or memory stick)?
 When I umount one of these, they keep being beat up on and
 it makes me nervous...  At what point is it sync'd and safe
 to unplug?  I assume when the umount returns, but what's going
 on after that?
 
 I don't think that's a problem. I've got a USB stick here
 that has a blinkenlight as soon as it's powered on (plugged
 in), even if there is no reading / writing / mounting activity.
 
 After you've successfully performed umount, the USB stick _is_
 synced and can safely be removed, no matter what you assume
 the funny lights want to tell you.
 
 Maybe that's just a modern feature to make the USB stick more
 entertaining. :-)

I think der Blinkenlights is a Windows thing - some Windows driver bit turns 
it on and off. When you click the 'safe to remove' thing it's supposed to 
turn it off to tell you it's OK to pull it out. Totally meaningless and 
useless 'feature' if you're not using Windows, aside from the entertainment.

:-)

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD compatibility with HP ProLiant DL360p Generation 8 (Gen8) ?

2012-06-14 Thread Rick Miller
Reply inline...

On Thu, Jun 14, 2012 at 6:41 AM, Olivier Mueller om-lists-...@omx.ch wrote:
 Hello,

 I need to order a few more servers for an internal project, and instead
 of the usual DL360G7 we now use without any problem with FreeBSD, there
 would now be the next generation, called Gen8.

 Intel® C600 Series Chipset
 Intel® E5-2600 Processor Family
 Storage Controller : HP Smart Array P420i/1GB
 Network Controller : HP Ethernet 1Gb 4-port 331FLR Adapter
 (full specs: 
 http://h18000.www1.hp.com/products/quickspecs/14211_na/14211_na.pdf )

I cannot comment on 9.x as we have not yet tested it on the 360p G8.
I can, however, say that we did not have problems with the RAID
controller with stable/8.  We did have problems with the on-board NIC,
I don't remember what model it is, but it is based on the BCM5719
controller.  We ordered a few PCIe Intel NICs and tried the 82571
which did work with stable/8.  We've got on order a few of the HP
NC361T, which is based on the Intel i350, which we tested in a Dell
and it worked there.  Again, all this is with stable/8, but generally
if the driver works in 8, it will work in 9.


-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: freebsd-update install question

2012-06-14 Thread Dale Scott
 Should I install the libc souces?

I had this error when upgrading 8.x (8.1 to 8.2?), and solved it by creating
the directory only (actual sources not required). I recall someone had
posted this solution to the list at the time.

Regards,
Dale



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB device activity when not mounted

2012-06-14 Thread Mike Clarke
On Thursday 14 June 2012 07:05:11 Polytropon wrote:
 I don't think that's a problem. I've got a USB stick here
 that has a blinkenlight as soon as it's powered on (plugged
 in), even if there is no reading / writing / mounting activity.

 After you've successfully performed umount, the USB stick _is_
 synced and can safely be removed, no matter what you assume
 the funny lights want to tell you.

 Maybe that's just a modern feature to make the USB stick more
 entertaining. :-)

I have a Kingston one here which does appear to only blink while data is being 
transferred but one thing I have noticed is that the light continues to blink 
for a few seconds after the umount command completes. Presumably syncing is 
not compled until a few seconds after umount. Perhaps it's always safer to 
wait a few seconds after umounting before removing any USB storage device?

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: slowoffice doesn't work

2012-06-14 Thread CyberLeo Kitsana
On 06/13/2012 11:49 PM, Wojciech Puchar wrote:
 trying to start openoffice shows:
 
 [wojtek@wojtek ~]$ openoffice-3.4.0-swriter
 XDM authorization key matches an existing
 client!/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin
 X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See man X resp. man xhost for details)
 
 
 
 everything else works, doing
 
 xhost +
 
 fixed the problem. any idea what is wrong.
 deleting .openoffice doesn't change anything

This was a big problem with certain programs that like to re-exec
themselves very quickly upon startup. It affected Firefox[1] and
Thunderbird[2] circa 2003-2004.

The pedantically correct solution is to fix the limitation in the
xsecurity protocol.

The realistically correct solution is to fix the bug in OpenOffice.

The more useful solution is to put something like this in your
.xinitrc/.xsession script:

8
# Tell X to authorize me
xhost +si:localuser:$(id -un) /dev/null
8

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=246313
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=224966

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-02/msg00086.html
http://lists.debian.org/debian-devel/2000/11/msg01823.html

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB device activity when not mounted

2012-06-14 Thread Daniel Feenberg



On Thu, 14 Jun 2012, Mike Clarke wrote:


On Thursday 14 June 2012 07:05:11 Polytropon wrote:

I don't think that's a problem. I've got a USB stick here
that has a blinkenlight as soon as it's powered on (plugged
in), even if there is no reading / writing / mounting activity.

After you've successfully performed umount, the USB stick _is_
synced and can safely be removed, no matter what you assume
the funny lights want to tell you.



Is it possible that there is volitile memory buffering in the stick that 
may not have been written to flash when umount thinks it is complete, and 
the flashing light is an indication that power is still required to 
complete the write to non-volitile memory?


Futhermore, are we sure that umount even waits for a sync? There is no 
mention of that in the man page and I don't recall any long waits for 
umount to return.


daniel feenberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.3 + MySQL 5.0.95

2012-06-14 Thread Simon
On Thu, 14 Jun 2012 09:04:26 +0100, Paul Macdonald wrote:

On 13/06/2012 19:34, Simon wrote:
 Hi,

 I upgrade to FreeBSD 8.3-p3 and installed MySQL 5.0.95 from ports.

 It runs fine until it dies silently. Does anyone run a heavy loaded MySQL
 under such setup? how can I troubleshoot this?

 I could never compile a stable MySQL server from the ports and always
 relied on MySQL community server binaries but there is no binary for
 latest 5.0.xx

 Thank you!
 Simon

Its not clear if you upgraded mysql or just did a vanilla fresh install, 
but assuming the former,

i take it you ran the mysql_upgrade script post upgrade?

/usr/ports/databases/mysqlXX-scripts


No, I did not run the mysql_upgrade because this was a minor upgrade.

I was running 5.0.88 Community Server binary install built by mysql developers
rock solid for long time. Then I decided to upgrade to latest 5.0.x but there is
no such build for FreeBSD by the MySQL developers. So I decided to give the
ports version a shot. I compiled and installed databases/mysql50-server
with BUILD_STATIC The latest mysql50-server under FBSD 8.3 is 5.0.95
BTW, I'm doing this on FreeBSD 8.3-p3 AMD64

PS I just had it die on a different machine that is less loaded and uses less
memory.

-Simon





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB device activity when not mounted

2012-06-14 Thread Polytropon
On Thu, 14 Jun 2012 09:49:00 -0400 (EDT), Daniel Feenberg wrote:
 Is it possible that there is volitile memory buffering in the stick that 
 may not have been written to flash when umount thinks it is complete, and 
 the flashing light is an indication that power is still required to 
 complete the write to non-volitile memory?

That is possible, but then, the light should be silent
after a finite amount of time.



 Futhermore, are we sure that umount even waits for a sync? There is no 
 mention of that in the man page and I don't recall any long waits for 
 umount to return.

If I remember correctly, the umount command instructs the
kernel to write all pending file buffers and then detach
the device from the file system hierarchy. When the device
has been detached (doesn't appear anymore in mount output),
everything should have been written. However, as you said
it might be possible that _inside_ the USB stick there is
still an action that needs to be performed and therefore
requires power. But I doubt this takes several seconds to
complete...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Lost /var/db/pkg

2012-06-14 Thread William Orr
Thanks, it looks like I had a copy from May in there that was fairly
accurate!
On Jun 13, 2012 5:03 PM, Warren Block wbl...@wonkity.com wrote:

 On Wed, 13 Jun 2012, Eitan Adler wrote:

  On 12 June 2012 18:03, William Orr w...@worrbase.com wrote:

 Hello,

 I had a hard disk failure some time ago, and I ended up losing
 /var/db/pkg/ and everything under it (before you say I should've been
 backing it up, I know, I was actually doing an initial full when this
 happened). Is there a way I can restore it, or at least manually add
 entries I know for sure about?


 look in /var/db/pkgdb.bak.tbz

  ^^^
 ITYM /var/backups/pkgdb.bak.tbz.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB device activity when not mounted

2012-06-14 Thread Mike Clarke
On Thursday 14 June 2012 15:45:46 Polytropon wrote:

 However, as you said
 it might be possible that _inside_ the USB stick there is
 still an action that needs to be performed and therefore
 requires power.

That's a possibility.

 But I doubt this takes several seconds to 
 complete...

I've just run a test here. The umount command returns almost instantaneously  
and the light, which is normally only lit while data is flowing,  flickers 
for about 2 seconds after the umount command. But further testing showed that 
it flickers for 2 seconds after reading  single byte file so perhaps the 
blinkenlight is configured with a minimum activation time.

Being cautious however, I always wait a few seconds before removing any USB 
stick from any computer.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-14 Thread Julian H. Stacey
Hi,
Reference:
 From: C. P. Ghost cpgh...@cordula.ws 
 Date: Thu, 14 Jun 2012 09:51:46 +0200 
 Message-id:   
 CADGWnjW2LnrtOiXFzWFk9btMaeJhmOTxdZ7ScymY=qgme_c...@mail.gmail.com 

C. P. Ghost wrote:
 On Tue, Jun 5, 2012 at 8:19 PM, Kurt Buff kurt.b...@gmail.com wrote:
  UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries
  http://cwonline.computerworld.com/t/8035515/1292406/565573/0/
 
  This would seem to make compiling from source difficult.
 
  Kurt
 
 I'm not sure I understand the issue, but this is my take on it
 so far:
 
 1. What's preventing the makers of boot loaders like GRUB (which can
 also boot FreeBSD) from getting a certificate ONCE? And if they have
 one, what's preventing them from loading ANY kernel at all?

If you read Fedora's page they were planning to tighten their boot
sequence to then only boot their approved binary kernels.

Not that others ( eg us) would have to, presumably we could leave it wide open
(aside of terms of purchase see discussion earlier in thread),
(aside of risk of key revocation on some hardware manufacturers)

Risk of key revocation later 
If hardware manufacturer ships new bios or uefi, or user
upgrades to new UEFI (eg I as a user must upgrade a uefi
soon as a laptop overheats).  + if MS get away with this
intrusion, next they'll consider requiring a Call Home
demon (that could also run on *UX, I guess they'd be pleased
to provide source free of charge for that next stage
entrapment ! ;-) that all PC users must run periodicaly,
to update UEFI table with new revised list of authorised keys.


 It is only
 the first stage boot loader that needs to be signed, or not?
Far as I've read, yes.

I wasn't sure about AMD so I looked here:
/usr/ports/sysutils/grub/Makefile
ONLY_FOR_ARCHS= i386

http://www.gnu.org/software/grub/grub-faq.html  (Re Grub 2)
The current release is working on Intel/AMD PCs,
OpenFirmware-based PowerPC machines (PowerMac and Pegasos),
EFI-based PC (IntelMac) and coreboot (formerly, LinuxBIOS),
and is being ported to UltraSparc.

 2. What's preventing anyone of us in the EU from stepping up
 efforts with the EU Commission and the EU Parliament to stop
 Microsoft from monopolizing the ARM (and later x86) platforms,
 i.e. by becoming the only gatekeepers? After all, EU sovereign
 states and their economies can't depend on a US corporation
 having a global kill switch to their whole infrastructure. We're not
 just talking about Windows dominance here, but a lot more:
 dominance on the whole hardware segment. I'm pretty sure this
 scheme is highly anti-competitive, and I guess it runs afoul of a lot
 of already existing EU regulations.

I think we will need to contact the EU, hence assembling URLs first:

http://berklix.org/uefi/

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


No surround sound with Creative SB Live! card

2012-06-14 Thread David Demelier

Hello,

I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.

Cheers,

--
David Demelier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hwpstate0 set frequency err 6

2012-06-14 Thread Ian Smith
In freebsd-questions Digest, Vol 419, Issue 9, Message: 2
On Wed, 13 Jun 2012 10:33:49 -0400
Lynn Steven Killingsworth blue.seahorse.syndic...@gmail.com wrote:

  This is the fourth time I have installed FreeBSD while learning the in's and
  out's.  I have a new mainboard this time (ASUS M5A97 EVO + AMD FX 8120.)

  I have set up dual booting because of a few legacy apps.  When the boot of
  OS gets to the login prompt I begin to get the error message 'hwpstate0 set
  frequency err 6'

  During installation my super-workstation started to run as though it were
  getting the absolutely maximum stress test.  The fans on my new Corsair H80
  started to whine as well.  The 'stress test' effect starts the three next
  times I have booted so I am not booting into FreeBSD at the moment.

  Any advice?

Only that it seems perhaps similar or related to some threads in May on 
freebsd-stable@ subject: [stable 9] broken hwpstate calls that may or 
may not have yet resulted in a patch you could try.

http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/thread.html

Thread continues in June, as a perhaps more general p-state discussion.

  Thanks Lynn Steven Killingsworth

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: UEFI Secure Boot Specs - And some sanity

2012-06-14 Thread Dieter BSD
grarpamp writes:
 Plenty of millionaires
 out there now who are in tune with opensource who could startup,
 buy the same ARM/ATOM/etc chips, the same support chips, load
 Android and sell it to the masses.

Would you please post a list of these millionaire FLOSS entrepreneurs?
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-14 Thread Dave U . Random
 If you read Fedora's page they were planning to tighten their boot
 sequence to then only boot their approved binary kernels.

Save your old copies of lilo and grub. You're gonna need them if you want to
stay on Intel Mafioso hardware.

 Risk of key revocation later 
   If hardware manufacturer ships new bios or uefi, or user
   upgrades to new UEFI (eg I as a user must upgrade a uefi
   soon as a laptop overheats).  + if MS get away with this
   intrusion, next they'll consider requiring a Call Home
   demon

No, this doesn't run on the OS. It runs from UEFI in the BIOS. Internet
connectivity is already part of the UEFI spec. Your box doesn't even to have
to be running. As long as it's plugged in, you're at their beck and call.

Say NO to the WinTel Mafia!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread Peter Vereshagin
Hello.

2012/06/14 00:23:25 +0400 Peter Vereshagin pe...@vereshagin.org = To 
freebsd-questions@freebsd.org:

PV ot the least how could I see the 'real' size of each of those files, both  
~150M
PV actulally, with a system command?

also, 'du' works that way for regular files. But implicitly I wanted about ls's
key, thanks a lot guys!

Kind of a very humble unadvertised feature but needed for ages in contrast  from
EA and ACL.

Another interesting thing is that it seems to be supported  by  perl's  stat()
builtin.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No surround sound with Creative SB Live! card

2012-06-14 Thread Chris Hill

On Thu, 14 Jun 2012, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.


Does the DVD source material actually have 5.1 sound? Silly question, I 
know, but it has to be asked.


You may also want to pose this question to multimedia@


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread David Brodbeck
On Thu, Jun 14, 2012 at 12:37 PM, Peter Vereshagin pe...@vereshagin.org wrote:
 Hello.

 2012/06/14 00:23:25 +0400 Peter Vereshagin pe...@vereshagin.org = To 
 freebsd-questions@freebsd.org:

 PV ot the least how could I see the 'real' size of each of those files, both 
  ~150M
 PV actulally, with a system command?

 also, 'du' works that way for regular files. But implicitly I wanted about 
 ls's
 key, thanks a lot guys!

Yes, the default for du is the actual disk usage, and du -A gives
the apparent size.  We run an OpenSolaris filer with on-the-fly
compression, and I've occasionally had people express confusion after
copying a large text file to it and finding the copy to be smaller
than the original when viewed with 'du'. ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


INVESTISSEMENT SOLAIRE 9% Securite EDF et REVENTE a 6 ans MP s

2012-06-14 Thread CN2i SOLAIRE 9% Rendement Sud FRANCE

   Pour afficher correctem= ent la page  [1]Cliquez-ici

   Pour = Devenir Partenaire  [2]Cliq= uez-ici
   [3]3DPV4_NEWSLETTER_SOLAIRE_PV4_CAVAILLON_CN2i_DEVELOPPEMENT_MARS_20
   Pour Dev= enir Partenaire  [4]Cliq= uez-ici
   Michael FRAYSSE ?n= bsp;Direction ?   CN2i DEVELOPPEMENT
   Site Web :  [5]www.cn2i.fr  n= bsp;  nb= sp; Skype
   :?michael.frayss= e
   Accueil :   05 . 61 . 214 . 942   = ;   Mobile de
   Permanence :  06 . 60 . 168 . 528
   Fax ? Back Office ?  : = ; 08 . 21 . 896 . 859
_
   = __
   ?CN2i D?veloppement ? Promoteur National en Investissement
   Photovolta?que ?
   ? Plate-forme de Commercialisation Centrales Solaires
   Photovolta?q= ues ?
   Rcs : 502 083 652 .NAF : 66 19 B Capital Social : 50.000
   ?= nb= sp;= nb   sp;
   Si?ge Social : 10 Ter Avenue des PYRENEES 31120 LACROIX FALGARDE
   __
   _
   Michael Tv  Piano  YouTube :
   [6]http://www.youtube.com/user/MichaelMusicPiano/videos
   Michael Tv Piano  Dailymotion :
   [7]http://www.dailymotion.com/Michael_Fraysse?fbc=503
   [8]DESINSCRIPTION : CLIQUEZ-ICI
   
References

   1. 3Dhttp://www.cn2i.fr/NEWSLETTER/PV4_NEWSLETTER_SOLAIRE_PV4_CAVAILL   2. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   3. 3Dhttp://www.cn2i.fr/Projet-d-Investissement-Centrale-Photovoltaiq   4. 
3Dhttp://www.cn2i.fr/devenir_partenaire.php;
   5. 3Dhttp://www.cn2i.fr/
   6. 3Dhttp://www.youtube.com/user/MichaelMusicPiano/videos;
   7. 3Dhttp://www.dailymotion.com/Michael_Fraysse?fbc=503;
   8. 
3Dmailto:desabo-sola...@e-mailink.fr?Subject=Ref_Desabo=Elk-50___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: UEFI Secure Boot Specs - And some sanity

2012-06-14 Thread C. P. Ghost
On Sat, Jun 9, 2012 at 12:17 AM, grarpamp grarp...@gmail.com wrote:
 I did say effectively. If people would actually read that chapter
 in the spec (minimally 27.5) they would find that they can:
 - Load a new PK without asking if in default SetupMode
 - If not in SetupMode, chainload a new PK provided it is
 signed by the current PK.
 - Clear the PK in a 'secure platform specific method'.

Only if they fully follow the spec. This is rather unlikely.

Even today, there are still many broken DMI/SMBIOS
tables out there that contain barely enough stuff for
Windows to boot successfully. What makes you think
UEFI BIOS makers will go all the trouble to implement
such a complex spec, if all they have to do is to ensure
compliance with MS requirements?

I wouldn't count on an option or switch to override this
system.

Technically, we may very well have to replace the BIOS,
or even the BIOS chip itself (that'll be fun if it is physically
mounted on the board!), and replace it with a chip flashed
with a free BIOS.

And by then, the corps who are responsible for this UEFI
mess will have made it illegal to
  1. tinker with your own hardware, as it would be DRM circumvention
and
  2. implement a free UEFI BIOS as it would violate some UEFI patents.

Basically, we may end up in a situation where running FreeBSD
on a modified motherboard could be outright illegal. Which is
exactly the point, isn't it?

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Uptime [OT]

2012-06-14 Thread Steve Bertrand
I still have non-root access to a box from my old job... it is 
non-available and doing nothing, so updates are irrelevant:


%uptime
 9:01PM  up 1142 days,  5:29, 1 user, load averages: 0.00, 0.00, 0.00

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder

In production and survived many area-wide power outages:

% uptime
10:34PM  up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:20 PM, Steve Bertrand wrote:

I still have non-root access to a box from my old job... it is
non-available and doing nothing, so updates are irrelevant:

%uptime
9:01PM up 1142 days, 5:29, 1 user, load averages: 0.00, 0.00, 0.00


fwiw:

%uname -a
FreeBSD ..xxx 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #1: Wed Apr 
29 06:34:04 EDT 2009 st...@xxx..xxx:/usr/obj/usr/src/sys/ i386



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:35 PM, Mark Felder wrote:

In production and survived many area-wide power outages:

% uptime
10:34PM up 2021 days, 18:02, 1 user, load averages: 0.00, 0.00, 0.00


That's hardcore homie... wow!

What does this box survive to do?

Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No surround sound with Creative SB Live! card

2012-06-14 Thread Edward M

On 06/14/2012 09:03 AM, David Demelier wrote:
I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.

Cheers, 


  Sounds like the DVD  surround audio is  encoded in AC-3 Dolby Digital 
or DTS. So a decorder is needed.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder
On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand  
steve.bertr...@gmail.com wrote:



That's hardcore homie... wow!
 What does this box survive to do?



Transparent traffic shaping/firewalling via IPFW; it's not actually  
visible to the internet. There isn't much load at all, but the hardware is  
quickly aging. The dual power supply has saved it a few times, too. I  
think there's another server which I believe is close to 2600 days uptime  
but I'll have to brainstorm and see if I can remember which one it is.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Mark Felder
FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10  
CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386


Theres no way I'm giving out the organization name or hostname haha. We're  
slowly moving customers away from this device, but not forcing anyone.


I wonder if the technician who compiled that kernel considered how long it  
would run



Oh, perhaps this thread should be renamed to Why are you using FreeBSD?  
to fit in with the others...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Uptime [OT]

2012-06-14 Thread Steve Bertrand

On 14/06/2012 9:43 PM, Mark Felder wrote:

On Thu, 14 Jun 2012 22:37:59 -0500, Steve Bertrand
steve.bertr...@gmail.com wrote:


That's hardcore homie... wow!
What does this box survive to do?



Transparent traffic shaping/firewalling via IPFW; it's not actually
visible to the internet. There isn't much load at all, but the hardware
is quickly aging. The dual power supply has saved it a few times, too. I
think there's another server which I believe is close to 2600 days
uptime but I'll have to brainstorm and see if I can remember which one
it is.


lmao... you must be a sysadmin ;)

IPFW is all I've used on FreeBSD. I designed an ISP edge based on 
Microtic hardware with flash-based FBSD installs with Quagga and IPFW. I 
was hesitant to change to anything else, because I wrote an awful lot of 
Perl code that automated IPFW changes across the network.


I don't use FBSD as much as I used to, but I still stick to my roots and 
write most of my code on it. I don't maintain many servers with it 
anymore though.


This is why I thought I'd speak up... to let everyone know I'm still 
alive and kicking. Apparently, so is one of my boxes ;)


Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: `ls -l` shows size of file other than of the folder?

2012-06-14 Thread grarpamp
  The following creates a file with a size of 102402 (a gig)
  fseek(stdout, 100*1024, SEEK_END);

 Nope :) What you have there is not actually called (anything).
 It would maybe be called a MKiB. :-)

I'll buy that, if someone chips in the deuce :)

 In SI units it is called a gigabyte.

No, it's not called anything.

 Everyone knows what he talking about so playing semantic
 games is silly.

Rockets crash due to assumptions and trivializing semantics.

That's why you never can stop learning in IT, and fighting
bad habits in all imaginable areas. :-)

 Can we move on to real questions? :)

Ok :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org