RFC: ATA to CAM integration patch

Anonymous swell.k at gmail.com
Sun Jun 28 22:00:40 UTC 2009


"Carlos A. M. dos Santos" <unixmania at gmail.com> writes:

> On Sat, Jun 27, 2009 at 8:17 PM, Daniel O'Connor<doconnor at gsoft.com.au> wrote:
> [...]
>> 7.2 has UFSID in GENERIC so you can mount your disks that way which is
>> non-ambiguous.
>>
>> Unfortunately you can't specify swap this way because it has no ID, I
>> don't know how hard it would be to add such a thing (which would
>> require a mkswap or somesuch, and modification to the dump & swap
>> code..)
>
> You can use glabel to add a label to the raw swap partition. I use to
> have a line containing
>
> 	/dev/label/BSDSWAP	none	swap	sw	0 0
>
> in /etc/fstab.

Or you can use GPT-specific labels, as well. They would look like

/dev/gpt/swap1
/dev/gptid/adec0ea7-642e-11de-85dc-000476911739


More information about the freebsd-current mailing list