mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-08 20:10:04 -04:00
Better check_fat target
This commit is contained in:
parent
bf1cd3f326
commit
c4bc597f65
6
Makefile
6
Makefile
@ -64,7 +64,11 @@ mount_fat:
|
||||
sudo /bin/mount -t vfat /dev/loop0 mnt/fake/
|
||||
|
||||
check_fat:
|
||||
sudo fsck.fat -n /dev/loop0
|
||||
sudo /sbin/losetup -o1048576 /dev/loop0 hdd.img
|
||||
sudo /bin/mount -t vfat /dev/loop0 mnt/fake/
|
||||
sudo fsck.fat -n /dev/loop0 || true
|
||||
sudo /bin/umount mnt/fake/
|
||||
sudo /sbin/losetup -d /dev/loop0
|
||||
|
||||
umount_fat:
|
||||
sudo /bin/umount mnt/fake/
|
||||
|
Loading…
x
Reference in New Issue
Block a user