theboy50
11-04-2006, 20:18
Hi
I have to run:
mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt
to get the usbpen mountet on /opt
What is wrong with my bootscript. I have tryed many things now,
------------------Before mounting-------------
[admin@WL-500GX /opt]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2752 2752 0 100% /
/dev/discs/disc0/part4 251496 236640 14856 94% /tmp/harddisk
--------------------After mounitng------------
[admin@WL-500GX /opt]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2752 2752 0 100% /
/dev/discs/disc0/part4 251496 236640 14856 94% /tmp/harddisk
/dev/loop/0 63461 26467 33718 44% /opt
--------------------------------------------
Here is my post-boot:
----------------------
export PATH=$PATH:/opt/bin:/opt/sbin
#!/bin/sh
# wait for /opt to mount
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=Expr $i + 1
done
# Activate swap
swapon /dev/discs/disc0/part4
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt
----------------------------------------------------------
Here is my post-mount
PATH=$PATH:/opt/bin:/opt/sbin
export PATH=$PATH:/opt/bin:/opt/sbin
#!/bin/sh
# wait for /opt to mount
mount /dev/discs/disc0/part4 /opt
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=Expr $i + 1
done
# Activate swap
swapon /dev/discs/disc0/part4
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
----------------------
They are located at:
/usr/local/sbin/post-mount
and
/usr/local/sbin/post-boot
--------------------------
What is the problem?
I have to run:
mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt
to get the usbpen mountet on /opt
What is wrong with my bootscript. I have tryed many things now,
------------------Before mounting-------------
[admin@WL-500GX /opt]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2752 2752 0 100% /
/dev/discs/disc0/part4 251496 236640 14856 94% /tmp/harddisk
--------------------After mounitng------------
[admin@WL-500GX /opt]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2752 2752 0 100% /
/dev/discs/disc0/part4 251496 236640 14856 94% /tmp/harddisk
/dev/loop/0 63461 26467 33718 44% /opt
--------------------------------------------
Here is my post-boot:
----------------------
export PATH=$PATH:/opt/bin:/opt/sbin
#!/bin/sh
# wait for /opt to mount
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=Expr $i + 1
done
# Activate swap
swapon /dev/discs/disc0/part4
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt
----------------------------------------------------------
Here is my post-mount
PATH=$PATH:/opt/bin:/opt/sbin
export PATH=$PATH:/opt/bin:/opt/sbin
#!/bin/sh
# wait for /opt to mount
mount /dev/discs/disc0/part4 /opt
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=Expr $i + 1
done
# Activate swap
swapon /dev/discs/disc0/part4
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
----------------------
They are located at:
/usr/local/sbin/post-mount
and
/usr/local/sbin/post-boot
--------------------------
What is the problem?