PDA

View Full Version : [ubuntu] How to find the UID for my sda2



longtom
April 24th, 2009, 09:39 AM
Hi,

I'd like to add a permanent mount to my fstab. I think I got the principle, but I can't find out how to get the UID for my partition I want to mount.

Can somebody nudge me into the right direction please?

mbzn
April 24th, 2009, 09:45 AM
Please correct me if I'm wrong.
UID is for User-ID, I think it has got to do with the privileges on your mount...

mcduck
April 24th, 2009, 09:52 AM
Hi,

I'd like to add a permanent mount to my fstab. I think I got the principle, but I can't find out how to get the UID for my partition I want to mount.

Can somebody nudge me into the right direction please?

I suppose you mean UUID (not UID)?

Just use the "blkid" command, it will list UUIDs for all your partitions.

longtom
April 24th, 2009, 10:02 AM
I suppose you mean UUID (not UID)?

Just use the "blkid" command, it will list UUIDs for all your partitions.

Yes - that is what I meant, Thank you.

And thanks for the command, that did the trick.