lkml.org 
[lkml]   [1999]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.11+/dev/loop problems
On Tue, Jul 27, 1999 at 06:56:31PM +0100, Steve Dodd wrote:
> > You have to remove a loopback device first (with losetup -d) before you
> > can recreate it. Umounting doesn't do that.
>
> Unless mount setup the loop device in the first place using -o loop, of
> course.

mount stores this info in /etc/mtab.
If you symlink it to /proc/mounts, you want have automatic losetup -d.

--
Kurt Garloff <garloff@suse.de> SuSE GmbH, Nürnberg, FRG
Linux kernel development; SCSI drivers: tmscsim(DC390), DC395
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.089 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site