[mythtv-users] Funny looking FSTAB file.

Paul A Pick paul.pick at gmail.com
Thu Oct 5 11:26:42 UTC 2006


> LABEL=/ / ext3 defaults 1 1
> LABEL=/boot /boot ext3 defaults 1 2
> /dev/devpts /dev/pts devpts gid=5,mode=620 0 0
> /dev/shm /dev/shm tmpfs defaults 0 0
> /dev/proc /proc proc defaults 0 0
> /dev/sys /sys sysfs defaults 0 0
> LABEL=/video /video ext3 defaults 1 2
> é8dH3äG8 swap swap defaults 0 0
> /dev/hdc /media/cdrecorder auto 
pamconsole,exec,noauto,managed 0 0 
>
> Any ideas on how to fix this ?

You just have to figure out where your swap partition is
located and then enter that into your fstab.

Try "cat /proc/swaps" or "fdisk -l /dev/hda|grep swap". 
If you're using SATA, try /dev/sda. What you're looking for is 
output like this:

/dev/sda5       4469 4500   257008+  82  Linux swap / Solaris

Once you have that, you can edit /etc/fstab and replace the
first bit of the swap line with the location of your swap
partition. In my case, that line would become:

/dev/sda5 swap swap defaults 0 0      

-- 
Paul Pick | paul.pick at gmail.com | http://packrat.dnsalias.org/
==============================================================
"A mathematician is a device for turning coffee into theorems."
 -- Paul Erdos


More information about the mythtv-users mailing list