【树莓派】将U盘格式化为F2FS格式并挂载

Last updated on March 19, 2024 pm

F2FS是专为具有NAND闪存设备的硬件设计的,比如NVMe SSD,SmartMediaCard(SD卡)等,在使用这类设备情况下具有更快的读写速度。

1
2
3
4
5
sudo ls /dev/sd* #找到刚插入的U盘设备,比如/dev/sda
sudo mkfs.f2fs -f -O inode_checksum -O extra_attr -O verity -O lost_found /dev/sda
sudo nano /etc/rc.local # 添加下面的命令
sudo /bin/bash -c "echo '- - -' > /sys/class/scsi_host/host0/scan"
sudo /bin/mount -t f2fs /dev/sda /home/share/

【树莓派】将U盘格式化为F2FS格式并挂载
https://hexo.limour.top/jiang-U-pan-ge-shi-hua-wei-F2FS-ge-shi-bing-gua-zai
Author
Limour
Posted on
January 12, 2023
Updated on
March 19, 2024
Licensed under