logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pktsetup - set up and tear down packet device associations

Author

       Jens Axboe <axboe@suse.de>
       Some additions by Richard Atterer <atterer@debian.org>

Availability

pktsetup is part of the udftools package and is available from https://github.com/pali/udftools/.

Description

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)

Example

       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

Exit Status

Pktsetup returns 0 on success, nonzero on failure.

Files

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

Name

       pktsetup - set up and tear down packet device associations

Options

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

See Also

cdrwtool(1)

System Management Commands                          udftools                                         PKTSETUP(8)

Synopsis

pktsetuppacket_deviceblock_devicepktsetup-dpacket_devicepktsetup-s

See Also