Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-11 Thread Christian Gmeiner
Hi 2014-11-04 19:41 GMT+01:00 Simon Glass : > Hi Christian, > > On 3 November 2014 02:47, Christian Gmeiner > wrote: >> Hi Simon, > > [snip] > + + if (argc == 4) + setenv(argv[3], uuid); + else + printf("%s\n", uuid); + +

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-11 Thread Christian Gmeiner
Hi 2014-11-04 7:31 GMT+01:00 Simon Glass : > Hi Christian, > > On 31 October 2014 09:08, Christian Gmeiner > wrote: >> Some filesystems have a UUID stored in its superblock. To >> allow using root=UUID=... for the kernel command line we >> need a way to read-out the filesystem UUID. >> >> Hit an

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-11 Thread Christian Gmeiner
Hi 2014-11-03 22:00 GMT+01:00 Stephen Warren : > On 10/31/2014 09:08 AM, Christian Gmeiner wrote: >> >> Some filesystems have a UUID stored in its superblock. To >> allow using root=UUID=... for the kernel command line we >> need a way to read-out the filesystem UUID. >> >> Hit any key to stop au

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-04 Thread Simon Glass
Hi Christian, On 3 November 2014 02:47, Christian Gmeiner wrote: > Hi Simon, [snip] >>> + >>> + if (argc == 4) >>> + setenv(argv[3], uuid); >>> + else >>> + printf("%s\n", uuid); >>> + >>> + return 0; >>> +} >>> diff --git a/include/ext4fs.h b/inclu

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-03 Thread Simon Glass
Hi Christian, On 31 October 2014 09:08, Christian Gmeiner wrote: > Some filesystems have a UUID stored in its superblock. To > allow using root=UUID=... for the kernel command line we > need a way to read-out the filesystem UUID. > > Hit any key to stop autoboot: 0 > => fsuuid > fsuuid - Look up

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-03 Thread Stephen Warren
On 10/31/2014 09:08 AM, Christian Gmeiner wrote: Some filesystems have a UUID stored in its superblock. To allow using root=UUID=... for the kernel command line we need a way to read-out the filesystem UUID. Hit any key to stop autoboot: 0 => fsuuid fsuuid - Look up a filesystem UUID Usage: fs

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-03 Thread Christian Gmeiner
Hi Simon, 2014-11-01 16:13 GMT+01:00 Simon Glass : > Hi Christian, > > On 31 October 2014 09:08, Christian Gmeiner > wrote: >> Some filesystems have a UUID stored in its superblock. To >> allow using root=UUID=... for the kernel command line we >> need a way to read-out the filesystem UUID. >> >

Re: [U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-11-01 Thread Simon Glass
Hi Christian, On 31 October 2014 09:08, Christian Gmeiner wrote: > Some filesystems have a UUID stored in its superblock. To > allow using root=UUID=... for the kernel command line we > need a way to read-out the filesystem UUID. > > Hit any key to stop autoboot: 0 > => fsuuid > fsuuid - Look up

[U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-10-31 Thread Christian Gmeiner
Some filesystems have a UUID stored in its superblock. To allow using root=UUID=... for the kernel command line we need a way to read-out the filesystem UUID. Hit any key to stop autoboot: 0 => fsuuid fsuuid - Look up a filesystem UUID Usage: fsuuid : - print filesystem UUID fsuuid :