From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 13:06:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CADFD16A4CE for ; Tue, 6 Jan 2004 13:06:43 -0800 (PST) Received: from eve.nldesign.com (db.nldesign.com [65.173.133.16]) by mx1.FreeBSD.org (Postfix) with SMTP id C636843D62 for ; Tue, 6 Jan 2004 13:06:27 -0800 (PST) (envelope-from fabrizio@nldesign.com) Received: (qmail 90977 invoked from network); 6 Jan 2004 21:06:27 -0000 Received: from unknown (HELO 198.68.180.111) (198.68.180.111) by db.nldesign.com with SMTP; 6 Jan 2004 21:06:27 -0000 From: Fabrizio Parrella Organization: NLDesign To: Bruce Evans Date: Tue, 6 Jan 2004 16:05:03 -0500 User-Agent: KMail/1.5.4 References: <200401061059.54892.fabrizio@nldesign.com> <20040107074011.D5599@gamplex.bde.org> In-Reply-To: <20040107074011.D5599@gamplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200401061605.03319.fabrizio@nldesign.com> cc: current@freebsd.org Subject: Re: mount / umount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 21:06:43 -0000 This mean that will be not possible mount a floppy disk with some files in?= or=20 a CDROM with some files? fabry On Tuesday 06 January 2004 03:44 pm, Bruce Evans wrote: > On Tue, 6 Jan 2004, Fabrizio Parrella wrote: > > I mount a msdos floppy disk with: > > > > mount -tmsdos /dev/fd0 /mnt/floppy > > > > and everything works fine.. > > when I tried to umount, I got this: > > > > umount: unmount of /mnt/floppy failed: Resourde temporary =A0unavailable > > # fd0: hard error cmd=3Dwrite fsbn 19 (ST0 40 ST1 2 > > ST2 0 cyl 0 hd 1 sec 2 > > It's not writable, so you need to mount it with option ro. > > msdosfs used to have the nice property of not scribbling on disks unless > there is a write() or chmod() etc. on the disk, but it now always writes > to the FAT for non-ro mounts to clear the clean flag. > > > PLUS, if I try to mount the floppy disk by an user and not as root, I g= et > > thie message: > > > > msdosfs: /dev/fd0: Operation not permitted > > Various things prevent user mounts (see another reply), and non-clean > disks should now prevent read-write mounting. I'm not sure if this works > yet. > > Bruce > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"