Mobile/debug on maemo: Difference between revisions

Jump to navigation Jump to search
Line 50: Line 50:
  sudo gainroot
  sudo gainroot
  vi /usr/sbin/mmc-mount
  vi /usr/sbin/mmc-mount
modify the only script line to match the following line :
modify the script line to match the following line :
  mount -t vfat -o rw,noauto,nodev,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed "$1" "$2" > /dev/null
  mount -t vfat -o rw,noauto,nodev,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed "$1" "$2" > /dev/null
... save the file and reboot the device.
... save the file and reboot the device.
Line 57: Line 57:
<pre>
<pre>
sudo gainroot
sudo gainroot
dd if=/dev/zero of=/swap.file bs=1024 count=524288
cd /media/mmc2
dd if=/dev/zero of=./swap.file bs=1024 count=524288
mkswap /swap.file
mkswap /swap.file
echo "/swap.file swap swap defaults 0 0" >> /etc/fstab
echo "/swap.file swap swap defaults 0 0" >> /etc/fstab

Navigation menu