Skip to contentSkip to conversation

UBIFS: mount based on UUID?

DISCUSSION Wolfgang Denk 3 participants 6 messages Oct 26, 2010 – Aug 25, 2011 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

is there any way to mount UBIFS based on the UUID like we can do for "normal" file systems, i. e. by using "UUID=..." instead of a device name in /etc/fstab ?

I see there is a UUID in the file system's super block, but I can't see it is exposed to any sort of regular user interface.

Am I missing something?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
People with narrow minds usually have broad tongues.
#1 lore raw
Quoted 10 lines · Wolfgang Denk

Hi,

is there any way to mount UBIFS based on the UUID like we can do for "normal" file systems, i. e. by using "UUID=..." instead of a device name in /etc/fstab ?

I see there is a UUID in the file system's super block, but I can't see it is exposed to any sort of regular user interface.

Am I missing something?

No, you are right, we do have UUID, but we added it just in case we need it in the future, e.g., for NFS support, but we do not use it currently because we did not need it. And we did not look at mounting by UUID - it should be possible to do.

I'm a bit overloaded at the moment, but if I have time later, I can look at it.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
#2 lore raw

Dear Artem,

Quoted 5 lines · In message <1288083795.2227.28.camel@localhost> you wrote:

No, you are right, we do have UUID, but we added it just in case we need it in the future, e.g., for NFS support, but we do not use it currently because we did not need it. And we did not look at mounting by UUID - it should be possible to do.

I see.

Quoted 2 lines

I'm a bit overloaded at the moment, but if I have time later, I can look at it.

Thanks a lot.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Quote from a recent meeting:   "We are going to continue having these
meetings everyday until I find out why no work is getting done."
#3 lore raw
Quoted 13 lines · Wolfgang Denk

Dear Artem,

Quoted 5 lines · In message <1288083795.2227.28.camel@localhost> you wrote:

No, you are right, we do have UUID, but we added it just in case we need it in the future, e.g., for NFS support, but we do not use it currently because we did not need it. And we did not look at mounting by UUID - it should be possible to do.

I see.

Quoted 2 lines

I'm a bit overloaded at the moment, but if I have time later, I can look at it.

Hi Artem,
I'm also waiting this feature. now it used for script for parsing mount ubifs. but if support UUID, I will use this one.

Thank you,
Kyungmin Park

Quoted 18 lines

Thanks a lot.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Quote from a recent meeting:   "We are going to continue having these meetings everyday until I find out why no work is getting done."

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#4 lore raw
Quoted 10 lines · Kyungmin Park
Quoted 9 lines · Wolfgang Denk

Dear Artem,

Quoted 5 lines · In message <1288083795.2227.28.camel@localhost> you wrote:

No, you are right, we do have UUID, but we added it just in case we need it in the future, e.g., for NFS support, but we do not use it currently because we did not need it. And we did not look at mounting by UUID - it should be possible to do.

Quoted 8 lines
Quoted 4 lines

I see.

Quoted 2 lines

I'm a bit overloaded at the moment, but if I have time later, I can look at it.

Hi Artem,
I'm also waiting this feature. now it used for script for parsing mount ubifs. but if support UUID, I will use this one.

I see. But there is always an option to just do it and submit a patch, do not forget about this :-)

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
#5 lore raw
In reply to Wolfgang Denk
Quoted 10 lines · Wolfgang Denk

Hi,

is there any way to mount UBIFS based on the UUID like we can do for "normal" file systems, i. e. by using "UUID=..." instead of a device name in /etc/fstab ?

I see there is a UUID in the file system's super block, but I can't see it is exposed to any sort of regular user interface.

Am I missing something?

I said that I may look at this, and this mail is still in my todo box. But unfortunately, I've realized that I am unable to do many things I wanted to. In the past, MTD/UBIFS was very related to my regular work, but now my work has no relation with MTD/UBIFS, so I do not have much own time for it. Thus, I am dropping many of my TODO items.

Just wanted to let you know.

Signature · 2 lines
Best Regards,
Artem Bityutskiy