Mounting USB Drive
I would like more storage on the box .. so need to mount a USB drive. I can't however make this work. I see, from dmesg,
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: CBM Model: Flash Disk Rev: 5.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 2068992 512-byte hdwr sectors (1059 MB)
sda: Write Protect is off
Partition check:
sda: sda1
I've added into fstab:
/dev/sda1 /tmp/usb vfat defaults 0 0
but cannot mount the filesystem.
Is this possible?
Cheers,
steve
Yup. This is the howto note. It took me a while to find the correct mke2fs parameters, but once this was sorted, the USB pen mounted just fine.
Did you get it working?
Derek
Check out the sample file already on your livebox: /etc_ro_fs/mount-usb
Actually running this I see that I've already compiled in the USB STORAGE drivers into the kernel. So all you need to do to mount a VFAT/FAT partition would be to load the module for that.
# insmod fat.o
# insmod vfat.o
This should get you moving....
If you format the USB drive as EXT3 it will work out of the box and you don't need to load these addnl drivers. EXT3 is the perferred filesystem. EXT2 is a subset of EXT3 - so it does not explicity appear. EXT2 is EXT3 without jounalling.
To see already loaded modules
# cat /proc/modules
vfat 12496 0 (unused)
fat 37504 0 [vfat]
switch 1200 0 (unused)
bcm_enet 20848 4
#
PS: you don't need to download or install anything additional.
Think I've found the answer here: http://www.dbzoo.com/livebox/development#building_new_kernel_modules