*BSD News Article 81526


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!newsfeed.ed.ac.uk!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: Mount BUG..who do I tell?
Message-ID: <Dzsp9F.5p2@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <54gecl$9m6@netaxs.com> <54jm91$k3o@uriah.heep.sax.de>
Date: Thu, 24 Oct 1996 19:39:14 GMT
Lines: 18

In article <54jm91$k3o@uriah.heep.sax.de> joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) writes:
>>   If you "mount_cd9660 /dev/cdromdevice /cdrom/" notice the extra
>>   slash, you can't umount /cdrom nor umount /cdrom/ you must umount
>>   the device, even though df shows the cdrom mounted on /cdrom/.

>Fix it :)

I don't have a BSD machine to hand, but I think "umount /cdrom/" after
"mount /cdrom" works, so I guess umount is removing the trailing
slash.  If so, I suggest the simple fix of removing it in mount too,
so that it is never recorded as "/cdrom/".  The extra slash is usually
(:-) added by bash completion and shouldn't really be there.

Incidentally, does "umount /cdrom//" work?

-- Richard
-- 
"Nothing can stop me now... except microscopic germs"