Welcome! Log In Create A New Profile

Advanced

extending usb flash lifetime with ext3 and swapoff?

Posted by Lallo 
extending usb flash lifetime with ext3 and swapoff?
April 01, 2014 04:33AM
Hello,

thanks to the hints on this forum I have been finally able to resurrect my dockstar which is now happily running debian wheezy on a 8 GB USB flash.

Now I was wondering if it could benefit from commenting out the swap line from fstab
root@debian:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root       /               ext2    noatime,errors=remount-ro 0 1
# /dev/sda2       none            swap    sw              0       0
UUID=2343a347-dcf9-442b-80ad-c856d7ef0bf6       none            swap    sw              0       0
tmpfs           /tmp            tmpfs   defaults        0       0

Is the swap really used? Isn't better to save precious write cycles on the USB flash? :-)

And what about changing the filesystem of the usb main root partition in ext3. Is this possible and supported by uboot?
I think this could save some e2fsck.

Thanks!
Re: extending usb flash lifetime with ext3 and swapoff?
April 01, 2014 11:33PM
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: