PKTSETUP(8)
πΏ PKTSETUP β the packet device matchmaker πΏ
okay bestie, welcome to pktsetup, section 8 of the System Manager's Manual, living under System Management Commands. she's a lil tool from the udftools family and she has ONE job: setting up and tearing down packet device associations. iconic behavior honestly.
β¨ NAME β¨
pktsetup β set up and tear down packet device associations π
πΈ SYNOPSIS πΈ
pktsetup packet_device block_device
pktsetup -d packet_device
pktsetup -s
like. three whole moods. that's it. that's the vibe.
π DESCRIPTION π
so pktsetup is literally the wingwoman for your hardware. she associates 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. yes bestie, read AND write. on a disc. we love to see it.
heads up tho β this requires kernel support for the packet device, and the UDF filesystem. no kernel support, no slay. that's just the rules π
See: HOWTO.udf (in the udftools documents directory) β go read it, iykyk π
β EXIT STATUS β
Pktsetup returns 0 on success, nonzero on failure. simple. clean. if it's not zero, something is giving chaos and you should investigate π
π OPTIONS π
-d packet-deviceβ delete the association between the specified packet-device and its block device. it's giving breakup era π₯ no more linking, no more bond, she's free.-sβ show the current device mapping, one device per line, in the format
name : pktdevid -> blkdevid
(e.g. "0 : 253:0 -> 22:0") β the little arrow is so cute, it's the two devices holding hands fr fr π«Ά
π¦ EXAMPLE π¦
okay so here's a whole little story arc of using the packet device. the following commands provide an example:
cdrwtool -d /dev/sr0 -q
pktsetup 0 /dev/sr0
mount -t udf /dev/pktcdvd0 /mnt
...
umount /dev/pktcdvd0
pktsetup -d 0
setup, mount, do your little tasks (the ... is you, being productive β¨), unmount, and then pktsetup -d 0 to clean up after yourself. character development. we stan a responsible queen π
π FILES π
/dev/pktcdvd0,/dev/pktcdvd1,... β CD/DVD packet devices π
π AUTHOR π
- Jens Axboe
<axboe@suse.de>β the original main character π - Some additions by Richard Atterer
<atterer@debian.org>β supporting cast, also iconic π
π§ AVAILABILITY π§
pktsetup is part of the udftools package and is available from https://github.com/pali/udftools/ πΈ go get her, she's free.
π₯ SEE ALSO π₯
cdrwtool(1)β her bestie, her partner in crime π
okay that's the whole page bestie, no cap, every last detail preserved π― and just so you know who's signing off: this little love letter came out of the udftools package, dated as part of the System Management Commands set, page PKTSETUP(8) β mwah, go format a disc πβ¨
π¦ where this page comes from
- alpine 3.24: udftools-doc 2.3-r2 Β· GPL-2.0-or-later
- arch rolling: udftools 2.3-3 Β· GPL
- centos-stream 9: udftools 2.2-5.el9 Β· GPLv2+
- debian bookworm: udftools 2.3-1 Β· GPL-2.0-or-later
- debian trixie: udftools 2.3-2 Β· GPL-2.0-or-later
- fedora 43: udftools 2.3-12.fc43 Β· GPL-2.0-or-later
- fedora 44: udftools 2.3-13.fc44 Β· GPL-2.0-or-later
- nixos 26.05: udftools 2.3
- nixpkgs unstable: udftools 2.3
- opensuse-leap 16.0: udftools 2.3-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: udftools 2.3-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: udftools 2.3-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: udftools 2.3-160000.2.2 Β· GPL-2.0-or-later
- ubuntu jammy: udftools 2.3-1 Β· GPL-2.0-or-later
- ubuntu noble: udftools 2.3-1build2 Β· GPL-2.0-or-later
- ubuntu questing: udftools 2.3-2
- ubuntu resolute: udftools 2.3-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: udftools 2.3-2build1 Β· GPL-2.0-or-later
- Copyright 2002 Paul Thompson <set@pobox.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms