pktsetup(8) — Linux manual page


PKTSETUP(8)              System Manager's Manual             PKTSETUP(8)

NAME         top

       pktsetup - set up and tear down packet device associations

SYNOPSIS         top

       pktsetup packet_device block_device
       pktsetup -d packet_device
       pktsetup -s

DESCRIPTION         top

       Pktsetup is used to associate packet devices with CD or DVD block
       devices, so that the packet device can then be mounted and
       potentially used as a read/write filesystem. This requires kernel
       support for the packet device, and the UDF filesystem.

       See: HOWTO.udf (in the udftools documents directory)

EXIT STATUS         top

       Pktsetup returns 0 on success, nonzero on failure.

OPTIONS         top

       -d packet-device
              Delete the association between the specified packet-device
              and its block device.

       -s     Show the current device mapping, one device per line, in
              the format
               name : pktdevid -> blkdevid
              (e.g. "0 : 253:0 -> 22:0")

EXAMPLE         top

       The following commands provide an example of using the packet

              cdrwtool -d /dev/sr0 -q
              pktsetup 0 /dev/sr0

              mount -t udf /dev/pktcdvd0 /mnt
              umount /dev/pktcdvd0
              pktsetup -d 0

FILES         top

       /dev/pktcdvd0,/dev/pktcdvd1,...  CD/DVD packet devices

AUTHOR         top

       Jens Axboe <>
       Some additions by Richard Atterer <>

AVAILABILITY         top

       pktsetup is part of the udftools package and is available from

SEE ALSO         top


COLOPHON         top

       This page is part of the udftools (Linux tools for UDF
       filesystems and DVD/CD-R(W) drives) project.  Information about
       the project can be found at ⟨⟩.
       If you have a bug report for this manual page, see
       ⟨⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2021-12-09.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

System Management Commands      udftools                     PKTSETUP(8)

Pages that refer to this page: cdrwtool(1)udfinfo(1)wrudf(1)mkudffs(8)udflabel(8)