[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Read only Filesystem



hi john,
 
     I tried to create a user . but when i giv command 'adduser usr1' , its giving error because of romfs, as below.
# adduser usr1
addgroup: not found
adduser: /home/usr1: Read-only file system
adduser: /home/usr1: No such file or directory
adduser: /home/usr1: No such file or directory
Enter new Unix password:
Re-enter new Unix password:
#
 
or how can i create a user in uclinux?
one more doubt..  if a file is a link file .. how can we go in to the directory??
eg:  '/etc/fstab'  here fstab is alink to '/etc/config/fstab'
it is not possible by giving 'cd /etc/fstab' .. it gives 'bad directory'
 
then how is it possible..??
 
forgive me if you find any mistakes , because i am new to linux .
thanks in advance
-Anuroop
 

 
On 7/29/05, Anuroop M <anuroop.m@gmail.com> wrote:
hi john,
 
    thanks john. I could able to create files /var directory..
 
--Anuroop

 
On 7/29/05, John Williams <jwilliams@itee.uq.edu.au > wrote:
Hi Anuroop,

Anuroop M wrote:

>           I had selected romfs and ext2 filesystems while configuring
> the kernel. my system had boot up , it had created romfs on mtdblock0 .
> the problem is since it is a read only filesystem, i m not able to
> create a new file or a directory.

Typically uClinux systems mount the root filesystem as readonly, with
ROMFS or CRAMFS, and mount a ramdisk on /var.

> i have only one SDRAM on my board. and i am not able to mount ext2 .
>  Is anybody experienced such a problem? or correct me if i am doing
> wrong. or any other filesystem need to be selected??

check to see if you can create files and directores in the /var
directory on your board.

OFcourse, you lose the contents of any changes when you power off the
board.  If you need it to be persistent, look into JFFS2 and flash.
There have been amy messages about this on the list in recent months.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/