Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

extending usb flash lifetime with ext3 and swapoff? (no replies)

$
0
0
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!

Viewing all articles
Browse latest Browse all 3247

Trending Articles