Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ftl_cs(4) [redhat man page]

FTL_CS(4)						     Kernel Interfaces Manual							 FTL_CS(4)

NAME
ftl_cs - Flash Translation Layer driver for PCMCIA memory cards SYNOPSIS
insmod ftl_cs.o [pc_debug=n] [major_dev=n] DESCRIPTION
Flash memory devices typically need to be erased before they are written, and most flash devices can only be erased on large block bound- aries like 64K or 128K. The Flash Translation Layer driver, ftl_cs, implements a sort of virtual sector-addressable block device that hides the details of erase operations. Using the FTL driver, a flash memory card can be treated as an ordinary block device. The ftl_cs driver allocates a major device number when it is loaded. Minor device numbers have a bitwise layout of 'dddrrppp'. 'ddd' is the device number, with one card counting as one device. 'rr' is the common-memory region number, generally 0. And 'ppp' selects a logi- cal partition within the FTL region. The default configuration script for FTL devices will create a block device with the name of the form '/dev/ftl{d}c{r}', where '{d}' is the device number and '{r}' is the region number, that spans the entire FTL region. It also creates devices '/dev/ftl{d}c{r}p[1-4]' pointing to partitions 1 through 4 within this FTL region. An FTL region must be formatted before use. The formatting utility, ftl_format, needs to write to the corresponding raw memory device rather than the FTL device interface. PARAMETERS
pc_debug=n Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging. major_dev=n Selects the major device number to allocate for FTL devices. The default is to pick any available major number. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
ftl_format(8), cardmgr(8), memory_cs(4), pcmcia(5). pcmcia-cs 2000/06/12 21:24:47 FTL_CS(4)

Check Out this Related Man Page

FTL_FORMAT(1)						      General Commands Manual						     FTL_FORMAT(1)

NAME
ftl_format - Flash Translation Layer formatting utility SYNOPSIS
ftl_format [-q] [-i] [-s spare] [-r reserve] [-b bootsize] device DESCRIPTION
Ftl_format creates a Flash Translation Layer partition on a flash memory device. It needs to access the flash partition's raw character- mode device (such as /dev/mem0c0c). This is actually a low-level format operation, required before accessing a memory device via the FTL block device driver. Once a partition is prepared with ftl_format, a filesystem should be created in a separate step. Filesystem commands should access the device via the FTL device file (such as /dev/ftl0). Optionally, ftl_format can reserve a region at the beginning of the flash card address space for a boot image (or any other purpose). The boot area is not part of the FTL partition, and can only be accessed via the raw memory device. On Intel Series 100 flash cards, the first flash block is used to store the card's configuration information structures. If no boot area is specified on the command line, ftl_format will automatically create one to span the first block. OPTIONS
-q Quiet mode: don't print formatting statistics. -i Interactive: confirm before beginning the format. -s spare Reserve the specified number of erase blocks as spares. The default is 1. A read-write partition requires at least one spare block. -r reserve Reserve the specified percentage of the total space on the device to improve write efficiency. The default is 5%. Reserving less space increases the frequency of flash erase operations to reclaim free blocks. -b bootsize Requests that a portion of the flash card be reserved for a boot image. The size will be rounded up to an integral number of erase blocks. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
ftl_cs(4), ftl_check(8). pcmcia-cs 2000/06/12 21:24:48 FTL_FORMAT(1)
Man Page