Hirdetés

Aktív témák

  • harry

    veterán

    Szeretnék egy openvz virtuális gépnek átadni egy eszközt a fizikai géptől, konkrétan az s-video kimenetet. Az openvz doksiban ezt láttam:

    "It is possible to grant a Virtual Private Server read, write, or read/write access to a character or block device."

    vzctl set 101 --devices b:8:16:rw --devices b:8:17:rw --devices b:8:18:rw --save

    This command sets the read/write permissions for block devices with major number 8 and minor numbers 16, 17 and 18 (corresponding to /dev/sdb, /dev/sdb1, and /dev/sdb2).
    If you are not sure which major and minor numbers correspond to the necessary block devices, you may issue the following command:

    ls -l /dev/sdb{,1,2}

    Egy s-video kimenet milyen eszköz, karakteres vagy blokk? Hogy nézne ki a parancs?

    Theoretically, this damn thing oughta work now.

Aktív témák