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

Re: udev causing data loss?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barclay, Daniel wrote:

> That's not right, is it?  Isn't the UUID always of part of the file system?
> (Partitioning can't write the UUID; it's only when you format the partition
> that the UUID can be written.)

Hmmm. That's an excellent point, and I don't know whether it's mkfs or
fdisk that creates the UUID.

I'm suspecting you're right that it's mkfs, though, because a quick
google shows people asking about UUIDs on swap partitions (partitioned,
but no fs) -- and 'ls -lf /dev/disk/by-uuid' shows no UUID for the
partition my fstab uses for swap.

If that's correct, reformatting a partition will (can) invalidate data
in fstab and make your machine a real PITA at boot.

- --
Glenn English
ghe@slsware.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklabfoACgkQ04yQfZbbTLZ0hACfZ5fFKuS14ZlYcXROZI1wZcyW
wngAn1cxt6aRr1EmYdb+v49Jeh2bwp/K
=Ac0i
-----END PGP SIGNATURE-----


Reply to: