- ubuntu@ubuntu:~$ sudo parted --list /dev/sda
- Model: ATA Hitachi HTS54503 (scsi)
- Disk /dev/sda: 320GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 1049kB 15.0GB 15.0GB primary ntfs
- 2 15.0GB 15.1GB 107MB primary ntfs boot
- 3 15.1GB 175GB 160GB primary ntfs
- 4 207GB 320GB 114GB extended
- 5 215GB 265GB 50.0GB logical ext4
- 6 265GB 317GB 52.0GB logical ext4
- 7 317GB 320GB 2923MB logical linux-swap(v1)
- Model: SanDisk Cruzer Edge (scsi)
- Disk /dev/sdb: 16.0GB
- Sector size (logical/physical): 512B/512B
- Partition Table: msdos
- Number Start End Size Type File system Flags
- 1 32.3kB 16.0GB 16.0GB primary fat32 boot, lba
- ubuntu@ubuntu:~$ su fdisk -l -u /dev/sda
- su: invalid option -- 'u'
- Usage: su [options] [LOGIN]
- Options:
- -c, --command COMMAND pass COMMAND to the invoked shell
- -h, --help display this help message and exit
- -, -l, --login make the shell a login shell
- -m, -p,
- --preserve-environment do not reset environment variables, and
- keep the same shell
- -s, --shell SHELL use SHELL instead of the default in passwd
- ubuntu@ubuntu:~$ sudo fdisk -l -u /dev/sda
- Disk /dev/sda: 320.1 GB, 320072933376 bytes
- 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x4a47b84f
- Device Boot Start End Blocks Id System
- /dev/sda1 2048 29366271 14682112 7 HPFS/NTFS/exFAT
- /dev/sda2 * 29366820 29575664 104422+ 7 HPFS/NTFS/exFAT
- /dev/sda3 29575665 341381119 155902727+ 7 HPFS/NTFS/exFAT
- /dev/sda4 403440406 625141759 110850677 5 Extended
- /dev/sda5 420212736 517867519 48827392 83 Linux
- /dev/sda6 517869568 619429887 50780160 83 Linux
- /dev/sda7 619431936 625141759 2854912 82 Linux swap / Solaris
- ubuntu@ubuntu:~$
SHARE
TWEET
Untitled
a guest
Nov 17th, 2012
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
