![]() |
2008-02-20
, 11:35
|
Posts: 3,841 |
Thanked: 1,080 times |
Joined on Nov 2006
|
#2
|
mke2fs -b 1024 -j -m 0 -L extra /dev/mmcblk1p1
Unfortunately, the busybox 'df' doesn't report inodes (number of files). And mke2fs's default number of inodes is probably double what you need or more. You need an inode per file, so not having enough means you can't create more files. Running out is bad. However, even unused inodes take up space. So too many inodes is bad.
![]() |
2008-02-20
, 11:53
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#3
|
![]() |
2008-02-20
, 15:13
|
Posts: 64 |
Thanked: 7 times |
Joined on Oct 2007
|
#4
|
![]() |
2008-02-20
, 16:24
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#5
|
![]() |
2008-02-20
, 16:27
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#6
|
In the Fedora linux list, we had a long thread about ext3 on Sd cards. Consensus was that it is bad to do this because it will use up the finite number of writes on the card. They recommend VFAT because it does not make as many separate writes when files are accessed. ext2 is expensive because it tracks so many attributes,especially atime.. ext3 is more costly because of journaling.
In this list, I've not seen much discussion on this, but plenty of people write 'my SD card died.' Maybe that's just a coincidence
PJ
![]() |
2008-02-20
, 16:50
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#7
|
![]() |
2008-02-20
, 20:00
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#8
|
In this list, I've not seen much discussion on this, but plenty of people write 'my SD card died.' Maybe that's just a coincidence
![]() |
2008-02-20
, 20:02
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#9
|
![]() |
2008-02-21
, 22:22
|
|
Posts: 96 |
Thanked: 7 times |
Joined on Sep 2007
|
#10
|
no reserved space for root (-m 0)
smallest blocks (-b 1024)
I ask for journaling, which consumes some space but makes the file system recoverable from a variety of errors. This makes the file system ext3. (-j)
Become root:
On the N800, put the target in the external drive and say:
mke2fs -b 1024 -j -m 0 -L extra /dev/mmcblk1p1
Unfortunately, the busybox 'df' doesn't report inodes (number of files). And mke2fs's default number of inodes is probably double what you need or more. You need an inode per file, so not having enough means you can't create more files. Running out is bad. However, even unused inodes take up space. So too many inodes is bad.
Anyway, the card was recognized by OS2008 immediately. (I didn't have to edit /etc/fstab). And, it lets me execute apps from it (which FAT and VFAT won't do). My Linux (Ubuntu Fiesty Fawn) box mounts it as ext3 automatically. I have to use 'sudo' on the linux box to copy files to it. I may make a 'user' account (uid = 29999, with gid 29999) on the desktop box that would likely do the right thing without fuss.
Since things can be executed on it, i should be able to move stuff from the internal card to it, leaving a symbolic link behind from the root filesystem. That should let me install more total stuff than would otherwise fit on the internal card alone.
People on this forum talk about booting from mmc or one of the SD cards to get what i want. It doesn't look as if it's needed.
Anyway, since i only run Linux on my desktops, this really rocks for me.
BTW, under OS2006 on my 770, this didn't work. I never had root, so i wasn't able to edit /etc/fstab to find out if that would work.