* More fixes from upstream
* swapoff: handle UUID= and LABEL=. Closes: #435555
+ * mount.preinst: deal with no /proc/mounts.
- -- LaMont Jones <lamont@debian.org> Thu, 2 Aug 2007 08:35:32 -0600
+ -- LaMont Jones <lamont@debian.org> Fri, 3 Aug 2007 09:56:43 -0600
util-linux (2.13~rc2-5) unstable; urgency=low
version=$2
export LANG=C # for the comparison of mail version...
- NFS_IN_USE=$(sed -n '/^[^ ]* [^ ]* nfs /p' /proc/mounts)
+ if [ -f /proc/mounts ]; then
+ NFS_IN_USE=$(sed -n '/^[^ ]* [^ ]* nfs /p' /proc/mounts)
+ else
+ NFS_IN_USE=""
+ fi
if [ -n "$NFS_IN_USE" ] && [ ! -x /sbin/mount.nfs ] ; then
cat << EOF
You have NFS mount points currently mounted, and this version of mount