[Yaffs-archive] Re: Mount curiosity

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Nick Bane, yaffs list
Subject: [Yaffs-archive] Re: Mount curiosity
http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs/yaffs_fs.c.diff?r1=1.29&r2=1.30

OK, I've added a check for the mtd major device matching too and added it to
CVS. See above URL for the diff.

I have checked it compiles, but no further.

Nick, can you confirm whether or not this fixes the problem?

-- Charles


On Saturday 20 September 2003 07:35, Nick Bane wrote:
> Interesting issue:
>
> I mounted a usb DVD without specifying a file system eg "mount
> /dev/scsi/..blah1../cd /mnt/hda" and to my surprise I found a copy of a
> yaffs fs from /dev/mtdblock/1 mounted instead - after going through ext2
> ext3 vfat etc and deciding that yaffs was its true fs.
>
> It seems that yaffs assumes that it is only ever mounted on a mtd device
> and that it only needs to glance at its minor number to work out which
> device to use from which it checks to see if it is indeed a nand device.
>
> In this case is decided that the "1" from the scsi block device meant
> /dev/mtdblock/1 (that is my nand boot partition) and not letting the scsi
> iso9660 filesystem mount as I expected.
>
> Needs fixing - Charles?
>
> Nick
>
> -------------------------------------------
> Nick Bane
> Cambridge, UK.
> +44(0)1954 719270
>
>
>
>
> ---------------------------------------------------------------------------
>------------ This mailing list is hosted by Toby Churchill open software
> (www.toby-churchill.org). If mailing list membership is no longer wanted
> you can remove yourself from the list by sending an email to
> with the text "unsubscribe" (without the
> quotes) as the subject.


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.