PARTFS(8) PARTFS(8) NAME partfs - serve file, with partitions SYNOPSIS disk/partfs [ -Dr ] [ -d diskname ] [ -m mtpt ] [ -p 9load- parts ] [ -s srvname ] diskimage DESCRIPTION Partfs presents the file diskimage in the manner of sd(3) on mtpt/diskname (default /dev/sdXX). Changes made to the disk are written through to diskimage unless the -r option is given. When setting disk geometry with the geometry control mes- sage, the arguments are sectors and sector size. The -m option causes partfs to mount its synthetic file sys- tem at mtpt instead of /dev. The -p option causes partfs to treat 9load-parts as a parti- tion environment variable constructed by 9load (see 9boot(8)) and adds the defined partitions. This is used primarily by boot(8) to assist booting from USB disks. The -s option causes partfs to post its 9P service at /srv/service. EXAMPLES Partition a USB flash device: disk/partfs /dev/sdU0.0/data disk/mbr -m /386/mbr /dev/sdXX/data disk/fdisk -baw /dev/sdXX/data disk/prep /dev/sdXX/plan9 SOURCE /sys/src/cmd/disk/partfs.c SEE ALSO fs(3), sd(3), disksim(8), prep(8) Page 1 Plan 9 (printed 11/18/24)