-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 eehouse wrote: <snip> > If I pass '-t ext2' to mount it does the right thing. So my question is > really Why isn't the -t option needed on /dev/hda3? > > Any ideas what's going on here? As I said, the only difference is > that when I originally partitioned the card I created the first two > partitions as type 1 (FAT12) and formatted them using mkdosfs. Is it > possible there's some lingering artifact that mount is picking up on? > Oh, it's also possible I used tune2fs differently on the third > partition, but no change I've tried so far has made any difference.
I suspect there is some lingering effect from the previously formatted partitions. The kernel (or the mount command) is apparently having trouble auto-detecting the filesystem on the partition. I can't say exactly why without crawling through the code, but things to look at would be the MBR of your drive (specifically the partition entries) and the first couple of sectors of the partitions themselves (grab the sectors with dd and use your favorite hex editor to examine them). You might also test what happens if you try to mount the third partition as MSDOS. I realize this is incorrect, but I seem to recall something about filesystems being tried in order until one of them works (ie: it could be for some reason the third partition won't mount as msdos so it is properly mounted as ext2, while the first two may appear for whatever reason to be valid msdos filesystems, which is likely tried first since it's probably compiled into your kernel while ext2 is probably a module loaded at runtime). I know this is how the old init scripts worked, but I don't know if the busybox mount currently works this way or not... NOTE: I personally recommend you use the -t switch, or put the entries for all three partitions into fstab. I tend to not trust auto-detection mechanisms, particularly on systems stripped as small as LEAF. - -- Charles Steinkuehler [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFNkGVLywbqEHdNFwRAlAGAKDVuy/BCVqJ8z+6E9dmQsUg/8k9xQCaAqlM NI/jqQK4v9+Gxc834On7uHQ= =0Vzk -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
