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

Re: apt-install, and packages adding mounts



On Sat, Feb 14, 2004 at 01:06:33AM +0100, Petter Reinholdtsen wrote:
> +# Record the current mounts
> +cat /proc/mounts |cut -d" " -f 2 | /target/usr/bin/sort -ru > /tmp/mount.pre

You know, why i changed the apt-get calls?

> +cat /proc/mounts |cut -d" " -f 2 | /target/usr/bin/sort -ru > /tmp/mount.post
> +for dir in `/target/usr/bin/comm -13 /tmp/mount.pre /tmp/mount.post`; do
> +    umount $dir
> +done

The same.

Bastian

-- 
Immortality consists largely of boredom.
		-- Zefrem Cochrane, "Metamorphosis", stardate 3219.8

Attachment: signature.asc
Description: Digital signature


Reply to: