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

Re: [stage0] 100% automated kickstart from usb-stick



Hello,

we actually have the blkid library available in stage1. And with a slight modification of findDriverDiskByLabel (in loader2/driverdisc.c) you can search for any label you want.

> The idea we had was to borrow some code from e2label that would allow us to 
> read the
> label in from the file system super block. Then all we would need to do is add 
> a little logic to go through
> the devices visible to the kernel that would likely be a USB drive and read 
> their f/s labels until we found
> a match then pass that device name back for mounting in the normal manner.

> After a quick look at the later versions of Anaconda I think they are doing 
> something similar to this
> anyway. Although, the differences between 11.1.2.11 and the latest one a vast 
> so it's hard for me to be
> sure.

Martin


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