A Handful of 2.6.21.5 bugs

John McCorquodale mcq at cacr.caltech.edu
Thu Jun 14 11:00:10 EDT 2007


One more, almost forgot:

My / is mounted nfs4, as I mentioned.  When it's freshly mounted, it doesn't
seem to know that nods in /dev are nods.  E.g. I do

  $ echo hi > /dev/null

and get "file exists".  I do

  $ dd if=/realdev/zero of=/tmp/foo bs=1M count=1
  dd: opening `zero': Invalid argument

and get "invalid argument".  Needless to say, a system can't boot if it
can't open /dev/null for reading.  So, I copy the real contents of /dev from
/realdev (in nfs4 /) with tar into a tmpfs /dev in early boot before invoking
init.

I am _not_ mounting ENODEV (mount syscall flags is 0, nfs4 mountdata flags
is NFS4_MOUNT_INTR).  Any clues what might be going on here?

-mcq


More information about the NFSv4 mailing list