[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286515: are you sure swap can be labeled?



> You could use something like
>
> LABEL=root /      ext2    defaults    0       1
> LABEL=swap none   swap    sw          0       0
> LABEL=home /home  ext2    defaults    0       1
>
> in your /etc/fstab, instead of /dev/hda1 or /dev/sda1.

Is your fstab example a real life one, or fictional? in the 1st case,
how did you manage to have the swap labeled??

I don't know how can one label a swap partition, if at all.
mkswap/swapon/swapoff don't seem to be providing such an option.
I know I can remove the swap partition and create another
one with one big file on it to hold the swap, but I suspect from the
architectural reasons this will be worse than using a dedicated partition.

I have suffered my share of problems with trying to keep
2.4 and 2.6 going together smoothly on the same machine
(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286515 )
and came up with nothing better than going single and
moving the appropriate fstab (sda flavoured for 2.6 and hda for 2.4)
in place. BTW, I have never figured how to force the cdrw
not to work in the ide-scsi emulation mode in 2.6; even with the
ide-cd driver preloaded by /etc/modules and an option

 options ide-scsi ignore=hdd

added to the modules.conf (via update-modutils), the scsi
emulation still grabs hdd (somehow pulled in by the sata_sil?)

Regards,
vassilii



Reply to: