Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pktsetup    ( 8 )

устанавливать и удалять ассоциации пакетных устройств (set up and tear down packet device associations)

Имя (Name)

pktsetup - set up and tear down packet device associations


Синопсис (Synopsis)

pktsetup packet_device block_device pktsetup -d packet_device pktsetup -s


Описание (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)


Статус выхода (Exit)

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