On Wed, May 25, 2011 at 04:12:24PM +0200, rasengan rootish wrote:
> W dniu 25.05.2011 00:39, Karel Zak pisze:
>>
>>    From my point of view it would be ideal to avoid fstab parsing in the
>>   script at all.
>>
>>   export FSTAB_FILE=/etc/fstab.sys
>>
>>   for $dev in $(findmnt --fstab -o SOURCE -e -n -O no_netdev); do
>>
>>      fsck -T $dev
>>      mount $dev --target-prefix $NEWROOT
>>
>>   done
>>
>>   Unfortunately mount(8) does not allow to read info about mountpoints
>>   from alternative fstab file and it does not support --target-prefix
>>   now.  I'll add this to my TODO list.
>>
>>      Karel
>>
>
> Ok, thanks for info (btw, findmnt seems to only handle octal escapes).

 That's correct. 
 
 The hex (e.g. \x40) escapes are used by udev for /dev/disk/by-*
 symlinks only. 

    Karel

-- 
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to