Idea: Question: is there plans to use F2FS?
|
25th Jun, 2014, 04:00 AM
Post: #18
|
|||
|
|||
RE: Question: is there plans to use F2FS?
(23rd Jun, 2014 11:34 PM)CurlyMo Wrote: @mk01, how can users choose to run f2fs instead of btrfs? Can you just change the rootfstype to f2fs and the root to /dev/mmcblk0p2? yes even I have the feeling that there is code in the xbianclone routine to update cmdline.txt accordingly ... have to recheck as that parts of code I implemented as sneak preview on someone's request very very long ago (month back) - and without zero mileage or feedback never returned back to it - although my VERY limited testing was doing what it should. you can look at it /usr/local/include/xbian~g/modules/xbiancopy/main lines 50-100. and no, automatically is cmdline.txt changed only for NFS clone. but it should work the way you posted. rootfstype=f2fs root=/dev/XXX and for sure rootflags needs to change definitely too. I would start with something like that (assuming clone is at /dev/mmcblk0p2) Code: root=/dev/mmcblk0p2 rootfstype=f2fs rootflags=rw there is one problem with f2fs and that is 0 support from community. two years ago it was introduced, it made some noise, was tested by labs and it was said that the korean guys tried to implement some design concepts (which already existed on papers long ago) and terribly failed at some places. there have been recommended to take it back to labs and return in some years. Samsung put sources to git but obviously nobody likes Samsung. Samsung changed licensing to GPL only this year and as I was now checking (unstable repos) sources for util-linux the support is still no ready (that means will not come to Debian in 1-2Y for sure). We have f2fs tools, but this is too little to call it system support as without f2fs in libmount the filesystem is practically not existing for system. no blkid, no findmnt. no detection by udev no system events ... XBian should boot and work but I remember that in the code there is no straight code around f2fs and on some places I simply implemented something like -> if it is not any other filesystem - but the system obviously booted - let's say we are on f2fs. also keep in mind that f2fs on one hand it showed some "promising" speeds and low wearing, but on the other it was proven that it is faking SYNC writes even on system request (confirming sync to system but completely out of order internally). I suppose that it was very handy and useful for Samsung in the fight with MS for setting up different contract in the area of charging FAT. What also could indicate the reason why only now it was GPL released - but let's say I'm only paranoid. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|