GNU/Linux |
CentOS 5.6 |
|
![]() |
pktsetup(8) |
![]() |
pktsetup − set up and tear down packet device associations
pktsetup
packet_device block_device
pktsetup −d packet_device
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: http://packet-cd.sourceforge.net/
Pktsetup returns 0 on success, nonzero on failure.
−d packet-device
Delete the association between the specified packet-device and its block device.
The following commands provide an example of using the packet device.
cdrwtool -d
/dev/sr0 -q
pktsetup /dev/pktcdvd0 /dev/sr0
mount -t udf
/dev/pktcdvd0 /mnt
...
umount /dev/pktcdvd0
pktsetup -d /dev/pktcdvd0
/dev/pktcdvd0,/dev/pktcdvd1,... CD/DVD packet devices (block major=97)
Jens Axboe <axboe@suse.de>
pktsetup is part of the udftools package and is available from http://linux-udf.sourceforge.net.
cdrwtool(1)
![]() |
pktsetup(8) | ![]() |