OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: GadgetGuy on May 24, 2006, 08:32:31 pm
-
Hello all,
previous Beta versions have used the flash to write logfiles - potentially wearing the flash rom out relatively quickly. Is this still the case with beta 4?
I am trying to set up a normal etc/fstab, so that my C3100 HDD partitions, a CF card and an SD card work (currently my HDD partition 1 is recognized as CF, and all the other partitions are invisible). Has anyone done this? Could you please share your fstab file?
Thank you all for any comments...
-
previous Beta versions have used the flash to write logfiles - potentially wearing the flash rom out relatively quickly. Is this still the case with beta 4?
No idea for beta4, but with previous betas I just disabled the syslogd.
I am trying to set up a normal etc/fstab, so that my C3100 HDD partitions, a CF card and an SD card work (currently my HDD partition 1 is recognized as CF, and all the other partitions are invisible). Has anyone done this? Could you please share your fstab file?
AFAICT, /etc/fstab is not used during bootup, it is only of use after bootup and you wish to manually mount partitions. To automount partitions see this thread for details:
https://www.oesf.org/forums/index.php?showt...=16560&hl=fstab (https://www.oesf.org/forums/index.php?showtopic=16560&hl=fstab)
Basically you need to edit /etc/pcmcia/ide.opts. The advantage is that your HDD gets mounted correctly whether or not you have a CF inserted when booting.
-- cheers
-
In beta4 the fstab file /is/ used.
I've edited it to mount my microdrive partitions. They are now mounted correctly at boot.
-
In beta4 the fstab file /is/ used.
I've edited it to mount my microdrive partitions. They are now mounted correctly at boot.
Interesting. How does it handle a CF card being IN/OUT during boot? In beta3 (and older) if CF is not present during boot then microdrive is hda, however if CF is present then CF becomes hda and microdrive becomes hdc. This behaviour kind of messes up the entries in /etc/fstab. That is why the ide.opts method was better (after I fixed the bug )
-- cheers
-
No idea for beta4, but with previous betas I just disabled the syslogd.
How do you disable syslogd?
-
In beta4 the fstab file /is/ used.
I've edited it to mount my microdrive partitions. They are now mounted correctly at boot.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128396\"][{POST_SNAPBACK}][/a][/div]
Could you please share your fstab file?
-
Could you please share your fstab file?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=128493\")
Here' mine but you must remember, you should tweak it to fit how you've got your drive partitiioned. I've got 4 partitions on mine (4th partition is not in fstab as it is my swap partition and I use a seperate script to activate it)
/dev/mtdblock2 / jffs2 rw 1 1
/dev/hdc1 /mnt/cf auto noauto,owner 0 0
/dev/mmcblk0p1 /mnt/card auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hda1 /mnt/ide ext2 defaults 0 2
/dev/hda2 /mnt/ide2 ext2 defaults 0 3
/dev/hda3 /mnt/ide3 ext2 defaults 0 4
To understand the various options, take a look here: [a href=\"http://www.tuxfiles.org/linuxhelp/fstab.html]http://www.tuxfiles.org/linuxhelp/fstab.html[/url]
Cheers,
Jerry
-
How do you disable syslogd?
Edit /etc/rc.d/rc.sysinit and comment out the line /sbin/syslogd -S
-- cheers
-
Thanks, jerrybme and desertrat!
-
Another option for your syslog dilema... if you would to continue logging but not to your flash... you could reroute your logs to write to an internal/external drive via fstab... and save your precious NAND... :-) ... just giving you an alternate option...