Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running TomatoUSB on a Broadcom-based broadband router. I have a busybox-style shell available to me. I'd like to have a partition on the attached USB hard drive mounted in /data under the root filesystem. The issue is that the root filesystem is read-only and I can't seem to create the mount point.

The device in question is /dev/sda3, created as an ext2 filesystem with label "Data", which Tomato can automatically mount as /mnt/Data if it is told to. A pre-existing mount point of /opt can successfully attach to /dev/sda1 automatically so I think this should be possible, i.e. I just need to have the mount point created and have it survive a reboot?

Here's my /etc/fstab:

#device Mountpoint FStype Options Dump Pass#
LABEL=Optware /opt ext2 rw,noatime 1 1
LABEL=Swap none swap sw 0 0
LABEL=Data /data ext2 rw,noatime 1 1

As above, a Linux swap partition (/dev/sda2) also mounts and is made active at boot.

I wonder if an 'nvram' command would do what I need. Or a command under the startup section of the scripts GUI, which will at some point in the bootup do what's needed...not sure if it will prepend fstab execution however.

share|improve this question

migrated from Jul 12 '13 at 22:39

This question came from our site for system and network administrators.

Pardon me for not understanding. What are you trying to do that cannot be achieved with the built-in tomato interface? Mount to /data instead of /mnt?… – dtmland Jul 12 '13 at 22:48
Yes, mounting to /data. For example, if there's an application that uses a hard-coded path which cannot be changed. – Ryan Jul 13 '13 at 1:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.