linux:filesystem:udisks

Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Següent revisió
Revisió prèvia
linux:filesystem:udisks [10/01/2021 03:49] – creat matelinux:filesystem:udisks [04/04/2022 04:09] (actual) mate
Línia 5: Línia 5:
     * **-i**: usa caracteres ASCII para las representaciones de árbol (mejor copy&paste)     * **-i**: usa caracteres ASCII para las representaciones de árbol (mejor copy&paste)
     * **-m**: información del owner, grupo y modo     * **-m**: información del owner, grupo y modo
-    * **-o**: seleccionar las columnas que queremos mostrar+    * **-o**: seleccionar las columnas que queremos mostrar -> ''lsblk %%--%%help'' muestra columnas disponibles 
 +      * ''lsblk -So NAME,MODEL,SERIAL'' 
 +    * ≡ **/sys/dev/block**
   * ''ls -la /sys/dev/block'': identificación dispositivos de bloque   * ''ls -la /sys/dev/block'': identificación dispositivos de bloque
   * ''ls -la /sys/dev/block/7:0/'': información del dispositivo, como filesystem   * ''ls -la /sys/dev/block/7:0/'': información del dispositivo, como filesystem
 +    * **/sys/block/<dev>/**: idem anterior
   * ''sudo blkid'': identificadores   * ''sudo blkid'': identificadores
 +    * <code>UUID is a filesystem-level UUID, which is retrieved from the filesystem metadata inside the partition. It can only be read if the filesystem type is known and readable.
  
-/via: [[https://www.howtoforge.com/linux-lsblk-command/]]+PARTUUID is a partition-table-level UUID for the partition, a standard feature for all partitions on GPT-partitioned disks. Since it is retrieved from the partition table, it is accessible without making any assumptions at all about the actual contents of the partition. If the partition is encrypted using some unknown encryption method, this might be the only accessible unique identifier for that particular partition. 
 + 
 +PTUUID is the UUID of the partition table itself, a unique identifier for the entire disk assigned at the time the disk was partitioned. It is the equivalent of the disk signature on MBR-partitioned disks but with more bits and a standardized procedure for its generation. 
 + 
 +On MBR-partitioned disks, there are no UUIDs in the partition table. The 32-bit disk signature is used in place of a PTUUID, and PARTUUIDs are created by adding a dash and a two-digit partition number to the end of the disk signature.</code> 
 + 
 +/via: [[https://www.howtoforge.com/linux-lsblk-command/]]\\ 
 +/via: [[https://unix.stackexchange.com/questions/375548/what-is-uuid-partuuid-and-ptuuid]]
  
 == udisksctl == udisksctl
Línia 17: Línia 28:
   * ''udisksctl mount -b /dev/sda1''   * ''udisksctl mount -b /dev/sda1''
   * ''udisksctl info -b /dev/sda1''   * ''udisksctl info -b /dev/sda1''
-  * ''udisksctl info --help''+  * ''udisksctl info %%--%%help''
  • linux/filesystem/udisks.1610279357.txt.gz
  • Darrera modificació: 10/01/2021 03:49
  • per mate