[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] Readonly fs "can't access tty; job control turned off"
From: "Paul TOTH" <tothpaul () free ! fr>
Date: 2002-12-30 4:23:03
[Download RAW message or body]
Hello,
I've patched init.c to ignore errno 30 (Read-only file system)...and add a
rcS with :
mount -n -o remount,rw /
now it's ok.
Regards
Paul TOTH <tothpaul@free.fr>
http://tothpaul.free.fr
----- Original Message -----
From: "Paul TOTH" <tothpaul@free.fr>
To: <busybox@busybox.net>
Sent: Monday, December 30, 2002 10:57 AM
Subject: [BusyBox] Readonly fs "can't access tty; job control turned off"
> Hi,
>
> There're some messages about the message "sh: can't access tty; job
control
> turned off"
>
> I've found where this error come from...but don't know what's wrong.
>
> The init applet add inittab's task with new_init_action().
> This function check the tty access with access().
> My Kernel (Mandrake 7.0) return an error -EROFS in fs/open.c :
>
> int sys_access(const char * filename, int mode)
> [...]
> dentry=namei(filename);
> res=PTR_ERR(dentry);
> if (!IS_ERR(dentry)) {
> res=permission(dentry->d_inode,mode);
> /* SuS V2 requires we report a read only fs too */
> if (!res && (mode & S_IWOTH) && IS_RDONLY(dentry->d_inode)
> res=-EROFS;
> dput(dentry);
> }
> [...]
>
> I don't know if the root fs should be read only or not when init start.
> So is it a busybox bug or not ?
>
> Regards
> Paul TOTH <tothpaul@free.fr>
> http://tothpaul.free.fr
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://codepoet.org/mailman/listinfo/busybox
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic