[linux-pm] [Suspend-devel] Dangers of touching disk between suspend and resume

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

 



Hi again.

On Tue, 2006-12-05 at 11:51 +0000, Matt Sealey wrote:
> Nigel Cunningham wrote:
> > 
> >> But this engineer should also know if he depends on the UUID of the swap 
> >> partition to find it. If he does not, he can simply do a "mkswap" to reset
> >> the signature.
> > 
> > Since you mentioned it, what's they point to using these ugly, looong
> > uuids? /dev/hda2 is so much simpler and easier to read for mere humans.
> > I guess it might be useful for USB and so on with the hotplug messiness,
> > but when I look in /etc/fstab after some upgrade and stuff that's
> > irrelevant to hotplugging is changed into uuids,... why?
> 
> /dev/hda2 may move if they move the disk.. I think the preferred way (since
> it seems fairly hard to 'fix' a disk in the /dev tree under Linux, not so
> easy as - say - FreeBSD or NetBSD) is to mount disks from disk labels these
> days (ext2 and xfs supports it at least) as then you can move the disk
> around. USB, Firewire, external SATA disks will fall under this trap, but
> perhaps not internal IDE.. however you can't have both ways :D

Thanks for the reply.

Is all the converting of uuids to device nodes done in userspace? I
haven't noticed anything in the kernel to handle uuids, but I don't look
at filesystem code much.

Regards,

Nigel



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux