Re: SU+J Lost files after a power failure

2013-10-14 Thread Bruce Cran

On 10/14/2013 6:16 PM, CeDeROM wrote:

Isn't there Journal to prevent and reverse such damage?


Unlike other journaling filesystems, UFS+J only protects the metadata, 
not the data itself - i.e. I think it ensures you won't have to run a 
manual fsck, but just like plain old UFS files may be truncated as the 
journal is replayed.
For ext3, https://www.kernel.org/doc/Documentation/filesystems/ext3.txt 
explains the different modes, with 'ordered' being default:


Data Mode
-
There are 3 different data modes:

* writeback mode
In data=writeback mode, ext3 does not journal data at all.  This mode provides
a similar level of journaling as that of XFS, JFS, and ReiserFS in its default
mode - metadata journaling.  A crash+recovery can cause incorrect data to
appear in files which were written shortly before the crash.  This mode will
typically provide the best ext3 performance.

* ordered mode
In data=ordered mode, ext3 only officially journals metadata, but it logically
groups metadata and data blocks into a single unit called a transaction.  When
it's time to write the new metadata out to disk, the associated data blocks
are written first.  In general, this mode performs slightly slower than
writeback but significantly faster than journal mode.

* journal mode
data=journal mode provides full data and metadata journaling.  All new data is
written to the journal first, and then to its final location.
In the event of a crash, the journal can be replayed, bringing both data and
metadata into a consistent state.  This mode is the slowest except when data
needs to be read from and written to disk at the same time where it
outperforms all other modes.



--
Bruce Cran
___
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: SU+J Lost files after a power failure

2013-10-14 Thread Bruce Cran

On 10/14/2013 7:33 PM, CeDeROM wrote:

Thank you for explaining :-) So it looks that it would be sensible to
force filesystem check every n-th mount..? Or to do a filesystem check
after crash..? Are there any flags like that to mark filesystem
unclean and to force fsck after n-th mount? That would assume
disabling journal and soft updates journaling I guess..?

What would be the best option for best data integrity in case of
crash? That would be helpful for development systems I guess :-)


As I understand it UFS+J gives the same reliability as UFS with a normal 
fsck after a crash, so on a development system the only ways to improve 
the situation would be to mount with the 'sync' option, disable write 
caching on the disk or to switch to a different filesystem like ZFS.


--
Bruce Cran
___
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: sleepycat db VS MySQL or postgres

2013-07-01 Thread Bruce Ferrell

On 07/01/2013 01:28 PM, Jim Pazarena wrote:

I have a rather extensive series of databases created and in use all
with the very old sleepycat db3. I believe in the addage don't fix
what ain't broken, but in the case of db3, it IS broken and my db
files get corrupted on occasion.

I could move to db5 or db6 OR MySQL, or even postgres.

I use simple primary key files, most entries are added from a CLI
or termcap/curses screen. Some programatically. With about the same
number of sequential dumps vs indexed random reads.

I have no experience with the c interface for postgres or mysql, but
also, do not know how much the c interface has changed for sleepycat
5/6 compared to the c interface for db3, which I understand quite well.
So I am prepared for a learning curve irrespective of which platform
I select. Records do not exceed much more than 10-20,000, with key sizes
not much wider than 16 bytes (ipv4), 13 (mac), 32 (ipv6). And various
smaller key sizes.

Suggestions would be very much appreciated.


Jim,

I'm a lazy bugger and what I'd do is knock together a small perl program using 
DBI and the DBD for Berkeley DB (sleepcat) and either MySQL or Postgres (pick 
your religion).

You could grap the records out of one table and insert them into another as 
though they are the same db... LIke I say, I'm lazy.

No, it's not shiney and new (may EVEN be deprecated)

If you'd like assistance, I'll be happy to hold hands

Bruce Ferrell
___
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: List Spam Filtering

2013-05-17 Thread Bruce Cran

On 17/05/2013 11:42, Jerry wrote:
Seriously? If some potential poster were so brain dead that he/she 
could not comprehend how to subscribe to the mailing list then I would 
seriously doubt that they would possess the necessary skills to 
install and run FreeBSD to begin with. Lets be honest here. All that 
the present system does is act as an enabler for Spam merchants and 
Trolls. 


Yes, seriously.  Have you seen the number of people who post messages 
PLEASE REMOVE ME FROM THIS MAILING LIST!!, apparently not 
understanding how to manage their subscription?


--
Bruce Cran
___
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: List Spam Filtering

2013-05-16 Thread Bruce Cran

On 11/05/2013 02:34, Julian H. Stacey wrote:

Good question. I don't know why. I wish all were, it would keep spam out.


There have been some discussions about this in the past. 
freebsd-questions doesn't require subscribing to avoid people who may be 
unfamiliar with mailing lists being put off posting to it.


--
Bruce Cran
___
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 fdisk broken?

2013-03-22 Thread Bruce Evans

On Fri, 22 Mar 2013 mla_str...@att.net wrote:


I recently bought a 4 TB usb disk drive and discovered that it reported
a sector size of 4096 bytes instead of the traditional 512 bytes.  This
is apparently necessary because there may be a 32 bit sector number field
somewhere in the usb mass storage protocols.  It turns out that disk
drive manufacturers have been producing disks with large sector sizes
for some years now.  The feature goes by the name Advanced Format and
other things.  Look it up in Wikipedia.

FreeBSD seems to use the sector size information when interpreting MBR
partition offsets and sizes.  Unfortunately, when I try to use fdisk to
print out the partition table on my new disk drive, fdisk just says
fdisk: could not detect sector size.


It has the following gratuitous breakage at 2K for its probe of the
sector size:

#define MAX_SEC_SIZE 2048   /* maximum section size that is supported */
 
#define MIN_SEC_SIZE 512/* the sector size to start sensing at */

I used 64K for the probe maximum limit when I fixed fsck_msdosfs
(fsck_msdosfs doesn't has a probe and only supports sector sizes of
512 in -current).

Most file systems in FreeBSD have gratuitous limits on the size in their
probe for there superblock, but the limit is mostly larger than 4K.
Most of them don't need to know the sector size and don't have a probe,
but they read a fixed size that is larger than their superblock size,
so they fail if this size is smaller than the the sector size.


Otherwise the MBR partition
table seems to work correctly and newfs seems to have done the right
thing.  (It made the file system fragment size a multiple of the sector
size and I am not getting any weird error messages out of the disk
driver.)  It would be nice if fdisk also worked.  I do have to share
the disk with other operating systems that might not understand other
partition table schemes.

Is may analysis of what is going on essentially correct?
Can fdisk be made happy again?  (At least for a few more years?)


Changing the above should fix fdisk for FreeBSD.  A sector size of
4K gives a limit of 16TB for the partition table data structure,
which is enough for a few more years with single disks.  After that,
double the sector size to 8K to work for another year or two.

However, to share the disk you need all the other operating systems and
BIOS to agree that _this_ partition table scheme (with units of 4K
sectors) is what the partition table records.

Bruce
___
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: Why not simplify Copyright at boot/dmesg?

2013-02-23 Thread Bruce Cran

On 23/02/2013 23:17, Joshua Isom wrote:
That also ties in with NIH syndrome.  Gnu does that a lot just to make 
sure they can change to GPLv4 without problems, while Linux is still 
GPLv2.  It's also not just Berkeley, but other people and 
organizations hold copyrights.  From a quick glance, netatalk is by 
the University of Michigan.  Mounting a cd using cd9660, which is 
still listed as Berkeley, is probably so tested and proven by now, 
that there would be no benefit to rewriting it other than to change 
the copyright.


Other open source projects require contributors to sign copyright 
assignment agreements so all the code is under a single owner.


--
Bruce Cran
___
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: SSH on FreeBSD

2013-01-15 Thread Bruce Cran

On 15/01/2013 10:52, Matthew Seaman wrote:

That's all.  sshd will restart automatically after any reboots.  You
should be able to log into any ordinary user account remotely using the
account username and password.


Note ordinary user account - sshd on FreeBSD disallows root logins by 
default. You can change that by editing /etc/ssh/sshd_config .


--
Bruce Cran
___
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: SSH on FreeBSD

2013-01-15 Thread Bruce Cran

On 15/01/2013 12:51, Matthias Apitz wrote:

Why it is more secure via inetd.conf?


You can centralise access control via TCP Wrappers - 
http://www.freebsd.org/doc/handbook/tcpwrappers.html .


--
Bruce Cran
___
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


Boot of 9.1 under qemu-kvm 1.3 hangs at pci probing

2012-12-16 Thread Bruce Cran
I'm trying to install FreeBSD 9.1 in a Proxmox KVM, using qemu-kvm 1.3, 
but the boot process is hanging:


pbib0: matched entry for 0.1 INTA
pbib0: slot 1 INTA hardwired to IRQ 9
ioapic0: Changing polarity for pin 9 to low
found - vendor=0x1013, dev=0x00b8, revid=0x00
   domain=0, bus=0, slot=2, func=0
   class=03-00-00, hdrtype=0x00, mfdev=0
   cmdreg=0x0103, statreg=0x, cachelnsz=0 (dwords)
  lattimer=0x00 (0 ns), mingnt=0x00 (0ns), maxlat=0x00 (0ns)
[hang]

Has anyone come across this before and know of any workarounds?

--
Bruce Cran
___
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: Manually partitioning using gpart

2012-11-25 Thread Bruce Cran

On 25/11/2012 12:29, Polytropon wrote:

Won't be wrong; my understanding of the rule was 2 * size of
_possible_ RAM in the machine. But disk space is cheap, so
8 G should be fine. But again, the requirement for the swap
partition depends on what you're doing with the machine and
what you're expecting (e. g. will you want to save kernel dumps
to the swap partition?).


You probably want to stop following that rule some time before you get 
to 8 TB RAM 
(http://semiaccurate.com/2010/09/29/inphi-imbs-can-stuff-8tb-ram-system/) :)


--
Bruce Cran
___
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: VPS FreeBSD Hosting

2012-11-25 Thread Bruce Cran

On 25/11/2012 21:08, Jim Flowers wrote:

Can anyone comment on the providers and the technology in the context of
having used them specifically for FreeBSD in the last few years?  Good?
Bad? Indifferent?


What part of the world are you in? In the US there's RootBSD; in Europe 
there are a few, including Goscomb.


--
Bruce Cran
___
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 needs Git to ensure repo integrity [was: 2012 incident]

2012-11-17 Thread Bruce Cran

On 18/11/2012 05:21, Robert Simmons wrote:

Yup:
https://github.com/freebsd/


There's also git.freebsd.org.

--
Bruce Cran
___
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: laptop with no BIOS? or BIOS reflash pain

2012-10-25 Thread Bruce Cran

On 25 Oct 2012, at 08:52, Anton Shterenlikht me...@bristol.ac.uk wrote:

 I'm probably missing something here.
 ia64 uses EFI, but there's nothing
 about checking for non-signed code.
 I can boot VMS, FreeBSD, linux, etc.
 And, by the way, firmware updates from EFI via e.g.
 USB flash drives is trivial on ia64.
 Perhaps what you are describing is not about the EFI
 specification iteself, but what
 different manufacturers add on top of it?


It's in the latest UEFI spec - see 
http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Secure_boot .

-- 
Bruce Cran
___
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: laptop with no BIOS? or BIOS reflash pain

2012-10-25 Thread Bruce Cran

On 25 Oct 2012, at 09:40, Anton Shterenlikht me...@bristol.ac.uk wrote:
 So this means I might not
 be able to boot freebsd at all
 on future ia64 boxes..


Ignore the FUD - there will be an option to disable it in the firmware/BIOS 
settings.

-- 
Bruce Cran
___
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 there anything like strace for 64-bit Systems?

2012-09-08 Thread Bruce Cran

On 08/09/2012 18:14, Martin McCormick wrote:

Is there anything like strace for AMD64 FreeBSD?


See truss(1) - trace system calls.

--
Bruce Cran
___
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: doc

2012-08-18 Thread Bruce Cran

On 17/08/2012 10:17, иван кузнецов wrote:
how to open RU_FREEBSD_DOC_20111014.TBZ under windows? several program 
cant,i was attempt.7zip cant. why i not able read documentation BEFORE 
install? where it after install? second,you installer is not well, not 
very undersandingable for newbis.i mean user must hit tab in some 
dialogs,but he press enter - attempt please.it is not MISTAKE but look 
mysteriously,and user worry.you shoud do only one small step in order 
to do freebsd more frendly - publish full international docs on 
install dvd -- user only put dvd and see docs in browser.its simpler 
than rewriting os in order to div it more frendly.is it true flash 
work badly or after complex work? i cant write on my writemaster dvd 
drive with freebsd9 - brasero dont see drive.what you can say about 
it? with best regards,ivan,Russia,Moscow.


You should be able to open it using 7-zip, but you'll need 2 steps - the 
first time you run extract you'll get a tar file. Then run extract on 
*that* file to get the documentation.


--
Bruce Cran

___
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: fsck recoveries, configuration

2012-08-18 Thread Bruce Cran


On 18/08/2012 07:09, Polytropon wrote:

A can only guess: It probably means that the button is fixed
(mounted) in the machine, e. g. at the front panel.


From 

http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface :

ACPI-compliant systems interact with hardware through either a 
Function Fixed Hardware (FFH) Interface, or a platform-independent 
hardware programming model which relies on platform-specific ACPI 
Machine Language (AML) provided by the original equipment manufacturer 
(OEM).


Function Fixed Hardware interfaces are platform-specific features, 
provided by platform manufacturers for the purposes of performance and 
failure recovery. Standard Intel-based PCs have a fixed function 
interface defined by Intel,[10] which provides a set of core 
functionality that reduces an ACPI-compliant system's need for full 
driver stacks for providing basic functionality during boot time or in 
the case of major system failure.


--
Bruce Cran
___
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: compare zfs xfs and jfs o

2012-08-09 Thread Bruce Cran

On 09/08/2012 16:09, Matthias Gamsjager wrote:

Beside in production one should run with ECC memory to eliminate
the possibility of incorrect data from memory


ECC doesn't detect all memory errors.

--
Bruce Cran
___
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: fsck on FAT32 filesystem?

2012-07-22 Thread Bruce Cran

On 22/07/2012 17:14, Polytropon wrote:

Furthermore, in your example using Cygnwin's dd _on_ the disk
Cygnwin is currently running from, and the Windows it runs
on too, doesn't seem like a very good idea. I assume it will
result in a bluescreen soon and a _partially_ erased disk.


Sorry, I forgot the say that in this example Windows is booted from 
\\.\PhysicalDrive1 :)


--
Bruce Cran
___
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: fsck on FAT32 filesystem?

2012-07-19 Thread Bruce Cran

On 19/07/2012 09:15, Wojciech Puchar wrote:

no. for modern hard drives it was already proved that

dd if=/dev/zero of=/dev/disk bs=1m

is enough to make data unreadable.

for very old drives it may not


How about data stored in remapped sectors, or any flash cache?
The Secure Erase command 
(https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase) may clear all 
that data too, but without any guarantees it's better to destroy the 
disk than risk leaving classified data on it.


--
Bruce Cran
___
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: fsck on FAT32 filesystem?

2012-07-15 Thread Bruce Cran

On 15/07/2012 09:56, Wojciech Puchar wrote:
but, in spite of some fanatics here my get worried, i do recommend use 
windoze scandisk.


I'd forgotten about scandisk - for modern Windows (XP and newer) you'll 
want to use chkdsk ( e.g. 'chkdsk /F C:' ).


--
Bruce Cran
___
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: fsck on FAT32 filesystem?

2012-07-15 Thread Bruce Cran

On 15/07/2012 19:43, Wojciech Puchar wrote:


both do the same


'scandisk' is not recognized as an internal or external command,
operable program or batch file.

--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran

On 08/07/2012 13:10, Warren Block wrote:
bsdinstall(8) has a curses partition editor.  There is probably a 
trick needed to use that outside of an install context.


Just run bsdinstall partedit.

--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran

On 09/07/2012 11:16, Polytropon wrote:

If you're talking about an MS-DOS disk, then yes, it contains
a DOS partition which is formatted. In FreeBSD, we would call
it a slice (slice == DOS primary partition). In this case,
there is no (sub)partitioning, the _slice_ carries the MS-DOS
file system here. You know that MS-DOS does not have support
for partitioning.


Floppy disks aren't partitioned/sliced - they use 'dangerously 
dedicated' mode, containing nothing except the filesystem. The way you'd 
mount it would be:


mount /dev/fd0 /mnt/point

You can do the same with a normal USB or other disk using:

newfs /dev/da0
mount /dev/da0 /mnt/point

The reason it's called 'dangerously dedicated' I think is that other 
systems - or even the same system months/years later if you forget and 
run the wrong tools - won't know there's a filesystem there and it's 
easy to think the disk's empty.  If you're on an old system and run 
'gpart show da0' and don't see a partition table it's quite easy to 
forget to check if da0 itself contains a filesystem.


When using GPT what were called slices are now partitions, and instead 
of 'ada0s1a' (disk 0, slice 1, partition a) you just have 'ada0p1'. A 
partition table supports up to 4096 entries (gpart creates one 
supporting 128 by default) so there's no need for the freebsd container 
any more - you just create freebsd-boot, freebsd-ufs, freebsd-zfs, 
freebsd-swap entries e.g. 'gpart add -t freebsd-ufs -s 64g da0'.


--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran

On 09/07/2012 13:17, Wojciech Puchar wrote:

they use dangerously obsolete mode. nobody use them at all.



A company I worked with were still distributing files on floppy disks as 
recently as 2009. They _are_ obsolete, but I suspect plenty of people 
still use them.



unless it is a normal way of using it.


That's right - I was thinking of my system where I destroyed all the 
data on a HDD because it didn't have a partition table. When I ran the 
FreeBSD installer and saw the disk was 'empty' I forgot it had a 
filesystem and reformatted it. Obviously people using floppy or USB 
disks would be more ready for there to be data on the disk without a 
partition table.


--
Bruce Cran

___
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: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran

On 09/07/2012 13:29, Wojciech Puchar wrote:
only your fault, not FreeBSD. Why you connected your data disk at 
first place.


I didn't say it was FreeBSD's fault. If I thought it was, I would have 
fixed it!


--
Bruce Cran
___
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: YASSDQ

2012-07-09 Thread Bruce Cran

On 09/07/2012 11:31, Wojciech Puchar wrote:
All use 4K as it is NTFS default block size and most are sold to be 
used with windoze.


Apparently the Intel 320 SSDs use an 8KB page/block size.

--
Bruce Cran
___
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: Using smartctl to detect scan errors (like google tells me to do ...)

2012-07-09 Thread Bruce Cran

On 09/07/2012 16:12, Jason Usher wrote:

What is a scan error, and which metric should I tell smartctl to check ?


I think they mean a SMART scan, as in a self-test - 
http://www.twopenguins.it/2011/12/test-an-hard-disk-with-smartctl/ has 
details of how to run it.


--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran

On 08/07/2012 13:30, Polytropon wrote:

With few routine, tasks are performed more natural using
the desired CLI tools. You don't go Now I have to remember
which command to format the disk, you just format the disk,
which means spaking to newfs. The more often you do it,
the more obvious the tools are, and they won't change in
look and feel (or options). That makes them superior.


How do you format a FAT32 partition? newfs won't work. Is it newfs_vfat, 
newfs_fat32, newfs_msdos etc.? And how do you specify you want FAT32 
instead of FAT12 or FAT16? With a good GUI tool like diskmgmt.msc in 
Windows 2008 you simply right-click the partition and click New Volume 
to create a new partition, or Format to format it - and then follow 
the prompts.  Of course using diskpart is faster if you know the 
commands and parameters, but for an ordinary user adding a new disk 
maybe once a year it's most likely more efficient to just use the GUI.


--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran

On 08/07/2012 16:06, Ian Smith wrote:

In general they're not distinct in usage from any other type of disk.


The more expensive disks of course support TRIM so you'd want to pass -t 
to newfs to enable it.


--
Bruce Cran
___
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: Format a USB flash drive using gpart

2012-07-08 Thread Bruce Cran

On 08/07/2012 21:51, Wojciech Puchar wrote:

can you give me an example of pendrive that supports TRIM?


LaCie FastKey 
(http://www.tomshardware.co.uk/usb-3.0-thumb-drive-flash-drive,review-32174-5.html).


--
Bruce Cran
___
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: GUI for gpart

2012-07-07 Thread Bruce Cran

On 07/07/2012 23:04, Thomas Mueller wrote:

I think gpart is the newer disk partitioning program for FreeBSD, replacing the 
older gpt still used in NetBSD and DragonFlyBSD.


No. gpart is the tool - it supports both mbr and gpt partitioning schemes.

--
Bruce Cran
___
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: GUI for gpart

2012-07-07 Thread Bruce Cran

On 07/07/2012 23:08, Bruce Cran wrote:

On 07/07/2012 23:04, Thomas Mueller wrote:
I think gpart is the newer disk partitioning program for FreeBSD, 
replacing the older gpt still used in NetBSD and DragonFlyBSD.


No. gpart is the tool - it supports both mbr and gpt partitioning 
schemes.




Sorry you're right - I've seen lots of people thinking gpart only 
supports GPT and didn't read it properly before replying.


--
Bruce Cran
___
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-10 Thread Bruce Cran

On 10/06/2012 16:09, Nomen Nescio wrote:

The point is the WinTel Mafia's many years of collusion and screwing over
the customer. Try to buy a commodity PC in any major store and it will come
with Windows, and you have to pay for it.


Does Intel control AMD too? Last I checked there are plenty of AMD 
machines in major stores and they come with Windows too.


--
Bruce Cran
___
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: Configuration problem with IPv6 router (cannot forward src)

2012-06-08 Thread Bruce Cran

On 07/06/2012 23:56, Robert Bonomi wrote:

Please provide the output from these two commands:
ifconfig  -a
netstat -nr
on both the router and on an 'inside' machine. (identifying which is which:)

There is also a question of 'where' the /48 comes from -- and how
traffic to those addresses is being routed from the outside world.


The /48 came from my ISP, so it should be getting routed correctly.

ifconfig -a (with ral0/lo0 removed):

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=4219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO
ether [em0_MAC]
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::[em0_MAC]%em0 prefixlen 64 scopeid 0x1
inet6 [prefix]:a::b prefixlen 64
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active
em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=4219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO
ether [em1_MAC]
inet6 fe80::[em1_MAC]%em1 prefixlen 64 scopeid 0x2
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (100baseTX full-duplex)
status: active
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492
options=8LINKSTATE
inet6 fe80::[em0_MAC]%tun0 prefixlen 64 scopeid 0xf
inet [MYADDR] -- [HISADDR] netmask 0xff00
inet6 [prefix]:c::b prefixlen 64
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
Opened by PID 1092


Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default[HISADDR]   UGS 0 2476   tun0
[MYADDR]   link#15UHS 00lo0
[HISADDR]   link#15UH  00   tun0
127.0.0.1  link#14UH  00lo0
192.168.2.0/24 link#1 U   0 3985em0
192.168.2.1link#1 UHS 00lo0

Internet6:
Destination   Gateway Flags  Netif Expire
::/96 ::1 UGRSlo0 =
default   fe80::[em0_MAC]%tun0   UGS tun0
::1   link#14 UH  lo0
:::0.0.0.0/96 ::1 UGRSlo0
[prefix]:c::/64   link#15 U  tun0
[prefix]:c::1 link#15 UHS lo0
[prefix]:a::/64   link#1 U   em0
[prefix]:a::1 link#1 UHS lo0
fe80::/10 ::1 UGRSlo0
fe80::%em0/64 link#1 U   em0
fe80::[em0_MAC]%em0  link#1UHS lo0
fe80::%em1/64 link#2 U   em1
fe80::[em1_MAC]%em1  link#2UHS lo0
fe80::%lo0/64 link#14 U   lo0
fe80::1%lo0   link#14 UHS lo0
fe80::%tun0/64link#15 US tun0
fe80::[em0_MAC]%tun0 link#15   UHS lo0
ff01::%em0/32 fe80::[em0_MAC]%em0  U em0
ff01::%em1/32 fe80::[em1_MAC]%em1  U em1
ff01::%lo0/32 ::1 U   lo0
ff01::%tun0/32fe80::[em0_MAC]%tun0 US tun0
ff02::/16 ::1 UGRSlo0
ff02::%em0/32 fe80::[em0_MAC]%em0  U em0
ff02::%em1/32 fe80::[em1_MAC]%em1  U em1
ff02::%lo0/32 ::1 U   lo0
ff02::%tun0/32fe80::[em0_MAC]%tun0 UGS tun0

rtadvd.conf contains:

em0:\
 :addrs#1:addr=[prefix]:a:::prefixlen#64;tc=ether:raflags=o:

rc.conf contains:

ifconfig_em0= inet 192.168.2.1 netmask 255.255.255.0
ifconfig_em0_ipv6= inet6 [prefix]:a::b
ifconfig_em1=up
pf_enable=YES
gateway_enable=YES
ppp_enable=YES
ppp_nat=NO
ppp_goscomb_mode=ddial
ppp_goscomb_nat=NO
ppp_profile=isp
ipv6_gateway_enable=YES
ipv6_network_interfaces=em0 em1 tun0
dhcpd_enable=YES
dhcpd6_enable=NO
dhcpd_flags=-q
dhcpd6_flags=-q
dhcpd_conf=/usr/local/etc/dhcpd.conf
dhcpd6_conf=/usr/local/etc/dhcpd6.conf
dhcpd_ifaces=em0
dhcpd6_ifaces=em0
dhcpd_withumask=022
dhcpd6_withumask=022
dhcpd_chuser_enable=YES
dhcpd6_chuser_enable=YES
dhcpd_withuser=dhcpd
dhcpd6_withuser=dhcpd
dhcpd_withgroup=dhcpd
dhcpd6_withgroup=dhcpd
dhcpd_chroot_enable=YES
dhcpd6_chroot_enable=YES
dhcpd_devfs_enable=YES
dhcpd6_devfs_enable=YES
dhcpd_rootdir=/var/db/dhcpd
dhcpd6_rootdir=/var/db/dhcpd6
rtadvd_enable=NO
rtadvd_interfaces=em0

I've tried configuring a machine with a static configuration, bypassing 
any issues with rtadvd/dhcpd6 so I'm fairly sure the problem is on the 
router.


--
Bruce Cran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Configuration problem with IPv6 router (cannot forward src)

2012-06-08 Thread Bruce Cran

On 08/06/2012 06:59, Matthew Seaman wrote:

Probably.  The good news is that once you've got it running the IPv6
support in FreeBSD is rock solid and works like a charm.



It turns out that PF was being too helpful and trying to NAT for both 
IPv4 and IPv6 - adding 'inet' to the nat on $ext_if... line fixed it.


--
Bruce Cran
___
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


Configuration problem with IPv6 router (cannot forward src)

2012-06-07 Thread Bruce Cran
I'm trying to set up a IPv6 router (running -current) on my home 
network. My ISP gives me a /128 via PPP and I have a /48 allocation, 
which I use to give em0 and tun0 public addresses in different subnets 
(tun0 is assigned the address via ppp.linkup).
I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, 
ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites 
from the router.


The problem is that rtadvd continues advertising the default gateway as 
tun0's link-local address - and pinging from a machine on the network 
results in cannot forward src messages on the router (strangely, 
despite hisaddr being fe80::205:... in ppp.log, the kernel logs the 
address as fe80:f::205:...).


Is there some extra configuration I've likely missed that's needed when 
using IPv6 via PPP?


--
Bruce Cran
___
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-06 Thread Bruce Cran

On 06/06/2012 08:32, Matthew Seaman wrote:

On deeper thought though, the whole idea appears completely unworkable.
  It means that you will not be able to compile your own kernel or
drivers unless you have access to a signing key.  As building your own
is pretty fundamental to the FreeBSD project, the logical consequence is
that FreeBSD source should come with a signing key for anyone to use.


It just means that anyone wishing to run their own kernels would either 
need to disable secure boot, or purchase/create their own certificate 
and install it.


--
Bruce Cran
___
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-06 Thread Bruce Cran

On 06/06/2012 11:24, Jerry wrote:


They should have taken this into account a long time ago. In any
case, we are talking $99 dollars total, not per user here for the
certificate. If that is going to cause a problem, I'll donate the $99.


It's not the $99 that'll be the problem, but the fact that it's Verisign 
(actually Symantec, since they bought Verisign) that you deal with. 
Whereas Globalsign accept applications from individuals, Verisign 
require company documents before they'll generate a certificate.


--
Bruce Cran
___
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-06 Thread Bruce Cran

On 06/06/2012 11:38, Bruce Cran wrote:
It's not the $99 that'll be the problem, but the fact that it's 
Verisign (actually Symantec, since they bought Verisign) that you deal 
with. Whereas Globalsign accept applications from individuals, 
Verisign require company documents before they'll generate a certificate.




I've just checked, and I'm wrong - they seem to have changed things and 
now allow signups from individuals.


--
Bruce Cran
___
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-06 Thread Bruce Cran

On 06/06/2012 20:27, Robert Bonomi wrote:
Suppose I put up a web app that takes an executable as input, signs it 
with my key, and returns the signed filt to the submitter. I don't 
divulge the key to anyone, just use it on 'anything'. Anybody 
attempting to revoke on _that_ basis is asking for a lawsuit.


To me it would be perfectly reasonable to revoke the key as soon as you 
signed the first piece of malware. And then anyone who has used the 
service is left with broken binaries, so the model fails.


--
Bruce Cran
___
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-05 Thread Bruce Cran

On 05/06/2012 19:27, Antonio Olivares wrote:

I believe that should be unnecessary.  It would only be a matter of
time before someone breaks the M$ layer of poop that is supposed to
prevent folks from booting other OSes other than Window$.  They hit
the panic button too soon IMHO.


Press Delete/F1 during boot, select Advanced - Trusted Computing. 
Change TCG/TPM Support to No.  But according to Cory Doctorow, that's 
far too finicky and highly technical 
(http://boingboing.net/2012/05/31/lockdown-freeopen-os-maker-p.html)!


By the way it's not Microsoft's stuff people would have to break, but 
UEFI. I think secure boot actually makes sense, but preventing users 
disabling it or installing their own keys on ARM platforms is totally wrong.


--
Bruce Cran
___
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-05 Thread Bruce Cran

On 05/06/2012 20:12, Gökşin Akdeniz wrote:

That's restriction is only for ARM devices which have a label that says
Desgined for Windows8. In other words those devices can not boot
another os except Windows 8 due to secure boot option enabled by
default.


Not quite. As I understand it, on ARM secure boot will be enabled by 
default and users won't have any option of disabling it or adding their 
own keys. On x86 secure boot will be enabled by default too, but with 
the option of disabling it or adding custom keys.


--
Bruce Cran
___
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


9.0 and bsdinstall - avoiding updating the MBR

2011-11-20 Thread Bruce Cran
I'm planning to install FreeBSD alongside a whole range of Windows 
builds for testing. In 8.x it's possible to tell the installer not to 
bother updating the MBR so you can use something like EasyBCD to boot it 
via the Windows bootloader instead. Is it still possible on 9.0-RC2 
using bsdinstall? I don't seem to remember seeing any option to avoid 
writing out the new boot code.


--
Bruce Cran
___
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: Urgent!. Problem with / etc / rc.conf

2011-11-06 Thread Bruce Cran

On 06/11/2011 04:10, Zantgo wrote:

Without wanting to erase all contents of / etc / rc.conf, by running echo slim_enable = 
YES   / etc / rc.conf. Please help!.


You could have used the following:

echo slim_enable = YES  /etc/rc.conf

The  appends the line instead of replacing the existing contents.

--
Bruce Cran
___
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: Breakin attempt

2011-10-22 Thread Bruce Cran

On 22/10/2011 14:43, Admin ValhallaProjectet wrote:

Apparently, I'm under some kind of attack,  for the last 3 days.

Lots of attempts to ssh in as root from many different IP addresses.

No bruteforce attempts.



Appreciate all ideas of how to proceed with this mather.



Keep calm and carry on?
I suspect that these sorts of attacks are fairly normal if you're 
running ssh on the standard port. I used to have lots of 'break-in 
attempts' before I moved the ssh server to a different port.


--
Bruce Cran
___
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: Breakin attempt

2011-10-22 Thread Bruce Cran

On 22 Oct 2011, at 15:12, Polytropon wrote:

 On Sat, 22 Oct 2011 15:08:50 +0100, Bruce Cran wrote:
 I suspect that these sorts of attacks are fairly normal if you're 
 running ssh on the standard port. I used to have lots of 'break-in 
 attempts' before I moved the ssh server to a different port.
 
 Is there _any_ reason why moving from port 22 to something
 different is _not_ a solution?

If you run some sort of shell server, or where many people need to login using 
ssh, you'll have a bit of a support problem telling people to select the 
non-default port. Also, some might consider it security through obscurity, 
which is often said to be a bad thing.

-- 
Bruce Cran

___
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: Turn off hyperthreading on dual core Atom?

2011-08-29 Thread Bruce Cran

On 29/08/2011 18:24, Brett Glass wrote:
With hyperthreading, the FreeBSD scheduler simply acts as if there are 
4 CPUs. Each CPU gets clock interrupts (which add overhead), and the 
scheduler is naive about the fact that two of the CPUs are not 
separate chips and could be held up if its mate has a heavy load. I do 
not know if the supposed higher utilization of the resources on each 
chip (including executing one thread while the CPU waits for data for 
another) is worth it. What has your experience been?


Actually, the ULE scheduler does know about HyperThreading and the 
topology of such CPUs. I don't know what it does with the information, 
but it probably works to optimize cache usage etc.


--
Bruce Cran
___
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


postgresql-libpqxx

2011-08-10 Thread Bruce Meier

Hi,

I have installed postgresql-libpqxx and included it in a test program 
and get the following error:

main.cpp:1:21: error: pqxx/pqxx: No such file or directory.

Thanks for any help you can offer.

Bruce Meier
___
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: Alternative windowmanagers

2011-08-08 Thread Bruce Cran

On 05/08/2011 20:12, Christian Barthel wrote:

Are there any other window manager worth looking?

What is your window manager?


When I'm not running KDE I like using Window Maker.

--
Bruce Cran
___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-23 Thread Bruce Cran

On 23/07/2011 22:58, Chad Perrin wrote:

Do you realize that MS Windows has nothing equivalent to rc.conf or
/etc/network/interfaces?


It does: it's in the registry. 
HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces 
contains a list of interfaces and their settings.


%SystemRoot%\System32\drivers\etc contains several BSD configuration 
files for DNS settings, protocols etc.


--
Bruce Cran
___
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: 2020: Will BSD and Linux be relevant anymore?

2011-07-21 Thread Bruce Cran

On 21/07/2011 15:15, Chad Perrin wrote:
It may not be anything so exotic. On a per-release basis, the MS 
Windows ABIs and APIs change far more dramatically than the Linux 
kernel, and are far less transparent to developers; they must in many 
cases be discovered by experimentation, being closed source software. 
Over a given period of time, the changes to Linux may be greater in 
number and magnitude (I'm not a kernel hacker, so I wouldn't know for 
sure), but they're spread out over time rather than bundled in a major 
collection of changes with a new marketing campaign. This might make 
it much more difficult to target the MS Windows ABIs and APIs. I'm 
just speculating, though. As I said, I'm not a kernel hacker. 


On Windows, the APIs don't change that much (there are new functions for 
NUMA support in Windows 7 for example), but certain ABIs change with 
each service pack. However, since a lot of drivers built for Windows XP 
can still install on Windows 7, an effort appears to be made to maintain 
a stable public ABI - Microsoft recommends using the build environment 
for the earliest version of Windows that you want to target.  On Linux, 
the API/ABI issue is far worse, since you have a different ABI between 
different builds of the same kernel.


--
Bruce Cran
___
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: 2020: Will BSD and Linux be relevant anymore?

2011-07-21 Thread Bruce Cran

On 21/07/2011 18:00, Chad Perrin wrote:
I suspect those drivers are the drivers that have *survived*. I saw 
hardware suddenly stop working because of driver issues just between 
SP1 and SP2 of XP -- including, in one case, the hard drive that had 
the OS on it. The system would start booting, then unload the driver 
because it was not compatible, thus losing contact with the very 
hard drive from which it was loading the OS. Maybe I was just lucky, 
though. 


Obviously Microsoft does introduce new driver technologies with new OS 
releases: there was a new video architecture in Vista, for example. 
However, they do seem rather good at supporting older technologies such 
as TDI, and I suspect those drivers that fail aren't very well written.


--
Bruce Cran
___
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: build ports from not a root user?

2011-07-21 Thread Bruce Cran

On 21/07/2011 19:31, Daniel Staal wrote:

On Thu, July 21, 2011 2:26 pm, Peter Vereshagin wrote:

Oh Daniel want you buy me a mersedes benz?
2011/07/21 14:01:04 -0400 Daniel Staaldst...@usa.net  =  To
freebsd-questions@freebsd.org :
DS  Ok, then I've already answered your question several emails ago.  The
DS  ports system will do this automatically with a simple 'make', 'make
DS  install', or 'make depends; make install'.  And you said you knew
about

No it doesn't.

'all' target includes 'depends' target.
'depends' target includes performing 'make install' on the dependencies
which
I'd like to avoid.

This can be avoided if a some tool like the portupgrade has did them
already.
It can do it that same way, too: build as a non-root user and then install
as a
root user.

That way the 'make depends' can be done as a non-root user as it's a no-op
additional check.

So you want to install software without installing it's dependencies
first?  Or build software without installing it's build dependencies
first?


The easiest way to build ports under a non-privileged user is probably 
to use portmaster (ports-mgmt/portmaster): it has a PM_SU_CMD which is 
normally set to /usr/local/bin/sudo which it uses whenever it needs to 
elevate to root.


--
Bruce Cran
___
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: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-18 Thread Bruce Ferrell

On 07/18/2011 01:32 PM, Paul Schmehl wrote:
--On July 18, 2011 2:44:15 PM -0500 Gary Gatten ggat...@waddell.com 
wrote:



snip

I've always been curious why Linux seemed to take off so fast when
other FOSS / non Winblow$ OS's were available for some time with not 
much

traction; OS/2, BeOS, *nix with X11, etc.

Not just on the desktop, but servers as well.  Supported versions of
Linux such as RHEL, Suse, etc. seem to have made more headway into the
enterprise computing environment in the last ten years than *BSD did in
the last 30.


From my personal experience - which is relatively limited - it seems
applications just work on Linux?  When I need to compile an app, it
takes a few mins on Linux - but may take me a few weeks on FBSD.
Granted someone more knowledgeable with FBSD, Compilers, etc. could do
it much faster than I.


Anyway, if someone has a brief explanation of why Linux has apparently
triumphed (in so far as installed base, desktop penetration, etc.) where
so many others have failed (including IBM with OS/2) I'd be 
interested in

hearing those thoughts.



I'll hazard a guess.  Linux was new and shiny and all the rage when 
computer science really took off in the higher ed field.  So geeks 
wanted to use it, but to do so at that time you had to be a bit of a 
coder.  So the number of people hacking on it and submitting changes 
ballooned. Basically, anyone who wanted to submit a change could, but 
Linux kept the base kernel code management to prevent major mistakes.


Then all their friends wanted it too, but they couldn't code.  So the 
push for ease of use began.  That was the genesis of projects such as 
kde and gnome and the drive behind getting things like flash and 
cutting edge drivers working in Linux.


Meanwhile, the *BSDs were those old stogdy OSes that nobody was 
using any more, so there was no great incentive for geeks to check it 
out and use it.  Remember the old saw, Unix is user friendly.  It's 
just picky about who its friends are.?


So Linux was becoming more user friendly and gaining all sorts of 
GUI crud that made it easier for non-geeks to be admins while the 
BSDs were still rolling down the tried and true path of development 
that required that you actually understand the innards if you really 
wanted to be an admin.


Linux hasn't triumphed, BTW, it's merely in ascendancy right now.  
It could well go by the wayside if a major problem erupts and doesn't 
get resolved quickly.


In short, some people chase the newest shiniest thing.  Others prefer 
to stick with what works.  Often, the newest shiniest folks, after 
they've gained some wisdom, move to the other camp.  So you could well 
see a resurgence of BSD as Linux admins who've grown tired of its 
quirks but have gained some unix skills start moving back toward the 
BSD side.


This isn't a guess.  Back in the olden days of 1991, in the days was 
386BSD was a glimmer of articles in Dr Dobbs I and a lot of other *IX 
enthusiasts dutifully compiled what was given us.  Among  us there was a 
young Finnish student who want to contribute... And wasn't allowed.  SO 
he went on to create this new thing that accepted contributions from 
anyone just so the code hung together.  He called it Linux as a sort of 
pun on the then prevelent training system called MINIX.  Because it 
accept contributions from anyone who could code or test, it gained 
enormous popularity.  It wasn't exclusive.


*BSD to this day still suffers from it's exclusive attitude to this very 
day.  You can find the attitude in it's developers as evidenced by 
fairly recent posting from lead developers says (or words to this 
effect) BSD is for developers and we don't care what the desktop users want.


This isn't intended as a flame, just a historical recounting.  If you 
want to know what's wrong (and in my opinion Lennert is every bit as 
wrong in the same exact way) look inward.

___
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: ghghg

2011-07-15 Thread Bruce Cran

On 15/07/2011 00:13, Gary Kline wrote:

Apologies to everyone.  i've ben trying to get mail going
between here to -questions fr 11 days and NOTHING seemd to
ork   i really didnt think this ould work.  speciallly
after
ail to -test bouncedd: not available


The last email in the freebsd-test archives is from May 2010, so I think 
it's broken - which is rather unfortunate.


--
Bruce Cran
___
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: {SPAM} New games for you

2011-06-19 Thread Bruce Cran

On 19/06/2011 12:38, Jerry wrote:


Interestingly enough, WOThttp://www.mywot.com/  rates that site very
poor and displays a warning when it is visited.


I suspect some people like reporting sites as bad. Mine was reported as 
not safe: has the trojan virus and I had to ask Norton to re-check it 
before it marked it as OK.


--
Bruce Cran
___
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: finding kernel 'r' number

2011-06-16 Thread Bruce Cran
On Thu, 16 Jun 2011 08:16:45 -0400
Robert Huff roberth...@rcn.com wrote:

   For some time now, people have been referring to what build
 they're using by the 'r' number, which I believe to be part of svn.
   How would one go about determining this value for the
 installed kernel?

I'm not sure you can: the revision only shows up if you have svn
installed (devel/subversion-freebsd) and have built the kernel from code
checked out from the svn server.

-- 
Bruce Cran
___
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 9.0-RELEASE

2011-05-03 Thread Bruce Cran
On Tue, 03 May 2011 20:48:55 -0400
Daniel Staal dst...@usa.net wrote:

 Basically, as far as I can tell, 9 and/or 8.3 will come out when they
 come out.  No sooner and no later.

I think the plan for 9.0 is some time this summer.

-- 
Bruce Cran
___
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: disk problem: suggestion on how to handle...

2011-04-26 Thread Bruce Cran
On Tue, 26 Apr 2011 07:08:21 +0200
Denis Fortin for...@acm.org wrote:

 So, is there a way to mark the inode bad and then launch an fsck ?
 How can I turn offset=-574217714356717568 into a usable piece of
 information?

It looks like something is causing geom to try and read way past the
end of the disk?

-- 
Bruce Cran
___
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: gpart questions

2011-04-26 Thread Bruce Cran
On Tue, 26 Apr 2011 03:10:48 -0500
CyberLeo Kitsana cyber...@cyberleo.net wrote:

 # gpart add -b 63 -s 1048500 -t freebsd md0

You could simplify it by using:

gpart add -b 63 -t freebsd md0

 # gpart add -b 16 -s 1048484 -t freebsd-ufs md0s1

Likewise:

gpart add -b 16 -t freebsd-ufs md0s1

Or, if you want to specify a size, you can use -s 512m

-- 
Bruce Cran
___
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: Password theft from memory?

2011-04-26 Thread Bruce Cran
On Mon, 25 Apr 2011 23:29:08 +0100
RW rwmailli...@googlemail.com wrote:

 The reason I thought that heap memory isn't zeroed is from the
 discussion of pre-zeroed pages in this article: 

There's an idlezero task that runs by default (via
the vm.idlezero_enable sysctl), zeroing unused pages, but malloc itself 
doesn't zero memory on demand by default. If you enable the 'Z' 
malloc.conf(3) option it does, though:

ZEach byte of new memory allocated by malloc(), realloc() or
 reallocf() will be initialized to 0.  Note that this initializa-
 tion only happens once for each byte, so realloc() and reallocf()
 calls do not zero memory that was previously allocated.  This is
 intended for debugging and will impact performance negatively.


-- 
Bruce Cran
___
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: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-23 Thread Bruce Cran
On Fri, 22 Apr 2011 09:52:44 -0700
Devin Teske dte...@vicor.com wrote:

 Looks like `--hline' is not supported anymore. Thinking this should
 either be patched or documented in ERRATA/UPGRADING.

I think you mean UPDATING :)

-- 
Bruce Cran
___
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: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-04-22 Thread Bruce Cran
On Fri, 22 Apr 2011 15:41:46 +
Alexander Best arun...@freebsd.org wrote:

 FreeBSD 9.0-CURRENT amd64

A new version of dialog was imported a few days ago - maybe something
broke?

-- 
Bruce Cran
___
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: pkg_add problem

2011-04-19 Thread bruce

Your firewall may be the problem.
___
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: Mailing list etiquette (Was: Re: Linksys-E4200 Wireless N-router)

2011-04-08 Thread Bruce Cran
On Fri, 8 Apr 2011 23:15:11 +0200
Erik Trulsson ertr1...@student.uu.se wrote:

 You seem to miss one crucial fact:  Not all the people who write to
 this list are subscribed to it.  They will not see any replies
 directed only to the list.  It is for their benefit that that rule
 exists.

I don't know about anyone else, but personally I like getting replies
CC'd to me because they end up in my INBOX - otherwise I often don't
notice someone's replied since there are so many new messages to the
mailing list each day.

-- 
Bruce Cran
___
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: 8-CURRENT: where is my memory?

2011-04-07 Thread Bruce Cran
On Thursday 07 Apr 2011 11:58:50 Matthias Apitz wrote:

 VMware memory control driver initialized

Could this have removed a block of memory for its own use outside of the 
normal VM subsystem?

-- 
Bruce Cran
___
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: GEOM warning in dmesg

2011-04-06 Thread Bruce Cran
On Wednesday 06 Apr 2011 17:58:21 Jamie Paul Griffin wrote:

 i'm sorry but that doesn't make any sense at all. could you explain a
 solution more clearly please?

There's no problem. Maybe MS-DOS or Windows 95 would have problems with such a 
layout, but modern operating systems don't.

-- 
Bruce Cran
___
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: am i back up....???

2011-04-04 Thread Bruce Cran
On Sun, 03 Apr 2011 13:04:39 -1000
Al Plant n...@hdk5.net wrote:

 Recently I've sent tests to a couple of our subscribers that I know 
 personally since the tests never came back. Thanks for the heads up
 as to why.
 
 Any chance of getting it fixed?

I told the admin about it last year and it doesn't appear to have been
fixed yet.

-- 
Bruce Cran
___
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: allBSD Japan servers ?

2011-04-04 Thread Bruce Cran
On Mon, 4 Apr 2011 16:53:59 +0200
Ross Cameron ross.came...@unix.net wrote:

 works just fine here (im in south africa) so maybe a routing issue ???

It seems to have been fixed in the time between the original message
and your reply :)

-- 
Bruce Cran
___
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: allBSD Japan servers ?

2011-04-04 Thread Bruce Cran
On Tue, 5 Apr 2011 03:41:52 +0900
Kouichiro Iwao m...@club.kyutech.ac.jp wrote:

 It have been recovered from hardware failure on Mar 28th.

There's something strange going on with IPv6 connectivity to the server
(not new - it's been happening for over a year) - over IPv4 it's quite
fast but IPv6 is really slow - I only get around 12 kB/s from the UK.
From looking at things at my end it looks like a problem with a machine
somewhere between the USA and Japan, but I don't know if the path's
symmetric. It's been suggested that it might be a TCP windowing
problem on one of the links though.

-- 
Bruce Cran
___
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: console based sound control

2011-04-03 Thread Bruce Cran

On 03/04/2011 14:59, Alokat wrote:


I'm looking for a sound control tool (like alsamixer) but for oss.

Does someone know one?


Have you tried mixer(8)?
http://www.freebsd.org/cgi/man.cgi?query=mixerapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html

--
Bruce Cran



Re: am i back up....???

2011-04-03 Thread Bruce Cran

On 02/04/2011 21:54, David Chanters wrote:


You could have just sent yourself an email.  But yes, here you are.


I was going to suggest Gary should have used the freebsd-test mailing 
list but then I realised it's been broken since May last year.


--
Bruce Cran



Re: searching for a good IDE

2011-03-27 Thread Bruce Cran
On Sun, 27 Mar 2011 15:41:28 +0200
Alokat mail...@alokat.org wrote:

 I'm searching for a good IDE for my development stuff - c, c++,
 python, rails, php 
 Can someone advise one?
 And I don't wanna use eclipse. :-)

KDevelop (http://www.kdevelop.org/) 4 is quite good.

-- 
Bruce Cran
___
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: allBSD Japan servers ?

2011-03-25 Thread Bruce Cran
On Fri, 25 Mar 2011 08:59:19 -1000
Al Plant n...@hdk5.net wrote:

 Anybody know what happened to the http; or ftp servers for allbsd.org 
 japan? Did the Tsumnami put them down?

The machine's there but is refusing connections:

 ping6 pub.allbsd.org
PING6(56=40+8+8 bytes) 2a01:348:0:15:5d59:5c40:0:1 --
2001:2f0:104:e001::34 16 bytes from 2001:2f0:104:e001::34, icmp_seq=0
hlim=48 time=269.213 ms 16 bytes from 2001:2f0:104:e001::34, icmp_seq=1
hlim=48 time=268.705 ms 16 bytes from 2001:2f0:104:e001::34, icmp_seq=2

-- 
Bruce Cran
___
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: spam?

2011-03-13 Thread Bruce Cran
On Sun, 2011-03-13 at 06:49 -0500, ajtiM wrote:
 In the last week I got four emails like this one today:
 
 From: a href=mailto:br...@cran.org.uk;br...@cran.org.uk/abr/
 To: a href=mailto:per...@pluto.rain.com;per...@pluto.rain.com/abr/
 CC: a href=mailto:free...@edvax.de;free...@edvax.de/a, a 
 href=mailto:lum...@gmail.com;lum...@gmail.com/a, a href=mailto:freebsd-
 questi...@freebsd.orgfreebsd-questions@freebsd.org

That's not from me - it's from a company called ParkLogic who are
forging emails.  See
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2010-12/msg00591.html 
for more details.

-- 
Bruce Cran

___
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: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Bruce Cran
On Fri, 11 Mar 2011 15:29:44 -0500
Brian Waters brianmwat...@gmail.com wrote:

 It seems to me that under /dev, you can have the following
 sound-related device files:
 
 dspX
 dspX.Y
 (among others)
 
 I'm having some trouble getting my sound to work (Dell Inspiron
 E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
 manpages for snd and snd_hda (which is the appropriate driver), and
 increased the verbosity of the drivers and read the kernel log and
 /dev/sndstat, but I still can't quite wrap my head around everything.

If the driver appears to load, then /dev/dsp should be created
automatically when something tries to access it (e.g. cat /dev/random
 /dev/dsp).

-- 
Bruce Cran
___
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 it safe to run tcpdump?

2011-03-05 Thread Bruce Cran
On Sat, 5 Mar 2011 11:47:19 -0700
Modulok modu...@gmail.com wrote:

 What do you mean by 'safe'?

As in secure?
http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc

-- 
Bruce Cran
___
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 kernel init slower than linux

2011-03-04 Thread Bruce Cran
On Fri, 2011-03-04 at 23:10 +0100, David Demelier wrote:

 Why FreeBSD is so slower than Linux to boot the kernel?

I think it's because no concerted effort has been put into optimizing
the boot time on FreeBSD. I tested a stripped-down kernel on my iBook G4
a while ago and it would boot in a couple of seconds - but that was
without any network card, USB support etc.

-- 
Bruce Cran

___
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: portmaster -afv -no-confirm --clean-distfiles-all command - too much automation???

2011-03-02 Thread Bruce Cran
On Wed, 2 Mar 2011 09:57:14 -0800
Ed Flecko edfle...@gmail.com wrote:

 Do you think that's a little too much automation, or do you think that
 would be pretty safe to run without screwing things up?

I think portmaster's documentation explicitly advises against using -af
to rebuild all ports. See the man page for details.

-- 
Bruce Cran
___
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: atacontrol spindown 0 does not work

2011-03-01 Thread Bruce Cran
On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote:

 But I can still hear the noise every 10 seconds, I think atacontrol does 
 not totally close the APM feature of the device.

atacontrol's spindown setting doesn't change anything in the disk
itself: it just controls a timer in the ad(4) driver which sends a
spindown command when it expires. You'll need to keep using ataidle to
fix the APM value.

-- 
Bruce Cran

___
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: atacontrol spindown 0 does not work

2011-03-01 Thread Bruce Cran
On Tue, 2011-03-01 at 11:47 +0100, Matthias Apitz wrote:

 I'm wondering why you would
 prefere atacontrol?

I think everyone's been looking for an official solution.

-- 
Bruce Cran

___
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: using gpart(8) to slice a disk

2011-02-28 Thread Bruce Cran
On Mon, 28 Feb 2011 14:52:44 +0100
Matthias Apitz g...@unixarea.de wrote:

 I've read the man page of gpart(8) but do not see clearly what I did
 wrong with the above sequence and esp. what would have set the missing
 boot flag?

gpart set -a active -i 1 ad4

-- 
Bruce Cran
___
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: android

2011-02-16 Thread Bruce Cran
On Wed, 16 Feb 2011 00:45:47 -0800
per...@pluto.rain.com wrote:

 Bruce Cran br...@cran.org.uk wrote:
  On Tue, 15 Feb 2011 14:51:39 +0100
  Polytropon free...@edvax.de wrote:
   You can check the partitioning of the da4 device with
 # fdisk da4
  gpart show da4 is the modern way of doing this.
 
 Even if the disk was originally sliced and partitioned using
 fdisk(8) and bsdlabel(8)?

I think so - it's just a partition table and bsdlabel.

-- 
Bruce Cran
___
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: delay in boot: ata2: ATA channel 0 on atapci0

2011-02-15 Thread Bruce Cran
On Tue, 15 Feb 2011 04:01:58 +
Alexander Best arun...@freebsd.org wrote:

 simply add
 
 options ATA_CAM
 
 to your kernel conf and your good to go after building installing the
 new kernel.

To get the benefits of AHCI I think it's better to use the ahci(4)
driver instead of the CAM-ATA wrapper.

-- 
Bruce Cran
___
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: android

2011-02-15 Thread Bruce Cran
On Tue, 15 Feb 2011 14:51:39 +0100
Polytropon free...@edvax.de wrote:

 You can check the partitioning of the da4 device with
 
   # fdisk da4

gpart show da4 is the modern way of doing this.

-- 
Bruce Cran
___
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 and SSD drives

2011-02-13 Thread Bruce Cran
On Sun, 13 Feb 2011 07:38:01 -0500
Jerry freebsd.u...@seibercom.net wrote:

 Despite all of the rubbish the FOSS community
 has spewed for over 10 years, OpenOffice is nothing more than a poor
 clone of Office 97. The newly released libreoffice might be usable
 someday; however, it is now only in its infancy. There is no way it
 can be compared to a full blown MS Office 10 suite.

For some, Office is unusable due to the new Ribbon interface and
libreoffice is the usable office suite due to its familiar menus.

-- 
Bruce Cran
___
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 and SSD drives

2011-02-13 Thread Bruce Cran
On Sun, 13 Feb 2011 08:58:05 -0500
Jerry freebsd.u...@seibercom.net wrote:

 New, as in four years old? That is one of the worst straw man
 arguments I have heard in a while. In any case, In 2008
 OpenOffice.org started the project Renaissance to improve the user
 interface of OpenOffice. So far the prototypes of the project are
 frequently seen as similar to the ribbon interface.
 
 Obviously, the use and customization of any software is a personal
 experience. However, if the use of the ribbon is beyond your
 abilities, and I am assuming that you are aware that the ribbon can
 be hidden, modified and that there are many add-ons available that
 can be used to manage it, then so be it. I would rather work with an
 application with a minor annoyance, and I do not find the ribbon to
 be one, then to use a less robust application. Again, it is up to the
 end user to ascertain their requirements and find the tool that is
 best fitted to that job.
 
 In any case, I am quite confident that your condemnation of the
 ribbon is totally based on your reading of Slashdot and other
 similar documents and not from any personal experience.

Obviously I'm not talking about myself having problems with it since
I've used all sorts of different UIs over the years and can learn new
interfaces quickly. You seem to be forgetting that most people don't
upgrade very frequently: I wouldn't be surprised if lots were still
running Office 2000.  I worked in an RD environment and even there
people were steadfastly ignoring Vista and even 64-bit Windows even 3
years after it was released - I had to keep running 32-bit XP.

The problem is that less technically-literate people have problems with
_certain_ operations which were simple in the past - printing for
example now takes several clicks during which the screen changes each
time. For people who get confused when icons move on the screen the
context-sensitive nature of it can be rather difficult to learn.

With large screens and people who don't have the baggage of expecting
things to work a certain way I do think Ribbon is better: for example I
recently started using Access 2010 and found it rather easy to find how
to do things like exporting to SQL Server 2008, which would previously
have been buried. Also, the way traditional sub-menus work in Windows
is really awful for people who don't have accurate mouse skills - move
the mouse outside the menu and it disappears. The Ribbon solves this
problem.

-- 
Bruce Cran
___
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 and SSD drives

2011-02-13 Thread Bruce Cran
On Sun, 13 Feb 2011 09:42:54 -0700
Chad Perrin per...@apotheon.com wrote:

 There's no use pretending MS Windows never has issues with the
 efficacy of its autoconfiguration.  Most of us have used that OS
 quite a lot, and know that problems arise -- and that, unlike with
 open source OSes, it's actually fairly common to have no recourse at
 all when something does not work.

A good example is the need to edit the registry to improve network
performance - http://support.microsoft.com/kb/321098 . Another is that
in order to disable auto-run you need to know to type gpedit.msc in
the Run window to load the Group Policy Editor and navigate to the
settings.

-- 
Bruce Cran
___
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: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-02-11 Thread Bruce Cran
On Fri, 11 Feb 2011 08:56:42 +0100
Damien Fleuriot m...@my.gd wrote:

 The list strips non-text attachments so there isn't much to see at
 the moment though...

It wasn't supposed to be attached - try
http://druidbsd.sourceforge.net/download/host-setup.txt :)

-- 
Bruce Cran
___
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: Bad hard driver [SOLVED]

2011-02-10 Thread Bruce Cran
On Thu, 10 Feb 2011 11:59:37 +0200
Daniel Zhelev dan...@zhelev.biz wrote:

 The last worrying thing is the
 
  200 Multi_Zone_Error_Rate   0x0008   200   189   000Old_age
 Offline
-   3
 
 Which according to the Internet is some mysterious value that none
 knows what it stands for, so is 3 of that mystery good?

Look at the first 3 results from
http://www.google.co.uk/search?q=Multi+Zone+Error+Rate

-- 
Bruce Cran
___
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: Debian GNU/kFreeBSD

2011-02-08 Thread Bruce Cran
On Mon, 7 Feb 2011 15:51:46 -0800
Gary Kline kl...@thought.org wrote:

   I haven't heard anything about somebody picking up the idea on
   integrating Debian Linux and FreeBSD, so unless Zeus stabbed
   hisself in the back while about to hurl a lightening bolt,
 don't worry.

http://www.debian.org/ports/kfreebsd-gnu/

-- 
Bruce Cran
___
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: Tracing packets - asterisk issues

2011-01-25 Thread Bruce Ferrell
On 01/24/2011 11:13 PM, Da Rock wrote:
 I have been trying to get some pointers on my asterisk issues and I've
 only been hearing crickets chirping (Asterisk list and here). I need a
 pointer or two so I can fix this issue, so I'll try another angle.

 How do I trace IP packets across the network (pf firewall included)?
 And would it be possible to read it visually (human readable)?

 Cheers
Use tcpdump to do a capture file.  something like this:

tcpdump -i eth0 -n -s 1500 -w sip.cap

then feed sip.cap to wireshark

filter for SIP and observe the SIP conversation

It's also possible to decode the RTP stream
___
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: putting /tmp to memory

2011-01-24 Thread Bruce Cran
On Mon, 24 Jan 2011 12:18:21 +
RW rwmailli...@googlemail.com wrote:

 tmpfs is nominally
 experimental, but it seems to be very stable, and it's much more
 memory efficient than md devices. 

But it doesn't work well with ZFS.

-- 
Bruce Cran
___
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: putting /tmp to memory

2011-01-24 Thread Bruce Cran
On Mon, 24 Jan 2011 08:09:05 -0500
Jerry freebsd.u...@seibercom.net wrote:

 I had not heard about that. What problems does its use exhibit when
 used in conjunction with ZFS?

http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/060867.html

-- 
Bruce Cran
___
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: putting /tmp to memory

2011-01-24 Thread Bruce Cran
On Mon, 24 Jan 2011 09:42:55 -0500
Jerry freebsd.u...@seibercom.net wrote:

 FreeBSD, at least from what
 I can ascertain, really does not have good support for ZFS anyway. I
 question whether releasing a product of dubious functionality is an
 intelligent thing to do. The old axiom of only getting one chance to
 make a good first impression would seem to be apropos to the
 situation.

From what I can ascertain and having actually used it, ZFS has great
support on FreeBSD.

-- 
Bruce Cran
___
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: documentation OF FreeBSD

2011-01-18 Thread Bruce Cran
On Tue, 18 Jan 2011 13:04:58 +0200
Ross Cameron ross.came...@linuxpro.co.za wrote:

 All of the above is accomplished using a Mail User Agent (MUA)
 application,... there are litterally thousands to choose from so it is
 HIGHLY unlikely that any open source OS will include this in the
 manual...

You mean something like
http://www.freebsd.org/doc/handbook/mail-agents.html ? :)

-- 
Bruce Cran
___
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: harddrive encryption

2011-01-18 Thread Bruce Cran
On Mon, 17 Jan 2011 21:30:39 +0100
Alokat mail...@alokat.org wrote:

 is it possible to encrypt my full harddrive (excluding /boot) during
 a freebsd installation. Or do I have to do this after the
 installation manually?

The FreeBSD installer (sysinstall) doesn't support anything other than
plain UFS but PCBSD's (pc-sysinstall) supports encryption, ZFS etc. -
and it can do a plain FreeBSD installation as well as PCBSD. 

You can get it from http://www.pcbsd.org .

-- 
Bruce Cran
___
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: Acer Aspire One D250 disk spin-down problem

2011-01-16 Thread Bruce Cran
On Sun, 16 Jan 2011 08:24:13 +0100
Matthias Apitz g...@unixarea.de wrote:

 Master:  ad4 WDC WD2500BEVT-22ZCT0/11.01A11 SATA revision 2.x

 As well the BIOS has no visible option for this. I want to disable
 this, what could I do?

Since it's a WDC disk I guess it's one of the green ones. These have
a short default timeout after which they park the heads. I think you'd
need to run the wdidle3.exe application to disable the internal timer,
but it may just be a default APM setting that can be changed from
within FreeBSD using sysutils/ataidle and the -P switch.

-- 
Bruce Cran
___
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


  1   2   3   4   5   6   7   >