CONTENT
  • CHANGES
Szukaj
counter

#top losetup


losetup - set up and control loop devices

Powiązane:

SYNOPSIS
usage:
losetup loop_device # give info
losetup -d loop_device # delete
losetup -f # find unused
losetup -a # list all used
losetup -r # read-only loop
losetup [-e encryption] [-o offset] [-r] {-f|loop_device} file # setup


DESCRIPTION



OPTIONS
-a
Show status of all loop devices.

-d <loopdev> [<loopdev> ...]
--detach <loopdev> [<loopdev> ...]
Detach the file or device associated with the specified loop device.

-E encryption_type
Enable data encryption with specified number.

-e encryption_name
Enable data encryption with specified name.

-f | --find
Find the first unused loop device. If a file argument is present, use this device. Otherwise, print its name.

-o offset
--offset <offset>
The data start is moved offset bytes into the specified file or device.

-p num
Read the passphrase from file descriptor with number num instead of from the terminal.

-r | --read-only
Setup read-only loop device.



EXAMPLES
losetup -o 512 /dev/loop100 /mnt/data1/xen/cen06x64/diskimage.img
losetup -o 32256 /dev/loop100 /mnt/nfs/xen/cen05/diskimage.img
losetup -d /dev/loop1




Zmodyfikowany ostatnio: 2014/05/15 09:58:51 (9 lat temu), textsize: 2,10 kB, htmlsize: 2,71 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników