Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - lsblk
- ```
- koketani:2$ lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- loop0 7:0 0 198.1M 1 loop /snap/atom/226
- ...
- loop24 7:24 0 17.5M 1 loop /snap/bw/11
- nvme0n1 259:0 0 477G 0 disk
- |-nvme0n1p1 259:1 0 512M 0 part /boot/efi
- |-nvme0n1p2 259:2 0 460.6G 0 part /
- `-nvme0n1p3 259:3 0 15.9G 0 part [SWAP]
- ```
- - mount
- - gdisk -l /dev/nvme0n1
- ```
- $ sudo gdisk -l /dev/nvme0n1
- GPT fdisk (gdisk) version 1.0.3
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
- Disk /dev/nvme0n1: 1000215216 sectors, 476.9 GiB
- Model: PC300 NVMe SK hynix 512GB
- Sector size (logical/physical): 512/512 bytes
- Disk identifier (GUID): xxx
- Partition table holds up to 128 entries
- Main partition table begins at sector 2 and ends at sector 33
- First usable sector is 34, last usable sector is 1000215182
- Partitions will be aligned on 2048-sector boundaries
- Total free space is 2669 sectors (1.3 MiB)
- Number Start (sector) End (sector) Size Code Name
- 1 2048 1050623 512.0 MiB EF00 EFI System Partition
- 2 1050624 966924287 460.6 GiB 8300
- 3 966924288 1000214527 15.9 GiB 8200
- ```
- - fdisk -l
- - findmnt
- ```
- koketani:2$ findmnt
- TARGET SOURCE FSTYPE OPTIONS
- / /dev/nvme0n1p2 ext4 rw,relatime,errors=remount-ro,data=ordered
- |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
- | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
- | |-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
- | | |-/sys/fs/cgroup/unified cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate
- ...
- ```
- - parted
- ```
- (parted) print all
- Model: PC300 NVMe SK hynix 512GB (nvme)
- Disk /dev/nvme0n1: 512GB
- Sector size (logical/physical): 512B/512B
- Partition Table: gpt
- Disk Flags:
- Number Start End Size File system Name Flags
- 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
- 2 538MB 495GB 495GB ext4
- 3 495GB 512GB 17.0GB linux-swap(v1)
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement