PARTFS(8)                                               PARTFS(8)

     NAME
          partfs - serve file, with partitions

     SYNOPSIS
          disk/partfs [ -Dr ] [ -d diskname ] [ -m mtpt ] [ -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 -s option causes partfs to post its 9P service at
          /srv/service.

     EXAMPLES
          Partition a USB flash device:

               usb/disk
               disk/partfs /n/disk/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
          sd(3), disksim(8), prep(8)

     Page 1                       Plan 9            (printed 12/22/24)