Mounting storage?
-
hiya,
just got my system and started to play with it, have added a 64gb microsd to the processor board and can see it using fdisk -l
have made a partition and formatted it using mkfs.f2fs
Disk /dev/mmcblk0: 59.1 GiB, 63416827904 bytes, 123860992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 123860991 123858944 59.1G 83 Linuxnow i'd like to mount it, so have made a nice directory /mnt/big/
drwxrwxrwx 2 root root 0 Jan 23 17:40 big
but if i run:
root@Omega-7923:/dev# mount /dev/mmcblk0p1 /mnt/big/
mount: mounting /dev/mmcblk0p1 on /mnt/big/ failed: Invalid argumentas you can see it fails..
what should i be doing?
cheers!!
rup
-
or if mkfs.f2fs is not suitable, can i get and use mkfs.ext4 or mkfs.xfs?
rup
-
discovered e2fsprogs so now having another go using ext4..
rup
-
sorted!!
sorry to waste peoples time..
rup
-
I like this idea of a Flash-Friendly File System. Maybe it's not fully tested on MIPS? LEDE does have recent issues about it. I'm going to try it when I receive my SD card.
-
@fossette only works as a mountable storage device once it was formatted ext4, the flash storage format was not mountable..
-
@rupert-chandler To use f2fs you'd need the kmod for it. I do not think the official firmware has the f2fs kmod installed by default.