Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Question about creating Flash image
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Markus Gyger  
View profile  
 More options Aug 3 2002, 1:16 pm
Newsgroups: comp.sys.sun.admin
From: mgy...@gmu.edu (Markus Gyger)
Date: 3 Aug 2002 17:13:09 GMT
Local: Sat, Aug 3 2002 1:13 pm
Subject: Re: Question about creating Flash image

"Youngshin Jae" <ys...@att.com> writes:
> I am creating a Flash image. I have several filesystems and I only needs
> couple of them. I tried to use -x option, but it only exclude one
> filesystem. How can I exclude several filesystems ?

You could use find & grep, e.g.

df -a | awk '{ print $1 }' > /var/tmp/files
find / /u01/app ! -type D ! -type s -print \( ! -mount -o \
     -fstype lofs \) -prune >> /var/tmp/files
egrep -v '^(/var/tmp|/var/crash|/export)/|^/$' /var/tmp/files | sort -ru | \
flarcreate -n s9-fcs -S -H -c -f /dev/stdin -F /var/tmp/s9-fcs.flar
rm /var/tmp/files

Markus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.