Mount a writable directory in a read-only file system?
I have a dd-wrt router I need to create a /usr/share directory to satisfy a path requirement that I can't figure out how to change. The /usr filesystem is read-only.
The device I want to mount is @ /dev/scsi/host0/bus0/target0/lun0/part3 I've tried Code:
root@DD-WRT:/dev/mtdblock# mount -t ext2 /dev/scsi/host0/bus0/target0/lun0/part3 /usr/share/ Can anyone tell me how to do this? Thanks! |
The only way around this is to:
1 - reboot into single user mode 2 - manually (re)mount /usr with read-write permissions ( mount -n -o remount, rw /usr ) 3 - manually create /usr/share, 4 - reboot. Now the target exists and you can mount something on it. That what is mounted on /usr/share still has read-only permission! It isn't clear from your post if the solution I gave is at all possible. You mention a dd-wrt router , which might not allow you to do the above steps. |
All times are GMT -5. The time now is 03:59 AM. |