Home | History | Annotate | Download | only in genext2fs

Lines Matching full:tmpdir

8 TMPDIR=
33 --tmpdir)
34 TMPDIR=$2
56 echo " --tmpdir <tmpdir> The temporary dir where files"\
71 if [ -z "$KERNEL" -o -z "$RAMDISK" -o -z "$GENEXT2FS" -o -z "$TMPDIR" -o \
82 rm -rf $TMPDIR
83 mkdir -p $TMPDIR
85 echo -n "$CMDLINE" > $TMPDIR/cmdline
86 cp -f $KERNEL $TMPDIR/kernel
87 cp -f $RAMDISK $TMPDIR/ramdisk
90 mkdir -p $TMPDIR/boot/grub
91 cp -f $GRUBCONF $TMPDIR/boot/grub/menu.lst
94 num_blocks=`du -sk $TMPDIR | tail -n1 | awk '{print $1;}'`
102 num_inodes=`find $TMPDIR | wc -l`
104 $GENEXT2FS -d $TMPDIR -b $num_blocks -N $num_inodes -m 0 $OUTPUT