[mythtv-users] partition names
Nicolas Krzywinski
myth at site7even.de
Sat Oct 31 23:04:21 UTC 2015
> Message: 7
> Date: Fri, 30 Oct 2015 23:02:05 +0100
> From: Hika van den Hoven <hikavdh at gmail.com>
> To: Discussion about MythTV <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] partition names
> Message-ID: <1686206041.20151030230205 at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hoi Daryl,
>
> Friday, October 30, 2015, 10:24:06 PM, you wrote:
>
>> Greetings Mythizens, In the same way that I have my storage drives
>> named
>> /media/storage and /media/storage2, is it OK to name my OS
>> partitions
>> /dev/sda1 and /dev/sda6, and my swap /sda5?
>
>> I've set up a second OS partition and copied my original "fstab to
>> the
>> second partition's /etc and now realize that the UUID is incorrect.
>> So when
>> I correct that can I safely give names to other UUID's?
>
> Oh and in fstab you can use the literal name or LABEL=<the disklabel>
> or
> UUID=<the UUID> you can find the actual names with the blkid command
> see: man fstab
>
> Tot mails,
> Hika mailto:hikavdh at gmail.com
My advise for labels is to use a short abbreviation that describes a)
the drive and b) the purpose of this partition.
E. g. my 1 TB HGST drive has partitions with labels: h1t_root,
h1t_home, h1t_var, h1t_usr, h1t_data, h1t_swap
Applying this consequently to all partitions on all drives helps a lot
when doing manual maintenance. Of course, there is an additional index
needed, to distinguish multiple drives of same type.
I would not recommend to label partitions after a volatile name. This
may lead to confusion when adding a new drive that gets the device name
sda, pushing the old drive to sdb, having the old partition labels sda1,
sda2, ... etc.
Regards, Nicolas
---
Bleibend ist immer das Sinnbild - nie das Abbild. (Hermann Hesse)
More information about the mythtv-users
mailing list