在Linux中挂载外置硬盘
- Use
sudo fdisk -l
to figure out which is the disk to mount.
Optional: If you need to format the hard drive, refer to in Evernote:
How to create an EXT3 partition using parted in Linux
- Mount the drive
mount /dev/sdb1 /mnt
- Auto-mount every time the computer restarts.
# vi /etc/fstab
Add/append following entry to file:
/dev/sdb1 /datadisk1 ext3 defaults 0 2
网友评论