Re: UUID - autmatically entries?
On Sat, May 21, 2011 at 1:10 PM, Hans-J. Ullrich <hans.ullrich@loop.de> wrote:
>
>> Re the last question: assuming that you're using extX, "tune2fs -U
>> ..." is the command.
>
> yes, I am using ext2 and ext3 (encrypted). Q: Does tune2fs -U edit all entries
> in /etc/fstab and /etc/crypttab and others?
>
> Thanks for the fast response.
You're welcome.
No. You have to set it filesystem by filesystem with "tune2fs -U
[random|<UUID>] /dev/sdXY" unless script a loop through your
filesystems.
(If you use "<UUID>" in the command above, you can/have to generate it
with uuidgen.)
Reply to: