create_ramdisk.ksh (387:f8c79c306600) | create_ramdisk.ksh (621:37445ada73e4) |
---|---|
1#!/bin/ksh -p 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License, Version 1.0 only 7# (the "License"). You may not use this file except in compliance 8# with the License. --- 48 unchanged lines hidden (view full) --- 57 exit ;; 58 esac 59done 60 61if [ -x /usr/bin/mkisofs -o -x /tmp/bfubin/mkisofs ] ; then 62 format=isofs 63fi 64 | 1#!/bin/ksh -p 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License, Version 1.0 only 7# (the "License"). You may not use this file except in compliance 8# with the License. --- 48 unchanged lines hidden (view full) --- 57 exit ;; 58 esac 59done 60 61if [ -x /usr/bin/mkisofs -o -x /tmp/bfubin/mkisofs ] ; then 62 format=isofs 63fi 64 |
65# 66# mkisofs on s8 doesn't support functionality used by GRUB boot. 67# Use ufs format for boot archive instead. 68# 69release=`uname -r` 70if [ "$release" = "5.8" ]; then 71 format=ufs 72fi 73 |
|
65shift `expr $OPTIND - 1` 66 67if [ $# -eq 1 ]; then 68 ALT_ROOT=$1 69 echo "Creating ram disk on ${ALT_ROOT}" 70fi 71 72# make directory for temp files safely --- 130 unchanged lines hidden --- | 74shift `expr $OPTIND - 1` 75 76if [ $# -eq 1 ]; then 77 ALT_ROOT=$1 78 echo "Creating ram disk on ${ALT_ROOT}" 79fi 80 81# make directory for temp files safely --- 130 unchanged lines hidden --- |