Problem writing fstab - automount USB storage

Hi,

I'm trying to edit fstab to have openwrt automount a USB storage device on launch. Following this guide : https://openwrt.org/docs/guide-user/storage/usb-drives-quickstart#folded_554a7a978115c3609df2483485f0cb63_6

I get to the command

block detect | uci import fstab

And get the error block: not found.

As I've no idea what this response means I'm quite confused about what to do now.

Let's start at your output of this command:

ls -al /dev/sd*


Mine displays this:

brw-r--r--    1 root     root        8,   0 Dec 31  1969 /dev/sda
brw-r--r--    1 root     root        8,   1 Dec 31  1969 /dev/sda1
brw-r--r--    1 root     root        8,   2 Dec 31  1969 /dev/sda2
brw-r--r--    1 root     root        8,   3 Dec 31  1969 /dev/sda3
brw-r--r--    1 root     root        8,   4 Dec 31  1969 /dev/sda4
brw-r--r--    1 root     root        8,  16 Dec 31  1969 /dev/sdb
brw-r--r--    1 root     root        8,  17 Dec 31  1969 /dev/sdb1
brw-r--r--    1 root     root        8,  18 Dec 31  1969 /dev/sdb2

you need to install the proper packages for block to work, start with the blockd package.
might need blockdev and block-mount too.

Thanks, this was the problem

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.