[osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Johan Eliasson
Greetings! I have a little script that looks like below, that emails me info on my zfs pool every day: --- start script --- message=`/usr/sbin/zfs list -r tank` echo Subject: filez ZFS Information\n\n$message | mail fi...@nebol.se --- end script --- My problem is that when I view the mail in

Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Milan Cermak
Hi Johan, storing the command output in the variable removes the newlines (or better to say, it replaces them with spaces). To get formatted message, you may do something like: ( echo Subject: filez ZFS Information\n\n; /usr/sbin/zfs list -r tank ) | mail address Regards, Milan Cermak

Re: [osol-discuss] Opensolaris

2010-05-03 Thread Giovanni Tirloni
On Mon, May 3, 2010 at 1:23 AM, A Hettinger ahettin...@prominic.net wrote: (clippage) We have just heard these days that a staging server is down and that's why b138 isn't available. We also heard that it can't be made available on an external server because of legal reasons. How can an open

Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Tirso Alonso
Needs quotes around $message message=`/usr/sbin/zfs list -r tank` echo Subject: filez ZFS Information\n\n$message | mail filez at nebol dot se should work. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list

Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Oscar del Rio
On 5/3/2010 5:13 AM, Johan Eliasson wrote: message=`/usr/sbin/zfs list -r tank` echo Subject: filez ZFS Information\n\n$message | mail fi...@nebol.se Impossible to read.. how can I add newlines to the email? I imagine/hope it's a simple thing for you script-people... :) /usr/sbin/zfs

[osol-discuss] Can't change partition ID?

2010-05-03 Thread E. Mike Durbin
Hi. I'm trying to rebuild a failed disk on my laptop. But FDISK won't let me change the partition ID !! # fdisk /dev/rdsk/c4t0d0p0 Total disk size is 60801 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders

Re: [osol-discuss] Garrett D'Amore still at Oracle?

2010-05-03 Thread Alan Coopersmith
ольга крыжановская wrote: Is Garrett D'Amore still at Oracle? His mail post box is over flowing and I get a DISCARD from the mail server. He was here on Thursday when I saw him in the Menlo Park office - generally when someone leaves you'll get User unknown not Mailbox full errors. --

Re: [osol-discuss] Can't change partition ID?

2010-05-03 Thread Keith Mitchell
Try the non-interactive mode of fdisk: fdisk -W /tmp/partitions.txt /dev/rdsk/c4t0d0p0 # Dump the disk layout Edit /tmp/partitions.txt, changing the 4th partition from the linux native (131) value to the Solaris2 value (191). fdisk -F /tmp/partitions.txt /dev/rdsk/c4t0d0p0 # Apply the new

[osol-discuss] snv 134 crash

2010-05-03 Thread Lo Zio
Hi I installed snv 134 on a Dell PowerEdge T110. It all went fine but after one day it crashed. fmadm faulty says --- -- - TIMEEVENT-ID MSG-ID SEVERITY ---

Re: [osol-discuss] Garrett D'Amore still at Oracle?

2010-05-03 Thread Bill Sommerfeld
On 05/02/10 17:26, Alan Hargreaves wrote: There were some issues with the email servers over the weekend. That's a major understatement. If you sent an oracle employee mail recently (since, oh, friday) and have no evidence the employee received it, you might want to re-send it now.

Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread Ron Halstead
Try this: message=`/usr/sbin/zfs list -r tank` echo Subject: filez ZFS Information\n\n${message}| mail filez at nebol dot se That is curly braces around $message in the echo statement. ---ron -- This message posted from opensolaris.org ___

Re: [osol-discuss] Q: Adding newlines to script email output

2010-05-03 Thread ольга крыжановская
Try: = cut = message=$( /usr/sbin/zfs list -r tank ) { # header printf Subject: filez ZFS Information\n\n # message body cat ${message} } | mail fi...@nebol.se = cut = Olga On Mon, May 3, 2010 at 8:40 PM, Ron Halstead rdhalst...@gmail.com wrote: Try this:

Re: [osol-discuss] Oracle Corporation SunOS 5.11 snv_138 Apr. 15, 2010

2010-05-03 Thread Andre Lue
Dennis, Would you mind sharing how you were able to bfu to snv_138? Isn't acr part of the closed bits, which is no longer available? Thanks -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list

Re: [osol-discuss] Oracle Corporation SunOS 5.11 snv_138 Apr. 15, 2010

2010-05-03 Thread Alan Coopersmith
Andre Lue wrote: Would you mind sharing how you were able to bfu to snv_138? Isn't acr part of the closed bits, which is no longer available? The closed bits are still available - acr was deleted as part of the move to IPS packaging, as noted in the flag day at:

Re: [osol-discuss] Opensolaris

2010-05-03 Thread bsd
I'll wait for the hate messages after I post this. I personally don't get the Solaris/OpenSolaris distributions. Sure, I understand when Sun said that OpenSolaris was open source (although most of it is released under binary license agreements), and that OpenSolaris is supposed to be the

Re: [osol-discuss] Opensolaris

2010-05-03 Thread Ignacio Marambio Catán
On Mon, May 3, 2010 at 10:36 PM, bsd mascotgr...@yahoo.com wrote: I'll wait for the hate messages after I post this. I personally don't get the Solaris/OpenSolaris distributions.  Sure, I understand when Sun said that OpenSolaris was open source (although most of it is released under binary

Re: [osol-discuss] Opensolaris

2010-05-03 Thread Giovanni Tirloni
2010/5/3 Ignacio Marambio Catán darkjo...@gmail.com On Mon, May 3, 2010 at 10:36 PM, bsd mascotgr...@yahoo.com wrote: I'll wait for the hate messages after I post this. I personally don't get the Solaris/OpenSolaris distributions. Sure, I understand when Sun said that OpenSolaris was

Re: [osol-discuss] newbie need HELP

2010-05-03 Thread jay krik
new problem for the developers I think. 1. OS 2010.03 developer, has an install problem. Goes into a continuous loop. there is a temp work around , edit the kernel line, from graphics to text in the grub. 2. to make a permanent change must edit the /rpool/boot/grub/menu.lst (I think

Re: [osol-discuss] Opensolaris

2010-05-03 Thread Albert Lee
On Mon, 03 May 2010 18:36:29 PDT, bsd mascotgr...@yahoo.com wrote: I'll wait for the hate messages after I post this. I personally don't get the Solaris/OpenSolaris distributions. Sure, I understand when Sun said that OpenSolaris was open source (although most of it is released under binary