Zac Medico wrote:

Probably.  You can save space with a compressed
filesystem like jjfs or squashfs.  You probably want
to mount it read only since flash has limited write
cycles.

You say the kernel messages indicate that the flash
disk was recognized as sda so I'm not sure why it's
not mounting for you.  I looked through
linux/Documentation/kernel-parameters.txt and saw a
"rootdelay" parameter.  With the modules I need a
delay for the usb drivers to initialize.  Maybe you
need that too.  Try rootdelay=5 or rootdelay=10 or
something.

Kind of off on a tangent, but there are other alternatives to a write-protected file system. Instead of using a USB flash disk, there are IDE-CompactFlash adapters that would achieve the same result but with 100% IDE compatibility, so the disk just shows up as /dev/hd[x] like a normal hard drive and doesn't require any rootdelaying or USB drivers. I don't know if CF cards are lockable, I know SD's are. CF is kind of costly, though, especially if you want faster media.

SCSI wouldn't be worth the money here (disks can be write-protected at the hardware level via a jumper), but maybe a nice Ultra160 15 kRPM drive on your back-end server would make a good investment.
--

Colin

--
gentoo-user@gentoo.org mailing list

Reply via email to