UFFS in userspace using fuse¶
Mount an existing volume¶
The basic is:
$ uffs [target] [mountpoint]
where [target] can be a file, a block device, or an UBI volume.
For example, to mount /dev/sda1 as /mnt/test:
$ uffs /dev/sda1 /mnt/test
To allow other users to use the mount point, do:
$ uffs -o allow_other /dev/sda1 /mnt/test
Umount¶
As root:
# umount /mnt/test
Format a device¶
First, the device must be formatted as an EBM volume:
$ mkebm /dev/sda1
Then you have to format it as an UFFS volume:
$ mkfs.uffs /dev/sda1
Troubleshooting
If you have rights permission issues, check the rights on /dev/fuse.
$ ls -l /dev/fuse