Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Lars Eighner
On Tue, 15 Feb 2011, Xn Nooby wrote: Is there an image-copy backup program that understands the UFS file-system? Or perhaps there is a better solution on FreeBSD? Perhaps I do not understand what you are trying to do, but dump and restore are the only sort-of bulletproof way to backup (copy,

Re: script help

2011-02-15 Thread perryh
Jack L. Stone ja...@sage-american.com wrote: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each new year. Before actually doing this,

Re: script help

2011-02-15 Thread erikmccaskey64
my little opinion: first run the changes on a backup, or a copy of the files: this one works under linux bash fedora: how to create a shadow of a folder [same filenames in another dir, but with 0 Byte size] in the original, A directory: find . -type f gt; a.txt B directory: cat ../a.txt |

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

Re: FreeBSD and SSD drives

2011-02-15 Thread krad
On 14 February 2011 23:55, Chad Perrin per...@apotheon.com wrote: On Mon, Feb 14, 2011 at 03:32:30PM -0800, Chuck Swiger wrote: From what I understand (a quick review of wikipedia helps :), modern flash cards are now typically rated for 100K writes, include ECC bits to actually correct or at

Re: script help

2011-02-15 Thread Peter Andreev
Use of xargs on many files will be much faster than find...exec construction find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g' 2011/2/15 erikmccaskey64 erikmccaske...@zoho.com: my little opinion: first run the changes on a backup, or a copy of the files: this one works

Re: portsnap fetch corrupt

2011-02-15 Thread Jerry
On Tue, 15 Feb 2011 08:00:55 +0100 Alain G. Fabry alainfa...@belgacom.net articulated: Hello, Whenever I try to do a portsnap, it tels me metadata is corrupt. harley# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from

Re: android

2011-02-15 Thread ajtiM
On Monday February 14 2011 19:28:54 ill...@gmail.com wrote: On 14 February 2011 20:00, ajtiM lum...@gmail.com wrote: Hi! I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0

Re: android

2011-02-15 Thread ajtiM
On Monday February 14 2011 19:32:49 Chris Hill wrote: On Mon, 14 Feb 2011, ajtiM wrote: I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I connected a phoe to the USB port I got: da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable

Re: portsnap fetch corrupt

2011-02-15 Thread Alain G. Fabry
On Tue, Feb 15, 2011 at 06:49:14AM -0500, Jerry wrote: On Tue, 15 Feb 2011 08:00:55 +0100 Alain G. Fabry alainfa...@belgacom.net articulated: Hello, Whenever I try to do a portsnap, it tels me metadata is corrupt. harley# portsnap fetch update Looking up portsnap.FreeBSD.org

Re: Stuck

2011-02-15 Thread Julian H. Stacey
Where do I locate the kernel config file? Adding options INCLUDE_CONFIG_FILE to /sys/i386/conf/GENERIC or /sys/amd64/conf/ allows config -x /boot/kernel/kernel Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com

Re: Redux

2011-02-15 Thread Polytropon
On Mon, 14 Feb 2011 20:25:11 -0700 (MST), Warren Block wbl...@wonkity.com wrote: Labels just provide an alternate way to refer to a slice, or partition, or filesystem. They don't replace the normal device names. It's worth mentioning that the /etc/fstab mechanisms for mounting can work with

Re: android

2011-02-15 Thread Polytropon
On Tue, 15 Feb 2011 05:57:33 -0600, ajtiM lum...@gmail.com wrote: I did what you suggested but it doesn't works: no such fles or directory. According to your dmesg output da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da4: 4

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

Re: android

2011-02-15 Thread Polytropon
On Tue, 15 Feb 2011 13:58:24 +, 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. Yes, if supported by

Re: script help

2011-02-15 Thread Jack L. Stone
At 12:41 AM 2/15/2011 -0800, per...@pluto.rain.com wrote: Jack L. Stone ja...@sage-american.com wrote: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the

Re: script help

2011-02-15 Thread Julian H. Stacey
Hi, per...@pluto.rain.com wrote: Jack L. Stone ja...@sage-american.com wrote: # find all of the same filenames (copyright.htm) and then replace the year 2010 with 2011 in each file. Once I have a working script, I should be able to add it as a cron job to run on the first day of each

Re: script help

2011-02-15 Thread RW
On Tue, 15 Feb 2011 12:57:12 +0300 Peter Andreev andreev.pe...@gmail.com wrote: Use of xargs on many files will be much faster than find...exec construction This is a surprisingly common myth. exec can pass single or multiple arguments according to whether you use ; or + find / -type f

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Jerry McAllister
On Tue, Feb 15, 2011 at 01:53:44AM -0500, Xn Nooby wrote: On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the 1TB drive with zero-filled files, then delete them, on each partiton,

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Alexander Best
On Tue Feb 15 11, Jerry McAllister wrote: On Tue, Feb 15, 2011 at 01:53:44AM -0500, Xn Nooby wrote: On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the 1TB drive with zero-filled

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Warren Block
On Tue, 15 Feb 2011, Xn Nooby wrote: On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the 1TB drive with zero-filled files, then delete them, on each partiton, since CloneZilla uses

Re: script help

2011-02-15 Thread Jack L. Stone
At 02:53 PM 2/15/2011 +, RW wrote: On Tue, 15 Feb 2011 12:57:12 +0300 Peter Andreev andreev.pe...@gmail.com wrote: Use of xargs on many files will be much faster than find...exec construction This is a surprisingly common myth. exec can pass single or multiple arguments according to

Re: script help

2011-02-15 Thread Paul Schmehl
--On February 15, 2011 12:57:12 PM +0300 Peter Andreev andreev.pe...@gmail.com wrote: Use of xargs on many files will be much faster than find...exec construction find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g' I believe you, but can you explain why this is true?

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Jan Henrik Sylvester
On 01/-10/-28163 20:59, Warren Block wrote: On Tue, 15 Feb 2011, Xn Nooby wrote: On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the 1TB drive with zero-filled files, then delete them,

Re: script help

2011-02-15 Thread Lowell Gilbert
Paul Schmehl pschmehl_li...@tx.rr.com writes: --On February 15, 2011 12:57:12 PM +0300 Peter Andreev andreev.pe...@gmail.com wrote: Use of xargs on many files will be much faster than find...exec construction find / -type f -name copyright.htm | xargs sed -i .bak -e 's/2010/2011/g' I

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Warren Block
On Tue, 15 Feb 2011, Jan Henrik Sylvester wrote: On 01/-10/-28163 20:59, Warren Block wrote: On Tue, 15 Feb 2011, Xn Nooby wrote: On Linux I use clonezilla, which understands the EXT3 filesystem, and it can skip unused space (I'm using about 3GB out of 1TB). On FreeBSD, I have to fill the

Re: Stuck

2011-02-15 Thread Devin Teske
On Feb 15, 2011, at 4:25 AM, Julian H. Stacey wrote: Where do I locate the kernel config file? Adding options INCLUDE_CONFIG_FILE to /sys/i386/conf/GENERIC or /sys/amd64/conf/ allows config -x /boot/kernel/kernel NOTE: Slightly OT, but figured it was worth

Re: Invitation (waaaaay off-topic)

2011-02-15 Thread Chad Perrin
On Tue, Feb 15, 2011 at 01:48:18AM +, Simon Tibble wrote: On 14/02/11 23:42, Chad Perrin wrote: Broken. Won't work. It's too bureaucratic for too little (immediate) return to catch on, and its bureaucracy would guarantee long-term corruption. This sort of idea will take years to

Re: Stuck

2011-02-15 Thread Rem P Roberti
NOTE: Slightly OT, but figured it was worth the post. As a side-note, the config-file will be cleaned up before being embedded into the kernel. Meaning config -x `sysctl -n kern.bootfile` will rarely ever match the config that was used to generate the kernel in the first place.

Re: android

2011-02-15 Thread ajtiM
On Tuesday February 15 2011 07:51:39 Polytropon wrote: On Tue, 15 Feb 2011 05:57:33 -0600, ajtiM lum...@gmail.com wrote: I did what you suggested but it doesn't works: no such fles or directory. According to your dmesg output da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: HTC

Re: android

2011-02-15 Thread Adam Vande More
On Tue, Feb 15, 2011 at 6:03 AM, ajtiM lum...@gmail.com wrote: I did and I mount -t msdosfs /dev/da4s1 /mnt and I got no such fles or directory. On my Optimus S, you must force GEOM to retaste the media after making the SD card available to mount via the android interface, eg: true

Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Warren Block
On Tue, 15 Feb 2011, Jan Henrik Sylvester wrote: I tried a version of Clonezilla that understood ufs and it was really fast copying a slice: It did not understand disklabels and copied only the a partition pretending that it did the entire slice. Did you try to copy a slice with multiple

Re: android

2011-02-15 Thread ajtiM
On Tuesday February 15 2011 16:49:17 Adam Vande More wrote: On Tue, Feb 15, 2011 at 6:03 AM, ajtiM lum...@gmail.com wrote: I did and I mount -t msdosfs /dev/da4s1 /mnt and I got no such fles or directory. On my Optimus S, you must force GEOM to retaste the media after making the SD

google browser?

2011-02-15 Thread Gary Kline
Anybody know how to use this Chrome? I don't see any places to plug in players ... like vlc, etc. Can't find and back/Forward icons, nothing like firefoxI give it all three thumbs down. Would still like to see GOOG have its own twitter and facebook tho. Anybody else have the