- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I copy file to /home/ftp directory it show error message "read-only file system".
Then I used chmod to change the access permissions of the directory it also give error message "read-only file system". Pls would some body tell me what did I do wrong? HawkinsLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Romfs is read only, and you cannot put files to it through ftp. You can mount compact flash and put files to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Wentao, Ukit dont have compact flash, is there any round around?
Hawkins- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use a bigger ramdisk. Right now the /ramfs.img is very small, you can replace it with a bigger one. But this needs to re-generate the romfs image.
An another alternative is to use nfs, if you have a Linux desktop. Regards, wentao- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can mount another ram disk at /home/ftp which is not read only (as is done for the /tmp and /var directories) which will allow you to have a small filespace to do transfers. You can look at the rc script in /etc/rc to see how this is done (first expand /ramfs.img to /dev/ram[2|3] then mount -n /dev/ram2 /home/ftp). You can also use the ext2 fs tools to manually format the ram drive (which is what the expand /ramfs.img is really doing if I'm not mistaken) which may allow you to eek out some more space by tuning the parameters to your typical use. I haven't personally needed to do this though.
Tuck- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page