On Mon, Aug 01, 2005 at 07:12:59AM +0400, Alexey Tourbin wrote: > hsh-run с опцией --rooter не монтирует. > > $ hsh-run --mountpoints="$sisyphus" --rooter -- ~/build ls > sources.list > $ hsh-run --mountpoints="$sisyphus" -- ~/build ls > hasher-priv: mount: /raid/alt/sisyphus: mount point not supported > $ > > То есть у меня пока вообще не монтирует, но это дело наживное... :) Не понял, как монтировать. В /etc/hasher-priv/system добавил: allowed_mountpoints=/raid/ALT/Sisyphus В /etc/hasher-priv/fstab добавил: /raid/ALT/Sisyphus /raid/ALT/Sisyphus reiserfs bind,ro 0 0 Идея в том, чтобы замонтировать в чрут /raid/ALT/Sisypus (по тому же адресу) и завести внутри чрута apt. #!/bin/sh -ef sisyphus="/raid/ALT/Sisyphus" workdir="$HOME/build" aptbox="$workdir/aptbox" chroot="$workdir/chroot" hsh --no-stuff --initroot-only "$workdir" hsh-install "$workdir" apt install "$aptbox/etc/apt/apt.conf" "$aptbox/etc/apt/sources.list" "$chroot/.in/" hsh-run --rooter -- "$workdir" \ install /.in/apt.conf /.in/sources.list /etc/apt/ hsh-run --rooter -- "$workdir" \ mkdir -p -- "$sisyphus" hsh-run --rooter --mountpoints="$sisyphus" -- "$workdir" \ apt-get update Получаю: + hsh-run --rooter --mountpoints=/raid/ALT/Sisyphus -- /home/at/build apt-get update E: Could not open lock file /home/at/build/aptbox/var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to lock the list directory При этом /raid/ALT/Sisyphus не монтируется: $ hsh-run --rooter --mountpoints=/raid/ALT/Sisyphus -- /home/at/build \ ls -Al /raid/ALT/Sisyphus total 0 $ Скажите, я наивный? :)