public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: mtd list <linux-mtd@lists.infradead.org>
Subject: Re: device major/minor attributes corrupt in jffs2
Date: Fri, 31 Oct 2003 10:49:13 +1300	[thread overview]
Message-ID: <3FA18759.2070901@tait.co.nz> (raw)
In-Reply-To: <3FA07FFB.4020403@tait.co.nz>

Robin Gilks wrote:
> Greetings
> 
> Just trying to put a root filesystem into jffs2 and whilst I can mount 
> the filesystem and copy my /dev directory into it and it looks OK, when 
> I reboot the major/minor numbers have been added together into the minor 
> and the major is always 0
> 
> Anyone any ideas?
> 
> target mpc8xx cross compiled from i386 with gcc-3.3.1
> kernel 2.4.22
> mtd snapshot of 22-10-03
> busybox 1.00-pre3 utils
> uclibc 0.9.20 library
> 

More info - just unmount and remount and the device file attributes are 
  buggered - I assume that the cache is OK but the data written to flash 
is not :-((

Also, it looks like the major/minor numbers not added - can't work out 
exactly what is going on !!

/home # ./MAKEDEV
/home # ls -l /mnt/dev/mtd*
crw-r--r--    1 root     root      90,   0 Jan  1 17:26 /mnt/dev/mtd0
crw-r--r--    1 root     root      90,   2 Jan  1 17:26 /mnt/dev/mtd1
crw-r--r--    1 root     root      90,   4 Jan  1 17:26 /mnt/dev/mtd2
crw-r--r--    1 root     root      90,   6 Jan  1 17:26 /mnt/dev/mtd3
crw-r--r--    1 root     root      90,   8 Jan  1 17:26 /mnt/dev/mtd4
crw-r--r--    1 root     root      90,  10 Jan  1 17:26 /mnt/dev/mtd5
crw-r--r--    1 root     root      90,  12 Jan  1 17:26 /mnt/dev/mtd6
crw-r--r--    1 root     root      90,  14 Jan  1 17:26 /mnt/dev/mtd7
/home # umount /mnt
/home # mount /mnt
/home # ls -l /mnt/dev/mtd*
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd0
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd1
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd2
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd3
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd4
crw-r--r--    1 root     root       0,  90 Jan  1 17:26 /mnt/dev/mtd5
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd6
crw-r--r--    1 root     root       0,  94 Jan  1 17:26 /mnt/dev/mtd7


-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks@tait.co.nz
New Zealand

      reply	other threads:[~2003-10-30 21:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30  3:05 device major/minor attributes corrupt in jffs2 Robin Gilks
2003-10-30 21:49 ` Robin Gilks [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FA18759.2070901@tait.co.nz \
    --to=robin.gilks@tait.co.nz \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox