[mythtv-users] Changing partition label
Nick
knowledgejunkie at gmail.com
Wed Oct 4 03:15:28 UTC 2006
On 04/10/06, stan <stanlist at cox.net> wrote:
> To verify, are you saying it's safe to just change the /etc/fstab entry
>
> From
> LABEL=/video /video ext3 defaults 1 2
> To
> LABEL=/video /data ext3 defaults 1 2
>
Unmount /dev/hdc1 before changing anything. Then you can create the
new mount point, update your /etc/fstab file, and update the partition
label. Then mount the drive again with
# mount /data
Then create your recordings, videos, and music directories under /data
and change the MythTV pointers. All data under /data will then be
stored on /dev/hda1.
> But, that still begs the question of how to change the /video partition name
> as well. Is this a risky procedure at this point. Is the partition name
> /video already known in several other places?
Use the e2label command as you mentioned in your original post to
change the label. Changing the partition name when the partition is
unmounted should not affect anything. Problems are really only to be
expected if you change the partition label without updating /etc/fstab
to reflect the change (and fstab is referencing partitions by label
and not be device name) - as mount will not be able to find the
partition.
Nick
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users
More information about the mythtv-users
mailing list