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

Re: Debian Wheezy live-boot vs. netboot=nfs



>>>>> Daniel Baumann <daniel.baumann@progress-technologies.net> writes:
>>>>> On 08/16/2012 12:40 AM, Ivan Shmakov wrote:

 >> The diff is against the versions of the files currently in
 >> Debian Wheezy.

 > these fixes area already present in git (in different ways though),
 > so not applying them, thanks anyway.

	ACK.  I've now upgraded to the versions of live-* packages
	currently in Sid, and observe no issues anymore.

	I'm still unsure about the ‘plainroot’ option handling below.
	As it seems, the use of get_fstype on ${image_directory} would
	only be valid if the latter is a file (for it's passed to
	blkid(8)), but in my case, it's a directory nfsroot= is mounted
	to.  (I. e., /live/image.  I don't know if ${image_directory}
	will point elsewhere in non-netboot case.)

	Could this please be clarified a bit?  TIA.

$ nl -ba -- /lib/live/boot/9990-overlay.sh 
…
   144		else
   145			# we have a plain root system
   146			mkdir -p "${croot}/filesystem"
   147			log_begin_msg "Mounting \"${image_directory}\" on \"${croot}/filesystem\""
   148			mount -t $(get_fstype "${image_directory}") -o ro,noatime "${image_directory}" "${croot}/filesystem" || \
   149				panic "Can not mount ${image_directory} on ${croot}/filesystem" && \
   150				rofslist="${croot}/filesystem ${rofslist}"
   151			# probably broken:
   152			mount -o bind ${croot}/filesystem $mountpoint
   153			log_end_msg
   154		fi
…
$ 

-- 
FSF associate member #7257	http://sf-day.org/


Reply to: