Re: grub-mkrescue and hard links

2009-11-21 Thread Robert Millan
On Sat, Nov 21, 2009 at 11:50:51AM +, Carles Pina i Estany wrote: > > Hello, > > On Nov/21/2009, Vladimir '??-coder/phcoder' Serbinenko wrote: > > > On a side note: when I did: > > ./grub-mkrescue -o grub.iso overlay > > it added a directory named overlay to iso. E.g: I had a folder > > over

Re: grub-mkrescue and hard links

2009-11-21 Thread Robert Millan
On Sat, Nov 21, 2009 at 12:39:53PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Why do you need copying at all? mkisofs supports taking source files > from multiple directories: You're right. I remove the hardlink hack then. -- Robert Millan The DRM opt-in fallacy: "Your data belon

Re: grub-mkrescue and hard links

2009-11-21 Thread Robert Millan
On Sat, Nov 21, 2009 at 01:54:36AM +, Carles Pina i Estany wrote: > > Find attached a second patch that lets the user to specify where the > utilities are. Committed, with some adjustments. Notably, I unified both options into a single one, and (intentionally) left it undocumented. You can

Re: grub-mkrescue and hard links

2009-11-21 Thread Carles Pina i Estany
Hello, On Nov/21/2009, Vladimir '??-coder/phcoder' Serbinenko wrote: > On a side note: when I did: > ./grub-mkrescue -o grub.iso overlay > it added a directory named overlay to iso. E.g: I had a folder > overlay/boot instead of /boot on iso for me too. Yesterday I did then: ./grub-mkrescue -o g

Re: grub-mkrescue and hard links

2009-11-21 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: > On Thu, Nov 19, 2009 at 10:22:57PM +, Carles Pina i Estany wrote: > >> Hello, >> >> grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin >> and destination directories are in different file systems this fails. >> > > One of the purposes of grub-

Re: grub-mkrescue and hard links

2009-11-20 Thread Carles Pina i Estany
Hi, On Nov/20/2009, Robert Millan wrote: > On Thu, Nov 19, 2009 at 10:22:57PM +, Carles Pina i Estany wrote: > > > > Hello, > > > > grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin > > and destination directories are in different file systems this fails. > > One of t

Re: grub-mkrescue and hard links

2009-11-20 Thread Robert Millan
On Thu, Nov 19, 2009 at 10:22:57PM +, Carles Pina i Estany wrote: > > Hello, > > grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin > and destination directories are in different file systems this fails. One of the purposes of grub-mkrescue is to generate images that are

grub-mkrescue and hard links

2009-11-19 Thread Carles Pina i Estany
Hello, grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin and destination directories are in different file systems this fails. We could do a symbolic link (-s), detect if it's in the same device, etc. but I think that just copying is enough and this optimization could have