Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
I tested an external disk for a while which was an old Seagate 80GB, and will be replacing it with a 250GB.
However I'd still like to make use of the 80GB, using both disks via a powered USB hub.
I've used this hub to connect both disks manually and copy the data from the 80GB to the 250GB.
However I do not know how to ensure that the 250GB becomes /sdc1 and the 80GB becomes /sdd1.
At the moment they are the other way around as the 250GB was the last to be added, but on a reboot they will both be connected at the same time.
Can anyone please explain how to get this setup if it is at all possible.?
TIA
Offline
FWIW if anyone needs to do something similar I've managed it with the following part of a script.
# Find out which disk is the 250GB
# Substitute the : for 1 so /dev/sdx: becomes /dev/sdx1
fdisk -l | grep '250.0' | awk {'print $2'} | awk '{sub(":","1")}1' > mntpt.log
MNTPT=`cat mntpt.log`
# Make sure something was returned (-n is length non zero)
if [ -n $MNTPT ] ; then
echo "Creating usb250 mount point" >> $EPS_LOG
mkdir /mnt/usb250 >> $EPS_LOG
mount $MNTPT /mnt/usb250 >> $EPS_LOG
fi
fdisk -l | grep '80.0' | awk {'print $2'} | awk '{sub(":","1")}1' > mntpt.log
MNTPT=`cat mntpt.log`
if [ -n $MNTPT ] ; then
echo "Creating usb80 mount point" >> $EPS_LOG
mkdir /mnt/usb80 >> $EPS_LOG
mount $MNTPT /mnt/usb80 >> $EPS_LOG
fi
Offline
well done
Offline
flagada wrote:
well done
Cheers, took me a while, I can tell you. :-)
Offline