livebox:development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
livebox:development [2011/06/29 15:23] – external edit 127.0.0.1livebox:development [2012/06/01 23:02] (current) – [USB Filesystem support] brett
Line 218: Line 218:
 ===== USB Filesystem support ===== ===== USB Filesystem support =====
  
-Much for the work to perform this task has been documented. http://www.agp.dsl.pipex.com/mountingusbdrive.html+Much for the work to perform this task has been documented. [[http://www.andyp.uwclub.net/livebox_filesystem_usb_drives.html]]
 {{:livebox:usb-filesystem.zip|}} {{:livebox:usb-filesystem.zip|}}
 +
 Given the limited amount of storage available in the flash RAM using USB storage is the way to go. Given the limited amount of storage available in the flash RAM using USB storage is the way to go.
  
 Each of the KERNEL modules needs to be cross compiled and installed into /tmp, once this has been done the following series of commands can be executed to mount an external USB filesystem. Each of the KERNEL modules needs to be cross compiled and installed into /tmp, once this has been done the following series of commands can be executed to mount an external USB filesystem.
 +
 +These modules are now already compiled into the kernel USB storage drivers.  All that you need to do now to mount a USB drive is issue the necessary insmod and mount commands depending on the USB filesystem type, an example script can be found on your livebox in /etc_ro_fs/mount-usb.
  
 <code> <code>
-modprobe usb-ohci 
-insmod scsi_mod.o 
-insmod sd_mod.o 
-insmod usb-storage.o 
 # FOR FAT32/VFAT filesystem # FOR FAT32/VFAT filesystem
-insmod nls.+insmod /lib/modules/2.4.17/kernel/fat.o 
-insmod fat.o +insmod /lib/modules/2.4.17/kernel/vfat.o
-insmod vfat.o+
 mount -t vfat /dev/sda1 /mnt/usb mount -t vfat /dev/sda1 /mnt/usb
 </code> </code>
Line 243: Line 241:
 The ext2 filesystem will use less memory and should be considered if a permanent solution for storage is required The ext2 filesystem will use less memory and should be considered if a permanent solution for storage is required
 <code> <code>
-insmod ext2.o+insmod /lib/modules/2.4.17/kernel/ext2.o
 mount /dev/sda1 /mnt/usb mount /dev/sda1 /mnt/usb
 </code> </code>
  • livebox/development.1309361009.txt.gz
  • Last modified: 2012/01/26 22:34
  • (external edit)