From: atze <atze-lists@ewave.at>
To: linux-kernel@vger.kernel.org
Subject: mke2fs hangs ?
Date: Fri, 09 Nov 2001 16:07:38 +0100 [thread overview]
Message-ID: <3BEBF13A.1030505@ewave.at> (raw)
hy!
maybe i'm a little bit off-topic but a had no other idea where to post
my prob.
i built a kickstart disk myself, using the 2.4.8 kernel, ramdisk,
whatever, and everythings running wuite fine indeed.
my only problem is this: when executine the script below to initiate the
hard disks, the script hangs. right after sfdisk partitioned the disk
with the data from its input file, mke2fs shows it initial line (mke2fs
1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09) and then stops.
to go on with the script one has to press any key, shift, tab, caps,
whatever..
anyone has a clue what could cause that behaviour ?
thx to all
thomas
#!/bin/sh
export PATH=/bin:/usr/bin:/usr/sbin
DS=`sfdisk -s /dev/hda`
echo -n "partitioning /dev/hda..."
if [ $DS -gt 500000 -a $DS -lt 1000000 ]; then
PT="min";
elif [ $DS -gt 1000000 -a $DS -lt 7000000 ]; then
PT="mid";
elif [ $DS -gt 7000000 ]; then
PT="max";
else
echo "too small";
exit 1;
fi
echo $PT
sfdisk -uM /dev/hda < /etc/inst/partitions.$PT 1>/dev/null 2>&1
mke2fs -q -c /dev/hda5 -L "/"
mke2fs -q -c -b 1024 /dev/hda1 -l "/boot"
if [ $PT = "max" ]; then
mke2fs /dev/hda6 -q -L "/root";
mke2fs /dev/hda7 -q -L "/tmp";
mke2fs /dev/hda8 -q -L "/var";
elif [ $PT = "mid" ]; then
mke2fs /dev/hda6 -q -L "/tmp";
mke2fs /dev/hda7 -q -L "/var";
elif [ $PT = "min" ]; then
mke2fs /dev/hda6 -q -L "/var";
fi
reply other threads:[~2001-11-09 15:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BEBF13A.1030505@ewave.at \
--to=atze-lists@ewave.at \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox