Tag: script

Ripping Audio CD in OpenSolaris

Install the SUNWcdrw package, create the filesystem(s)Open a Terminal and type: 12pfexec pkg install SUNWcdrwpfexec zfs create -o mountpoint=/music rpool/music Create a ripCD.sh script12345678910#!/bi

Rename all files that end in 'JPEG' with 'jpg'

ScriptThis script will save the path and name of all files ending in JPEG in the FN variable.Then goes through each entry and renames the files (and displays the file it’s on) 123456#!/bin/bashFN=$( f

Sharing ZFS filesystems in OpenSolaris

Set sharenfs on the serving computer12suzfs set sharenfs=ro rpool/wav “ro” = read-only“on” = read/write“off” = off The other setting is sharesmb which requires SUNWsmbs SUNWsmbskr, a reboot, and svcad

Limiting ZFS ARC Cache in OpenSolaris

Set zfs_arc_maxVia http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache 12345678910For example, if an application needs 5 GBytes of memory on a system with36-GBy

IP aliases in OpenSolaris

Via http://ipucu.enderunix.org/view.php?id=369&lang=en To have multiple IP addresses on 1 NIC, you need to make aliases. 123456pfexec bashMYIP=

How to mount Windows shares in OpenSolaris

Via http://dlc.sun.com/osol/docs/content/SSMBAG/smbclientusertaskstm.html#mountsharetask 1mount -F smbfs //[workgroup;][user[:password]@]server/share mount-point In my case I had to enable smb/client: