summaryrefslogtreecommitdiffstats
path: root/fs/partitions
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-05-27 07:59:25 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-05-27 07:59:25 +0200
commitac04fee0b5c55bbac0858727a4154110b55d3f5a (patch)
tree5277380fe275b447ebe5f8d26762c34dea503cf5 /fs/partitions
parentd86e0e83b32bc84600adb0b6ea1fce389b266682 (diff)
downloadlinux-ac04fee0b5c55bbac0858727a4154110b55d3f5a.tar.gz
linux-ac04fee0b5c55bbac0858727a4154110b55d3f5a.tar.bz2
linux-ac04fee0b5c55bbac0858727a4154110b55d3f5a.zip
loop: export module parameters
Export 'max_loop' and 'max_part' parameters to sysfs so user can know that how many devices are allowed and how many partitions are supported. If 'max_loop' is 0, there is no restriction on the number of loop devices. User can create/use the devices as many as minor numbers available. If 'max_part' is 0, it means simply the device doesn't support partitioning. Also note that 'max_part' can be adjusted to power of 2 minus 1 form if needed. User should check this value after the module loading if he/she want to use that number correctly (i.e. fdisk, mknod, etc.). Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions