pktsetup(1)

pktsetup1

Set up and tear down packet device associations

Usage

pktsetup packet_device block_device

pktsetup -d packet_device

pktsetup -s

Overview

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 /usr/share/doc/udftools/README.Debian for more information.

Exit status

Pktsetup returns 0 on success, nonzero on failure.

Options

-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")

Examples

The following commands provide an example of using the packet device.


    

    
        

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

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

Files

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

Releases

6 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–8

-s since Debian 5.0 (Lenny).

Author

Jens Axboe <[email protected]>
Some additions by Richard Atterer <[email protected]>

Availability

pktsetup is part of the udftools package and is available from http://sourceforge.net/projects/linux-udf/

From udftools 1.0.0b3-14.3 in Debian 8 (Jessie). Parsed by carta from the page's man source.