Active Topics

 


Reply
Thread Tools
Johnx's Avatar
Posts: 643 | Thanked: 628 times | Joined on Mar 2007 @ Seattle (or thereabouts)
#21
@Quindor: I believe there are still some patent minefields related to any potential 3rd party implementation of exFat.
 
Posts: 119 | Thanked: 22 times | Joined on Dec 2009
#22
I am a linux noob, but I will save this post, thanks a lot for your advice.

Just a question though, if format a microSD in NTFS, would the N900 recognise it?
 
Posts: 237 | Thanked: 157 times | Joined on Dec 2009 @ San Diego, CA
#23
Originally Posted by inzimam View Post
I am a linux noob, but I will save this post, thanks a lot for your advice.

Just a question though, if format a microSD in NTFS, would the N900 recognise it?
No, the n900 assumes the microSD is formatted FAT, and will fail to automatically recognize/mount it on boot/insert. (For instance my microSD is ext3, I have to mount it manually in Xterm)


If you or someone else compiles the necessary kernel modules, you *may* be able to manually mount the microSD, but this is deeply in "at your own risk" territory.
 
Posts: 19 | Thanked: 4 times | Joined on Dec 2009 @ France
#24
Originally Posted by go1dfish View Post
No, the n900 assumes the microSD is formatted FAT, and will fail to automatically recognize/mount it on boot/insert. (For instance my microSD is ext3, I have to mount it manually in Xterm)


If you or someone else compiles the necessary kernel modules, you *may* be able to manually mount the microSD, but this is deeply in "at your own risk" territory.
go1fish,

You mentioned that you have an ext3 microSD card (I assume it's 100% ext3 and not a small fat partition and a large ext3 as is recommended by Easy Debian for automounting) that you have to mount manually in Xterm - can you tell us how you go about mounting it in Xterm? Have you noticed any other inconveniences besides the mounting not being automatic? Have you tried to automate this process in anyway? I know in regular linux you have some init scripts in which you can systematically put such a mount command but I'm not so familiar with the Maemo flavored linux...
Thanks

-=AC=-
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#25
mount -t ext3 /dev/mmcblk1p1 /media/mmc1 or something like that. There are init scripts in /etc/init.d, not sure exactly how they work and don't have a device to test on.
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#26
Originally Posted by go1dfish View Post
No, the n900 assumes the microSD is formatted FAT, and will fail to automatically recognize/mount it on boot/insert. (For instance my microSD is ext3, I have to mount it manually in Xterm)


If you or someone else compiles the necessary kernel modules, you *may* be able to manually mount the microSD, but this is deeply in "at your own risk" territory.
Pure speculation, but wouldn't modifying /etc/fstab accordingly help the N900 to automatically recognize/mount the drive as ntfs?

something like replacing this line:
Code:
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev/noexec,nosuid,noatime,nodiratime,utf8,uid=2999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
with:
Code:
/dev/mmcblk0p1 /home/user/MyDocs ntfs-3g  noauto,nodev/noexec,nosuid,noatime,nodiratime,utf8,uid=2999,shortname=mixed,dmask=000,fmask=0133,rodir  0 0
Warnings:
  • I don't know enough about ntfs-3g to know which flags it can except
  • It is not recommended that you try this directly on your N900 (or at all).
  • If you are crazy enough to try this, backup all of your data.
__________________
aspidites | blog | aspidites@inbox.com
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#27
Originally Posted by AloxeCorton View Post
go1fish,

You mentioned that you have an ext3 microSD card (I assume it's 100% ext3 and not a small fat partition and a large ext3 as is recommended by Easy Debian for automounting) that you have to mount manually in Xterm - can you tell us how you go about mounting it in Xterm? Have you noticed any other inconveniences besides the mounting not being automatic? Have you tried to automate this process in anyway?
Mine is ext2 and I use:
mount -t ext2 -o noatime,nodiratime /dev/mmcblk1p1 /media/mmc

The noatime,nodiratime is to reduce wearing out the SD card. I have been mounting it by hand in the xterm. I reboot so seldom that I haven't got around to automating yet.

The annoyance is that the file tracker ignores it when it isn't automatically mounted, so the tracker has to be restarted after the SD card is mounted.

Just substitute ext3 for ext2.
 

The Following User Says Thank You to j.s For This Useful Post:
Posts: 237 | Thanked: 157 times | Joined on Dec 2009 @ San Diego, CA
#28
Originally Posted by AloxeCorton View Post
go1fish,

You mentioned that you have an ext3 microSD card (I assume it's 100% ext3 and not a small fat partition and a large ext3 as is recommended by Easy Debian for automounting) that you have to mount manually in Xterm - can you tell us how you go about mounting it in Xterm? Have you noticed any other inconveniences besides the mounting not being automatic? Have you tried to automate this process in anyway? I know in regular linux you have some init scripts in which you can systematically put such a mount command but I'm not so familiar with the Maemo flavored linux...
Thanks

-=AC=-

I only use the ext3 partition for my chroot, and the easy debian scripts handle the mounting for me whenever I try to do something with the chroot.

Normally you would be able to edit fstab to make the thing automount to, but as I understand it fstab gets regenerated at boot.
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#29
Originally Posted by go1dfish View Post
I
Normally you would be able to edit fstab to make the thing automount to, but as I understand it fstab gets regenerated at boot.
That's disappointing.

The timestamp on my /etc/fstab is 1999-12-31. If I do TZ=UTC,
it is 2000-01-01. hosts and hostname are the same, so I guess that they get clobbered^H^H^H^H^H^H^H^H^Hregenerated at boot as well.
 
Posts: 14 | Thanked: 2 times | Joined on Dec 2009
#30
It's not a good idea to use ext2/3 or ntfs on a flash drive.


Instead use JFFS2.
This filesystem is designed for flash drives and prolongs the service life of the flash drive by using some sort of software wear leveling.

The 256 MB partition on a N8x0 device is using JFFS2 by default.
So the kernel on the device should be able to read the filesystem out of the box.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:46.