Re: Format a USB flash drive using gpart

2012-07-08 Thread Wojciech Puchar
file system" (as you said without partitions, and I'll take that literally): You can use tar, "the universal file system that isn't a file system" to write data to the USB stick. which is best in USB pendrive wear and speed point of view. pendrive's flash translation layers are just awful, on

Re: power failure, boot, and fsck

2012-07-09 Thread Wojciech Puchar
fsck does run automatically when a filesystem does not get shut down cleanly. However, fsck cannot fix all of the problems a filesystem can experience without risk of loss of data. In those cases, there is no option but to stop and ask the operator to intervene. fsck_y_enable=YES in rc.conf

Re: power failure, boot, and fsck

2012-07-09 Thread Wojciech Puchar
After a power failure at home, my FreeBSD server automatically starts again but fails to mount my UFS /boot disk because it was not properly unmounted. Here is my fstab: $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a /boot-disk ufs

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
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 unless you need windows 98 support partitionless

Re: YASSDQ

2012-07-09 Thread Wojciech Puchar
Notes: 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the All use 4K as it is NTFS default block size and most are sold to be used with windoze. first filesystem partition at 1M works for most of the common values. Alignment of filesystem cannot be better than it

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
Floppy disks aren't partitioned/sliced - they use 'dangerously dedicated' they use "dangerously obsolete" mode. nobody use them at all. 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

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
A company I worked with were still distributing files on floppy disks as recently as 2009. quite funny :) 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

Re: NTFS data recovery

2012-07-09 Thread Wojciech Puchar
I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. No joy Windows insists that the partition is RAW and I need to format it. I can how

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
quote from: http://serverfault.com/questions/275875/raid-bus-controller-intel-corporation-82801jir-ich10r-sata-raid-controller "ICH10R-based RAID controllers are so called fake- or software-RAID controllers, the OS needs to do all the work." It is always better to use gmirror instead of "hard

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
It is always better to use gmirror instead of "hardware" RAID. One have full control over what is going on mmh not always. Nothing replaces a good hardware RAID card with a BBU for real reason i used parantheses for word "hardware". ___ freebsd-ques

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
# gmirror list gmirror: Command 'list' not available. # gmirror status gmirror: Command 'status' not available. gmirror load It is probably "soft-RAID", but I prefer to use it though appropriate driver instead of classical software RAID configured through OS. i would recommend otherwise. A

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
That's clear to me. These "hardware" raid controllers are not very reliable because they are indeed not real hardware raid controllers, but software based. Maybe for desktop usage it's ok/ good enough? precise what is "desktop" usage is. i don't see a reason for doing mirroring for home use.

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
'geom raid load;geom raid list' doesn't give anything. I've tried 'geom load mirror', but 'geom mirror list' is also empty. what other do you expect with no mirrors created yet? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mai

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
On Tue, 10 Jul 2012, Bosko Radivojevic wrote: On Tue, Jul 10, 2012 at 12:26 PM, Wojciech Puchar wrote: what other do you expect with no mirrors created yet? But mirror (raid10) array is created through LSI MegaRAID BIOS. I'm if it is RAID10 i assume you have 4 disks. tryi

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
Hi Bosko, I do not have any experience with these kind of controllers, so I could just guess. I have a lot ;) but the only thing i always do is to disable "RAID" in BIOS just after receiving new machine. whole experience. ___ freebsd-questions@fre

Re: FreeBSD 9.0 & LSI MegaRAID SATA problem

2012-07-10 Thread Wojciech Puchar
precise what is "desktop" usage is. Here at work we just use non raided disks for workstations which run linux. and this is proper way to do this. The home directories are on nfs, so when a disk fails it's replaced very fast See above. I cannot imagine any other configuration. Me neithe

Re: shell scripting: grepping multiple patterns, logically ANDed (solved)

2012-07-10 Thread Wojciech Puchar
Ironically, it runs even faster than the /bin/sh + find(1) version, go figure. true. unix shell was never intended to execute scripts fast, it is usually slower even than python. unix shell is designed to automate things quickly. ___ freebsd-questio

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I have two SAS disks for the FreeBSD install. I want to install the freeBSD on one disk and mirror to another disk. Just like the AIX Mirror. man gmirror ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work if you use installer 1) install to first disk 2

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
I am trying to introduce FreeBSD into my office and it's been looked at with quite a bit of enthusiasm however, what makes it look bad is our companies 'security' policy to block FTP. do you work FOR that company. Ask administrator to unblock if for you as you need it for work. Do you do your

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar
The information comes straight down from the IT director who will **not** change his mind on this as I have asked several times in the past. I just told about solution to a problem. Not a workaround. How you can make your work if your director actively prevent it!? Basically without getting to

about ulpt speed

2011-05-05 Thread Wojciech Puchar
we recently bought kyocera 2020D printer. There are USB and LAN versions. We got cheaper USB as it is connected 1 meter from server anyway. But seems there are some problems with USB ulpt seems to work fine, device is connected at 480Mbps but 2 page 5 megabyte postscript file is transmitted 10-

Re: about ulpt speed

2011-05-07 Thread Wojciech Puchar
Larger postscript files are transmitted longer. I am not sure but seems it is not printer problem. Any ideas what to check/change in ulpt? It's worth trying unlpt. But if the sending time is proportional to the file already tried. The only difference is that printer doesn't know when each

Re: about ulpt speed

2011-05-07 Thread Wojciech Puchar
another idea. ulpt shows like that ugen1.3: at usbus1 ulpt0: on usbus1 ulpt0: using bi-directional mode for parallel lpt port on some printers disabling bi-di mode solves most problems. can this be disabled on ulpt or it is irrevelant? ___ freebsd

Re: about ulpt speed - "solved"

2011-05-07 Thread Wojciech Puchar
or clearly - found to be not FreeBSD problem. Printing from windoze using postscript gives exactly the same speed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail t

RE: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
--> Efficiency --> Compatibility with ZFS If you're running 9, give HAST a shot. maybe a stupid question but what is a practical difference between hast and doing ggate+gmirror and setting "prefer" load balancing to local disk? ___ freebsd-question

Re: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
Create snapshots of your datasets and use zfs send. You can even transfer differences between snapshots. and then try to recover data from these backups after a year or so ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

Re: Horrible installer (was: Re: FreeBSD 9)

2012-01-23 Thread Wojciech Puchar
Allan ___ Erm, you have to realize the new installer was discussed at length here, when 9.0 was still under development/beta/prerelease. Alternatively, you could do like me and install entirely by hand: - boot a

Re: Horrible installer

2012-01-23 Thread Wojciech Puchar
because, well, I LOVE FreeBSD. Basically, I've tried out NetBSD ONCE, actually i used NetBSD BEFORE switching to FreeBSD, short time after they released 2.0 and following versions. Got slower, unstable and bloated. Switched to FreeBSD, which in every version is getting BETTER not worse. I al

Re: Horrible installer

2012-01-23 Thread Wojciech Puchar
I first touched FreeBSD around 2005. The current insteller is much more appealing and useful. All the people displaying elitist attitude toward the arcaic installer which infact DID push people away from FreeBSD, I don't understand you. so may i explain you: Those who cannot install things witho

Re: Calxeda processors

2012-01-23 Thread Wojciech Puchar
http://www.calxeda.com Anyone know what the status would be of running our fav OS on these quadcore, blade based server processors? Running a server at 5W would be reeaal nice, you know :) not really 5W. you have to connect some hard drive anyway. _

Re: swap - 2 HDs

2005-12-16 Thread Wojciech Puchar
This is contrary to the "usual" advice which is to split swap across disks AFAIK. I've never done any benchmarks, but my gut feeling would be that if the disks were on separate controllers, and if the machine did swap regularly then two swap partitions would be beneficial. Even on the same con

FreeBSD ftpd & Windows compatibility

2006-01-07 Thread Wojciech Puchar
or to be exact - Windows incompatibility with standards & FreeBSD server. the problem: Windows clients (like total commander) can't fetch or delete files with spaces in name - while it can create such file. are there any solutions? ___ freebsd-que

Re: multi port modem cards for FreeBSD

2006-01-08 Thread Wojciech Puchar
I will install a fax server using hylafax on FreeBSD. This fax server must handle at least 8 fax-modem attached to it. For this I think I need a serial port multiplier or PCI based fax-modem cards which has at least 8 ports fax-modem chip. For FreeBSD 6.0 which hardware do I have to use for not

Re: FreeBSD ftpd & Windows compatibility

2006-01-08 Thread Wojciech Puchar
are there any solutions? As this is a FreeBSD list, you may not get useful answers to questions about how to use various third-party Windows applications. Maybe asking the companies that sold you the i do not want to get answer about windows. i just would like what's the difference between Fr

Re: Sparc vs i386 architecture

2006-01-08 Thread Wojciech Puchar
Hi group, I was just wondering if there's an advantage to running FreeBSD on a SPARC than compared with a regular PC. Obviously the architecture is different (CISC vs RISC). How ever you can purchase a higher powered PC box for less money than it would cost for a SPARC. user Opteron/Athlon64 - b

Re: Sparc vs i386 architecture

2006-01-08 Thread Wojciech Puchar
Yes, it is amassing. I have a friend who has spent thousands of dollars keeping his old car running. He could have purchased a new one with a new warranty, etc. and have saved all that money, but he refused. For some individuals, the challenge is the real thrill that they crave. and SUN itself

rshd, rlogind, .rhosts question

2006-01-08 Thread Wojciech Puchar
i use this widely with NetBSD and now try with FreeBSD rlogin/rlogind works the same - all OK. if host is entered in .rhosts then it logs in without password rsh -l login host command worked fine too in NetBSD same way - no asking for password if .rhosts consist of my host and user name. in

Re: rshd, rlogind, .rhosts question

2006-01-08 Thread Wojciech Puchar
what's the difference? how to fix it? FreeBSD's rsh may really be ssh? In any event, use ssh-keygen to set up some keys, and copy them to authorized_keys, and use that to permit password-less login between machines securely. NO I MEAN RSH not ssh. and i DO use rsh/rlogin not ssh ssh works

Re: speccing an NFS server -- smp good or bad?

2006-01-09 Thread Wojciech Puchar
For a FBSD (or Solaris 10) based server that is only acting as an NFS server and nothing else, is there any advantage to using an SMP machine? Any no. one CPU is powerful enough. pentium 200 class machine does have no problems working as NFS server for 100Mbit/s LAN at full speed, assuming di

Direct Connect unix client - big problem on amd64

2006-01-09 Thread Wojciech Puchar
i installed dctc-0.84.1 from prebuild .tbz on FreeBSD 6.0/amd64 and (with parameters that i used before on NetBSD/i386 system): INFO ] ""Direct Connect Text Client v0.84.1| hubip: dchub.l. hubport: 1411 VAR ] ""cnx_status|1| file exists. creating new sema. creating. semid=196610 created 2FD103C

Re: Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Wojciech Puchar
I'm going to assume that Dual Core is better (can't believe that they took a step back) ... but, is how does it rate? I know that HyperThreading is definitely != Dual CPU ... but how close does Dual Core get? Dual Core = two physical CPUs, possibly sharing L2 cache. HyperThreading = double s

Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Wojciech Puchar
Is there such a thing as a virtual CD drive in the Ports. Something that well it has virtual CD, virtual DVD, virtual floppy, virtual disk and virtual any-block-device man mdconfig :) in base FreeBSD distribution. mdconfig -a -t vnode -o readonly -f file will show device name like md0

FreeBSD & time travel

2006-01-10 Thread Wojciech Puchar
while running my FreeBSD/amd64 server a couple of days it once change it's time to midnight 1 january 2000. of course lots of services failed to work undil i did rdate can it be hardware or software bug? ___ freebsd-questions@freebsd.org mailing list

Re: how should I (best practice) set up permissions for rsync ?

2006-01-10 Thread Wojciech Puchar
Hi, I want to rsync /usr/home from one machine to another, for purposes of backup. i do: rsync -e "rsh" -avzrlHpogDtS --delete --delete-excluded --force \ --exclude-from=../$1-exclude [EMAIL PROTECTED]:/ . where $1 is server name you may of course change rsh to ssh, and / to /usr/home :)

vnc server problems/amd64

2006-01-10 Thread Wojciech Puchar
FreeBSD 6.0 amd64 i tried to run it but crashes on first X client started as i386 version works i replaced Xvnc with i386 version - now works as long as i don't run any gtk/gdk based program then i got: The program 'gimp' received an X Window System error. This probably reflects a bug in the

limiting Buf memory

2006-01-11 Thread Wojciech Puchar
on my 1GB machine: Mem: 529M Active, 209M Inact, 149M Wired, 38M Cache, 109M Buf, 1772K Free while "Cache" is dynamic, Buf is not and never goes down. how can i get it down to somehow like 40MB? ___ freebsd-questions@freebsd.org mailing list http://l

RE: FreeBSD & time travel

2006-01-11 Thread Wojciech Puchar
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar Sent: Tuesday, January 10, 2006 1:21 PM To: freebsd-questions@freebsd.org Subject: FreeBSD & time travel while running my FreeBSD/amd64 server a couple of days it once change it's time to midnight 1 january 2000. of

Re: limiting Buf memory

2006-01-12 Thread Wojciech Puchar
Mem: 529M Active, 209M Inact, 149M Wired, 38M Cache, 109M Buf, 1772K Free while "Cache" is dynamic, Buf is not and never goes down. how can i get it down to somehow like 40MB? I think "Buf" corresponds to what NetBSD's top calls "File", it's the amount of memory that is bufferring raw blocks

Re: How to boot from a slice other than "a"?

2006-01-12 Thread Wojciech Puchar
Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a248M180M 48M79%/ /dev/da0s1h 14G496M 13G 4%/mnt /dev/da0s1h has an exact copy of /dev/da0s1a using dump/restore. I want to configure things so that the next time I reboot it will automati

Re: limiting Buf memory

2006-01-12 Thread Wojciech Puchar
Possibly you don't understand your question, either. "Buf" is not a state which is exclusive: that 110MB of memory is comprised of backing store from the disk which is in the Active or Inactive states. hw.physmem - Wired ~= hw.usermem Active + Inactive + Cache + Free ~= hw.usermem fortunat

rescanning DOS partition table

2006-01-12 Thread Wojciech Puchar
how to force for a given SCSI-like disk (/dev/da?) to recreate right /dev/da?s? devices based on DOS partition table? it's done well on attach, but how to do this on request? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailma

Re: How to boot from a slice other than "a"?

2006-01-12 Thread Wojciech Puchar
Hmm... guess I didn't realize there was a difference :) I want the OS to "run" from /dev/da0s1h so that I can then completely wipe and replace /dev/da0s1a [1]. if second - add: vfs.root.mountfrom="ufs:da0s1h" to which file? loader.conf [1] The box is a new 5.3 install. My though

fdisk: Geom not found

2006-01-13 Thread Wojciech Puchar
. . . parameters to be used for BIOS calculations are: cylinders=125 heads=255 sectors/track=63 (16065 blks/cyl) Information from DOS bootblock is: 1: sysid 6 (0x06),(Primary 'big' DOS (>= 32MB)) start 63, size 2008062 (980 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1;

Re: OS use rate

2006-01-14 Thread Wojciech Puchar
OS use rate in my project. 2005/01/10 - 2006/01/10 RedHat Enterprise Linux ES3.0 - 3947 RedHat Enterprise Linux AS3.0 - 1287 Sun Solaris 9 - 583 *BSD - 0 that's just a problem of these 5817 people/companies/whatever that use them and not FreeBSD. PS. completely off topic, please add more data

Re: Lost Root Pasword.

2006-01-14 Thread Wojciech Puchar
now, cant su. the password I used is > 12 chars long, and was made intentionally cryptic. I know all the chars used in the password (yes I have it written down). Q: Where are all the ssh password 'guessing' utilities I see the hackers using on my system? Located, I could really use one. Fail

ipfw+antispoof breaks IPv6 link local

2006-01-15 Thread Wojciech Puchar
can it be solved? with first rule in my firewall config i have flush add 2 deny ip from any to any not antispoof works fine - as long as no IPv6 link-local communication is needed - route6d is an example. changing it to add 2 deny ip4 from any to any not antispoof is using link-local add

/sbin/dump&restore question

2006-01-17 Thread Wojciech Puchar
i'm using dump to backup up filesystem of about 1.5 million files and 60GB size (14 DVD+RW disks), will be larger for sure after a time. once per about 2 months - full dump, once a week -1 dump, every other day -2 dump. works fine. i used this under NetBSD, now under FreeBSD. but have 2 ques

Re: Pooomooocyyyy ;(

2006-01-17 Thread Wojciech Puchar
TO JEST ANGIELSKA LISTA MAILOWA. POSZUKAJ POLSKIEJ This is english mailing list, not Polish. please run FreeBSD install CD and enter rescue mode, and type /sbin/dmesg|grep ad this behaviour is very strange, i have never problems with disks on FreeBSD. NEXT TIME PLEASE don't write in Polis

/sbin/restore broken??!!

2006-01-17 Thread Wojciech Puchar
or maybe dump while testing my full backup with restore -rvf, after 7-th DVD restoring fine, when started to restore 8-th DVD it prepends ? to every file name like this: extract file ?/home/kopie/3miasto.net/root/NetBSD-1-5/usr/pkg/bin/a2p extract file ?/home/kopie/3miasto.net/root/NetBSD-1-

no one here use restore/dump?

2006-01-18 Thread Wojciech Puchar
nobody here do backups of their systems? strange?! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: no one here use restore/dump?

2006-01-18 Thread Wojciech Puchar
___ Huh? I do. I'm sure a lot of people do. strange that nobody answerem by questions. it's quite impossible that only i have such problems. i really must be sure my dumps are restorable! :) ___ freebsd

Re: no one here use restore/dump?

2006-01-19 Thread Wojciech Puchar
nobody here do backups of their systems? strange?! I backup and restore using those self-named tools on a variety of DLT and 4mm DAT tape drives. 4mm DDS DAT kinda sucks, and they are super-sensitive to being cleaned a lot. i'm using DVD+RW discs. after doing dvd+rw-format for a first time,

natd & auth requests

2006-02-10 Thread Wojciech Puchar
how can i make ident service to make informative answers for connections handled by natd? like answering last byte of source IP number or DNS reverse name or maybe from table like oidentd? ___ freebsd-questions@freebsd.org mailing list http://lists.fr

Re: natd & auth requests

2006-02-10 Thread Wojciech Puchar
handled by natd? like answering last byte of source IP number or DNS reverse name or maybe from table like oidentd? If you're using 1-to-1 NAT forwarding, run identd or the inetd-based version on the internal hosts you're forwarding to. If you're using NAT to only forward individual ports to sp

Re: natd & auth requests

2006-02-10 Thread Wojciech Puchar
connections handled by natd? like answering last byte of source IP number or DNS reverse name or maybe from table like oidentd? How about running oidentd, if you already know it does what you'd like? It's in ports. well that's what i needed. ___ free

Re: natd & auth requests

2006-02-10 Thread Wojciech Puchar
number or DNS reverse name or maybe from table like oidentd? How about running oidentd, if you already know it does what you'd like? It's in ports. well that's what i needed. ___ "oidentd is an ident (rfc1413 compliant) daemon that runs on Linux,

randomized source IP for userland app?!

2006-02-10 Thread Wojciech Puchar
is it possible for userland application (or many of then) for TCP connections to select it's source IP address from a list random or round-robin way? (say 2-4 different IP's) with ipfw or other ways? ___ freebsd-questions@freebsd.org mailing list htt

Re: 6.0 on DVD

2006-02-11 Thread Wojciech Puchar
If it's out there - where? I'm not sure about this, but aren't the DVD versions created by a third-party company? ___ well i created 8.5GB DVD version of FreeBSD 6.0/amd64 by myself for personal use. it is original install CD+all binary packages ava

Re: FreeBSD 6.0, amd64, A8N-SLI and 4gb ram

2006-02-11 Thread Wojciech Puchar
off, then everything works, but FreeBSD can only see 3gb of ram. Some documentation suggested a custom kernel with 'options PAE' enabled would be required, but adding that generates an 'invalid option PEA' ^ is it typo now or

GNOME help PLEASE

2006-03-11 Thread Wojciech Puchar
while i'm not regular user of gnome, i have to configure it for users. the problem is how to make configuration template default for every new user. i tried to copy whole or partial user directory to other users+chown but no success. always something crashes or doesn't work. only copying desk

Re: Xorg config problems

2006-03-11 Thread Wojciech Puchar
switched to Xorg for these machines a while back, and was pleased to find that I did not have to create a config file for Xorg as it was able to autodetect all the correct stuff. anyway - it's always better to create this file based on autoconfig made by -configure option. it's quite unlikely au

Re: GNOME & Gdk

2006-03-11 Thread Wojciech Puchar
[EMAIL PROTECTED] ~]$ gedit (gedit:50388): Gdk-WARNING **: shmget failed: error 28 (No space left on device) or .. (gedit:23354): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate memory) df and ulimit? ___ freebsd-questions@freebsd.org mail

Re: dd - cloning a disk.

2006-03-11 Thread Wojciech Puchar
Here is a simple (I think!) question for the I/O savy among you: If I had two identical disks, say, 73 GB Seagate 10K SCSIs, one completely operational fully setup FreeBSD with all the trimmings, and the other blank, or perhaps loaded but no longer usable, is 'dd' and appropriate tool to comp

Re: Fw: dd - cloning a disk. Second Part!

2006-03-11 Thread Wojciech Puchar
Sorry, I forgpt to add this, I the answer is yes to the first question (original question), then, what happens if one 'dd's a small, say 36 GM disk to a larger one, say 73 GB. Can the newly made disk be resized so as not to loose 1/2 of it? yes - with growisofs and disklabel i actually did t

Re: dd - cloning a disk.

2006-03-11 Thread Wojciech Puchar
It is, with a few 'buts'. Firstly, the source should be mounted but may not - unless system is generally idle. fsck will be checking the copy then, but with success. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/lis

Re: GNOME help PLEASE

2006-03-12 Thread Wojciech Puchar
As far as I know, this only works with a "normal" adduser.conf and using the adduser command or pw. Also, (with X11 programs especially) you'll have to edit all absolute paths in the config files to point to either relative, of if the app supports it, $HOME or ~/, so the programs won't attempt to

Re: dd - cloning a disk.

2006-03-12 Thread Wojciech Puchar
list sometime in the last 3-5 weeks. Giorgios Keramidas commented that "dd" was too slow for his tastes and dd is the fastest, but probably he used small block size. 64K is OK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/ma

sqwebmail on FreeBSD 6/amd64

2006-03-20 Thread Wojciech Puchar
anyone using this. i installed from ports and it get in crash loop like this. any idea? anyone using it? Mar 20 17:00:18 hel kernel: pid 94901 (sqwebmaild), uid 0: exited on signal 10 Mar 20 17:00:18 hel kernel: pid 94903 (sqwebmaild), uid 0: exited on signal 10 Mar 20 17:00:18 hel kernel: pi

stupid question - disk mirroring

2006-03-22 Thread Wojciech Puchar
what is right/best/simplest way to configure mirrored disk system? there was raid driver in NetBSD, but how in FreeBSD. possibility of booting from this set is important. thank you (please point to RTFM) ___ freebsd-questions@freebsd.org mailing list

portsnap FAILS! (why?!)

2006-03-30 Thread Wojciech Puchar
this way [EMAIL PROTECTED] portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org. Fetching public key... failed. on FreeBSD-6.0/amd64, while working perfect on other machine with exactly same version of portsnap. the difference is that other machine chooses po

Re: portsnap FAILS! (why?!)

2006-03-30 Thread Wojciech Puchar
On Thu, 30 Mar 2006, Colin Percival wrote: Wojciech Puchar wrote: [EMAIL PROTECTED] portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org. Fetching public key... failed. Usually this is due to network problems. If you run # portsnap --debug fetch it will

programmer questions - MMAP

2006-04-05 Thread Wojciech Puchar
the question is - why character 'a' isn't written!??!?! #include #include #include #include main() { int ff=open("test",O_RDWR|O_CREAT,0666); char *adr; lseek(ff,1<<24,0); write(ff,"",1); adr=mmap(0,1<<24,PROT_READ|PROT_WRITE,MAP_NOCORE,ff,0); if(adr==MAP_FAILED) { puts("error"); exit(

Re: programmer questions - MMAP

2006-04-05 Thread Wojciech Puchar
#include #include #include #include main() { int ff=open("test",O_RDWR|O_CREAT,0666); char *adr; lseek(ff,1<<24,0); write(ff,"",1); adr=mmap(0,1<<24,PROT_READ|PROT_WRITE,MAP_NOCORE,ff,0); Try MAP_NOCORE|MAP_SHARED here. It's probably defaulting to a private mapping. WORKS!!! thank yo

Re: Switch from SATA-RAID to gmirror?

2006-04-06 Thread Wojciech Puchar
On Thu, Apr 06, 2006 at 11:52:55AM +0100, Ashley Moran wrote: I've just installed a new server with gmirror and I like it. I've got an identical server running on-board RAID currently. Can I split the array in the BIOS, install gmirror on disk 1, reboot, and add the second disk in? Or i thin

Re: Giving more CPU time to a swapping process?

2006-04-06 Thread Wojciech Puchar
running for more than a few hours. In Windows XP, which has less per-task resource restriction (I guess?), I did successfully complete the task on the same hardware machine; although it takes more than 30 mins. How can I push up the priority of the whole paging task? How can I this will not spe

PCL interprefer for unix

2006-04-06 Thread Wojciech Puchar
anybody knows about program able to convert PCL printer code to postscript/PDF/bitmap/whatever - so it will be possible to view PCL prints on monitor and print it on non-PCL printers? thanks! Wojtek ___ freebsd-question

Re: 2 nets

2006-04-06 Thread Wojciech Puchar
I have two nets: wireless and ethernet and i need make something for combine these into 1 net. How do this in freebsd? man 4 bridge -- Best regards, Playnet mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mail

what's wrong with portsnap?!!!

2006-04-09 Thread Wojciech Puchar
that's on clean directory. [EMAIL PROTECTED] /usr/sbin/portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org. Fetching public key... done. Fetching snapshot tag... done. Fetching snapshot metadata... done. Fetching snapshot generated at ndz 9 kwi 02:33:58 2006 CES

portsnap DOESN'T WORK

2006-04-11 Thread Wojciech Puchar
[EMAIL PROTECTED] portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org. Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from ndz 9 kwi 02:33:58 2006 CEST to wto 11 kwi 19:04:27 2006 CEST. Fetching 4 metadata patches. done. Applying me

software search - Btrieve converter

2006-04-11 Thread Wojciech Puchar
does anyone know software able to read Btrieve .DAT files and output text formatted tables? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTEC

Re: /etc/hosts isn't being read

2006-04-13 Thread Wojciech Puchar
shells: files $ host example Host example not found: 3(NXDOMAIN) "host" command always use DNS. try ping, telnet, whatever use IP connections $ host example.example.org Host example not found 3(NXDOMAIN) What am I doing wrong here that is keeping /etc/hosts from being read? -- Thanks, J

Re: portsnap DOESN'T WORK

2006-04-13 Thread Wojciech Puchar
On Tue, 11 Apr 2006, Colin Percival wrote: Wojciech Puchar wrote: [EMAIL PROTECTED] portsnap fetch [...] Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 4ad98b45a8fb7f262971491949ddd63be3fa066a31d5d09d53a9eddff3276698.gz: No such file or directory metadata is corrupt. tried

MMAP&multiprocessor machine question

2006-04-13 Thread Wojciech Puchar
assume i have my program, that accesses data using mmap interface only, is run many times on same machine. if it's uniprocessor machine, it's clear - all processes will see the data coherrent. what in case of more than one processor. will one processor keep in cache data that was already m

FreeBSD beginner (NetBSD advanced)

2004-07-15 Thread Wojciech Puchar
i want to go to FreeBSD instead of NetBSD on my i386 machines because of all "new features" :( introduced in NetBSD after 1.5 mostly crashing softdeps, strange memory/unified disk cache management (large writing to file almost freezes everything) etc. etc. i installed FreeBSD once to do quick pe

Re: FreeBSD beginner (NetBSD advanced)

2004-07-15 Thread Wojciech Puchar
Wojciech Puchar wrote: i installed FreeBSD once to do quick performance tests, and at least in disk I/O and fair scheduling it's MUCH better (tested 4.10 and 5.1). It's nice to be welcomed by higher performance when you switch OSes. :-) while high performance is always cool, stable p

thank you

2004-07-15 Thread Wojciech Puchar
for excellent user support. now i have enough answers and can start working tomorrow :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?

2004-07-16 Thread Wojciech Puchar
Thank you all who took time to reply! The problem really seems to be one of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines. No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I am going to replace it with something more reliable. Any recommendations? Is t

Re: FreeBSD beginner (NetBSD advanced)

2004-07-16 Thread Wojciech Puchar
page about ipfw yesterday. i think i will not miss :) NikV On Friday 16 July 2004 00:50, Wojciech Puchar wrote: Wojciech Puchar wrote: i installed FreeBSD once to do quick performance tests, and at least in disk I/O and fair scheduling it's MUCH better (tested 4.10 and 5.1). It's nice to b

<    5   6   7   8   9   10   11   12   13   14   >