andrecanhadas
(usa Debian)
Enviado em 10/12/2012 - 15:29h
CiberneticO escreveu:
cybernetic@CYBERNETIC:~$ fdisk - l
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
cybernetic@CYBERNETIC:~$ blkid
cybernetic@CYBERNETIC:~$
O blkid não deu retorno.
O que será que está acontecendo?
Estranho o fdisk -l (copie e cole daqui) não tem espaço entre o - e o l devia retornar a lista de partições de todos os discos:
ex:
root@debian-TI:/home/andre# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = setores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb1d43b7b
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 63 16000739 8000338+ 82 Linux swap / Solaris
/dev/sda2 16000801 976766975 480383087+ 5 Estendida
/dev/sda5 16000803 167866367 75932782+ 7 HPFS/NTFS/exFAT
/dev/sda6 873009152 976766975 51878912 83 Linux
/dev/sda7 167868416 873005055 352568320 83 Linux
ja o blkid o uid das partições.
EX:
/dev/sda1: UUID="2e04c127-4431-45e1-be81-d87b1ea60f5b" TYPE="swap"
/dev/sda5: UUID="321D80EF5B07DBC1" TYPE="ntfs"
/dev/sda6: UUID="481cb856-8fc7-47d9-8175-6c50971997d8" TYPE="xfs"
/dev/sda7: UUID="3ae29999-44b1-4769-8299-3fb6a960269a" TYPE="xfs"
Esta como root?