View Single Post
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#205
Originally Posted by ViSo View Post
how i can edit genfstab.awk?

i am in this step:
-Open /usr/lib/genfstab.awk and comment out the following pieces of code
Code:
start == 1 && $6 == 83 && !__home {
       printf "%s /home ext3 %s 0 0\n", $1, home_opts            
        printf "/home/opt /opt none bind\n"
        __home++
}
Code:
start == 1 && $6 == "c" && !__fat {
       printf "%s /home/user/MyDocs vfat %s 0 0\n", $1, fat_opts
       __fat++
}
Using an texteditor like vi, nano* or even leafpad. Run those from a root terminal:
Nokia-N900:~$ root
Nokia-N900:~# nano /usr/lib/genfstab.awk

However, I have to ask: do you know what you're doing? As editing a file is pretty basic stuff, while partitioning can be rather risky when not done right.

*watch out using nano-opt from the repos, it spreads lines that don't fit the width of the terminal window out over two different lines (word wrap), causing a malformed file when not fixed.
 

The Following User Says Thank You to iDont For This Useful Post: