Re: 2.6.18 broken /dev/ stuff?
On Fri, Oct 06, 2006 at 15:49:29 -0400, John - wrote:
> On (06/10/06 14:34), Curt Howland wrote:
> > Hi, Users. Up to date Sid, latest 2.6.18-486.
> >
> > I'm getting a strange error with df:
> >
> > - ---------
> > $ df
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/hda1 3953036 2532300 1219928 68% /
> > tmpfs 63596 0 63596 0% /lib/init/rw
> > udev 10240 64 10176 1% /dev
> > tmpfs 63596 0 63596 0% /dev/shm
> > df: `/dev/.static/dev': Permission denied
> > - ----------
> >
> > It's also not displaying mounted cdrom or mounted usb thumb drives.
> >
> > I rebooted into 2.6.17 to check, and it displayed correctly.
> >
> > Anyone else notice this problem? Two other machines of mine which are
> > running 2.6.18-P4 and 2.6.18-K7 also display this problem.
> >
> > Curt-
>
> Same here, with 2.6.18 from vanilla source), and as a
> mysterious mount point for /dev/root:
> root@/# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda1 2885780 79932 2659260 3% /
> tmpfs 517824 0 517824 0% /lib/init/rw
> udev 10240 80 10160 1% /dev
> tmpfs 517824 0 517824 0% /dev/shm
> /dev/root 2885780 79932 2659260 3% /dev/.static/dev
>
> It appears that /lib/init/rw is created by line 30 in
> /etc/init.d/mountkernfs.sh:
> touch /lib/init/rw/.ramfs
>
> And now I'm out beyond my depth.
So am I, but your message helped me find the relevant bug reports. A fix
is coming with the next upgrade of the sysvinit package:
Resolved bugs -- Normal bugs (73 bugs): 2 reports
1) #391122 [FIXED sysvinit 2.86.ds1-33]: initscripts: df shows `/dev/.static/dev': Permission denied
2) #391286 [FIXED sysvinit 2.86.ds1-33]: df: `/dev/.static/dev': Permission denied
--
Regards,
Florian
Reply to: