Re: Extend RAID 5

2015-06-20 Thread Nick Holland
On 06/20/15 14:48, LÉVAI Dániel wrote: > Hi! > > I'm planning to replace my OpenBSD media center, and was going to test > the new [1] RAID 5 features and functions, but I'm really unexperienced > in this field. How does this work; can I create a 4 disks RAID5 array > (w/ bioctl(8)) and then later

FFS snapshoting/softupdates status

2015-06-20 Thread Karel Gardas
Hello, just going thorough papers/presentations and surprisingly found that kind of snapshoting is already supported in UFS since '99, FreeBSD probably supports that, while NetBSD seems to not and even removed softupdates from 6.0 release[1]. I've also found remark from Henning Brauer in his "Open

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >>> If you want to match the exact complete command line, adapt >>> pexp > accordingly and end it with '$'. >>> >>> Can $pexp be set via /etc/rc.conf.local? > No, you need to edit the rc script for that. After thinking about creating a custom r

understanding rc.subr

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > Some daemons will happend more stuffs to the command line > than just >>> $daemon $daemon_flags > > Then $pexp should include everything that a daemon can > append via rc.conf.local settings? >>> No. >> >> Would you mind e

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread Antoine Jacoutot
On Sat, Jun 20, 2015 at 10:02:18PM +0200, nusenu wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > >>> Some daemons will happend more stuffs to the command line than > >>> just > > $daemon $daemon_flags > >>> > >>> Then $pexp should include everything that a daemon can append > >

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >>> Some daemons will happend more stuffs to the command line than >>> just > $daemon $daemon_flags >>> >>> Then $pexp should include everything that a daemon can append >>> via rc.conf.local settings? > No. Would you mind elaborating on that?

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > What do you think about this patch to require a perfect > match > when sending invoking pkill/pgrep? > > Won't work. Carefully read pgrep(1) again. >>> >>> After reading the man page again I even found something more >>> f

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread Antoine Jacoutot
On Sat, Jun 20, 2015 at 09:44:14PM +0200, nusenu wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > > What do you think about this patch to require a perfect > > match > > when sending invoking pkill/pgrep? > > > > Won't work. Carefully read pgrep(1) again. > >

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread Antoine Jacoutot
On Sat, Jun 20, 2015 at 03:33:20PM +0200, nusenu wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > >>> imagine you have N services named: > >>> > >>> service service1 service2 ... > >>> > >>> Now you want to stop 'service' and you run: 'rcctl stop > >>> service' > >>> > >>> all (no

Extend RAID 5

2015-06-20 Thread LÉVAI Dániel
Hi! I'm planning to replace my OpenBSD media center, and was going to test the new [1] RAID 5 features and functions, but I'm really unexperienced in this field. How does this work; can I create a 4 disks RAID5 array (w/ bioctl(8)) and then later just add another disk, and fdisk+growfs? Can I cre

Re: how to restore partion order , openbsd's grub

2015-06-20 Thread Tuyosi Takesima
*Hi Maurice * sorry ,PC has 1 ATA HDD(sd0 =sda) and 1 USB HDD(sd1 =sdb). i rsync arch from sdb to sda by linux , and edit it's /etc/fstab . then arch boot by openbsd's grub . i have two boot loader . ATA HDD's one is made by puppy's grub4dos and USB H

Re: "when SSDs are not so solid" or why no TRIM support can be a good thing :)

2015-06-20 Thread frantisek holop
Chris Cappuccio, 19 Jun 2015 09:59: > The problem identified in this article is _NOT_ TRIM support. It's > "QUEUED TRIM" support. It's an exotic firmware feature that is BROKEN. > Suffice to say, if Windows doesn't exercise an exotic feature in PC > hardware, it may not be well tested by anybody!

Re: rc.subr: $pexp does not always contain daemon flags?

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > On Tue, Jun 16, 2015 at 01:32:11PM +, nusenu wrote: > Rebooting (without changing the config) "solves" the issue > but is not really an option. I cannot reproduce here. > > I can reproduce it every (first) time on multiple f

OpenBSD support for Lenovo Y50-70

2015-06-20 Thread Kaashif Hymabaccus
Hello misc@, I am looking to purchase a Lenovo Y50-70 laptop, and I'm wondering whether anyone else has this laptop and whether it works with OpenBSD. Here is a link to a page with a list of models and hardware: http://shop.lenovo.com/gb/en/laptops/lenovo/y-series/y50/ A search of misc@ and tech@

Re: bug in rc.subr: kills more than it should (patch)

2015-06-20 Thread nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >>> imagine you have N services named: >>> >>> service service1 service2 ... >>> >>> Now you want to stop 'service' and you run: 'rcctl stop >>> service' >>> >>> all (not just one) of them are gone? >>> >>> >>> rc.subr invokes pkill and does a "

Re: how to restore partion order , openbsd's grub

2015-06-20 Thread Maurice McCarthy
On Sat, Jun 20, 2015 at 02:26:18PM +0100 or thereabouts, Maurice McCarthy wrote: > On Sat, Jun 20, 2015 at 12:06:44PM +0900 or thereabouts, Tuyosi Takesima > wrote: > > > > title ARCH > > root (hd0,1) <- canNOT boot > > kernel /boot/vmlinuz-linux root=/dev/sdb2 ro > > initrd /boot/initramfs

Re: how to restore partion order , openbsd's grub

2015-06-20 Thread Maurice McCarthy
On Sat, Jun 20, 2015 at 12:06:44PM +0900 or thereabouts, Tuyosi Takesima wrote: > > title ARCH > root (hd0,1) <- canNOT boot > kernel /boot/vmlinuz-linux root=/dev/sdb2 ro > initrd /boot/initramfs-linux.img > Surely (hd0,1) should be /dev/sda2. No? Not sure if it makes any difference but

amd (BSD automounter) stuck at nfsv2?

2015-06-20 Thread Alessandro DE LAURENZIS
Dear misc@ readers, I actually use amd for a long time, but I never realized this until I started to share large files... First things first, my amd configuration is neither fancy nor complex: just22@poseidon:[~]> cat /etc/rc.conf.local [...] # BSM automounter portmap_flags=""# DARPA por