Great idea, Gorgonops! You could probably customize the images as well.
Eh, sorry for being a bit of a grump. I think it was just reminding me of the times you end up having to explain the concept of "joke's over now" to the kids when they through hysterical tears throw out the same witticism for 20 minutes straight.Not harping, just having a little fun with the old saw about "if all you have is a hammer" on a weight class/misapplication of the many flavors of hammers theme.
It's ok, I could see where you were coming from.Eh, sorry for being a bit of a grump.
I like this idea! I already have a USB/Firewire external drive that has different OS installs and CCC to blow them onto a computer, but this would add more flexibility.In any case, the reason I think this is interesting, particularly if you *do* happen to have a laptop with a firewire port, is if it really works it potentially would make it possible to lug around a complete library of "rescue disks" you can use to start up any firewire bootable Mac in one little package... which at the same time can also remain usable as a computer.


*snicker* I *do* like swinging around the old sledge. Especially at houseflies, which can sometimes be a problem...What's non-trivial enough to be interesting for him to wield his sledge like powers to do something way cool is far beyond what I would think is a very large majority of us.
And of course almost to the very second I hit submit on this post the installer finished and rebooted.Still installing.

#!/bin/bash
mkdir -p /sys/kernel/config/target/core/fileio_0/tigercd
echo "fd_dev_name=/home/disks/tigercd.img,fd_dev_size=3791523840" > /sys/kernel/config/target/core/fileio_0/tigercd/control
echo 1 > /sys/kernel/config/target/core/fileio_0/tigercd/enable
# Create and enable the sbp2 target
mkdir -p /sys/kernel/config/target/sbp/001b63fffe712bb4/tpgt_1
mkdir -p /sys/kernel/config/target/sbp/001b63fffe712bb4/tpgt_1/lun/lun_0
ln -s /sys/kernel/config/target/core/fileio_0/tigercd /sys/kernel/config/target/sbp/001b63fffe712bb4/tpgt_1/lun/lun_0/
echo 1 > /sys/kernel/config/target/sbp/001b63fffe712bb4/tpgt_1/enable
#!/bin/bash
mkdir -p /sys/kernel/config/target/core/fileio_1/24g
echo "fd_dev_name=/home/disks/24g.img,fd_dev_size=25769803776" > /sys/kernel/config/target/core/fileio_1/24g/control
echo 1 > /sys/kernel/config/target/core/fileio_1/24g/enable
# Create and enable the sbp2 target
mkdir -p /sys/kernel/config/target/sbp/001b63fffe712bb5/tpgt_1
mkdir -p /sys/kernel/config/target/sbp/001b63fffe712bb5/tpgt_1/lun/lun_0
ln -s /sys/kernel/config/target/core/fileio_1/24g /sys/kernel/config/target/sbp/001b63fffe712bb5/tpgt_1/lun/lun_0/
echo 1 > /sys/kernel/config/target/sbp/001b63fffe712bb5/tpgt_1/enable
$ targetcli
targetcli 3.0.pre4.1~ga55d018 (rtslib 3.0.pre4.1~g1b33ceb)
Copyright (c) 2011-2014 by Datera, Inc.
All rights reserved.
/> ls
o- / ......................................................................................................................... [...]
o- backstores .............................................................................................................. [...]
| o- fileio .................................................................................................. [2 Storage Objects]
| | o- 24g .................................................................................. [24.0G, /home/disks/24g.img, in use]
| | o- tigercd ........................................................................... [3.5G, /home/disks/tigercd.img, in use]
| o- iblock ................................................................................................... [0 Storage Object]
| o- pscsi .................................................................................................... [0 Storage Object]
| o- rd_mcp ................................................................................................... [0 Storage Object]
o- ib_srpt ........................................................................................................... [0 Targets]
o- iscsi ............................................................................................................. [0 Targets]
o- loopback .......................................................................................................... [0 Targets]
o- qla2xxx ........................................................................................................... [0 Targets]
o- tcm_fc ............................................................................................................ [0 Targets]
o- usb_gadget ........................................................................................................ [0 Targets]
o- vhost ............................................................................................................. [0 Targets]
/>
Nice work! You've now made another official "project" for me to put on my list!But, yes, it works from a Linux target drive. Mission accomplished.
Wow! I remember when those were new!! (I bought one to *upgrade* a PC I'd built back in '08 or so because I was stuck with an 80 GB somethingorother, and it was feeling rather slow and cramped). Guess that shows how quickly things move in computer land....something that can handle more iops than the ancient WD5000AAKS that's still chugging along in this wreck
I think it's one of the drives that came in the machine when it was new, so... yeah, it's probably seriously on borrowed time.Wow! I remember when those were new!!