Linux Mount Drive: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 52: Line 52:
==References==
==References==
* [https://askubuntu.com/questions/583909 How do I check where devices are mounted?]
* [https://askubuntu.com/questions/583909 How do I check where devices are mounted?]
* [https://www.raspberrypi.org/forums/viewtopic.php?t=22957 Mount a NTFS External USB Hard drive]
* [https://manpages.ubuntu.com/findmnt.8 findmnt]
* [https://manpages.ubuntu.com/findmnt.8 findmnt]
* [https://manpages.ubuntu.com/mount.8 mount]
* [https://manpages.ubuntu.com/mount.8 mount]
* [https://manpages.ubuntu.com/lsblk.8 lsblk]
* [https://manpages.ubuntu.com/lsblk.8 lsblk]
* [https://manpages.ubuntu.com/df.1 df]
* [https://manpages.ubuntu.com/df.1 df]

Revision as of 07:47, 6 June 2020

mount
df
lsblk
findmnt
───────────────────────────────────────────────
findmnt /

TARGET SOURCE         FSTYPE OPTIONS
/      /dev/mmcblk0p2 ext4   rw,noatime
lsblk

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda           8:0    0  3.7T  0 disk 
├─sda1        8:1    0  128M  0 part 
└─sda2        8:2    0  3.7T  0 part 
mmcblk0     179:0    0 59.6G  0 disk 
├─mmcblk0p1 179:1    0  256M  0 part /boot
└─mmcblk0p2 179:2    0 59.4G  0 part /

Good To Know

───────────────────────────────────────────────
apt update
apt install lshw
apt install gdisk
apt install hdparm
apt install ntfs-3g
cat /proc/mounts
mount|grep ^/dev
ls -la /mnt/
───────────────────────────────────────────────
cat /proc/self/mounts
hdparm -N /dev/sda
ls -la /dev/sda*
fdisk -l
mount -l
df -aTh
mount
lshw

References