fdisk
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| fdisk [2016/05/27 11:15] – créée simon | fdisk [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== La commande " | ||
| - | La page de [[man de fdisk]]. | ||
| - | |||
| - | === Exemples === | ||
| - | |||
| - | = Voir les partitions = | ||
| - | Très pratique pour repérer une carte SD ou une clé USB. | ||
| - | <code bash> | ||
| - | # fdisk -l | ||
| - | |||
| - | Disk /dev/vda: 10 GiB, 10737418240 bytes, 20971520 sectors | ||
| - | Units: sectors of 1 * 512 = 512 bytes | ||
| - | Sector size (logical/ | ||
| - | I/O size (minimum/ | ||
| - | Disklabel type: dos | ||
| - | Disk identifier: 0x00000000 | ||
| - | |||
| - | Device | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | Créer une partition comme sur l' | ||
| - | # fdisk /dev/vdb | ||
| - | |||
| - | Welcome to fdisk (util-linux 2.25.2). | ||
| - | Changes will remain in memory only, until you decide to write them. | ||
| - | Be careful before using the write command. | ||
| - | |||
| - | Device does not contain a recognized partition table. | ||
| - | Created a new DOS disklabel with disk identifier 0x78fc199b. | ||
| - | |||
| - | Command (m for help): n | ||
| - | Partition type | ||
| - | | ||
| - | | ||
| - | Select (default p): p | ||
| - | Partition number (1-4, default 1): 1 | ||
| - | First sector (2048-104857599, | ||
| - | Last sector, +sectors or +size{K, | ||
| - | |||
| - | Created a new partition 1 of type ' | ||
| - | |||
| - | Command (m for help): w | ||
| - | The partition table has been altered. | ||
| - | Calling ioctl() to re-read partition table. | ||
| - | Syncing disks. | ||
| - | </ | ||
fdisk.1464347737.txt.gz · Dernière modification : (modification externe)
