Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 1995 08:24:10 -0700 (MST)
From:      billlee@freenet.edmonton.ab.ca
To:        questions@FreeBSD.org
Subject:   Panic on CP to MSDOS Floppy
Message-ID:  <Pine.A32.3.91.950311081124.74571D-100000@freenet.edmonton.ab.ca>

next in thread | raw e-mail | index | archive | help
When I do the following:
   #mount -t msdos /dev/fd0a /a
   #cp -p file.name /a
then I get:
   cp: chown: /a/file.name: Invalid argument
   panic: msdosfs_unlock: denode not locked
and of course my system reboots.  (This is 2.0R and I am logged on as root.)

Cp works o.k. if I omit the -p but then of course the file copied to the 
floppy has a new date/time of modification, not what I wanted.

What am I doing wrong?  (I'm a UN*X and FreeBSD newbie, though not new to 
computers.)

Isn't a panic a rather extreme reaction to an attempt to copy a file (even
if invalid)?
				         <<Bill>>
-------------------------------------------------
Bill Lee   E-mail: billlee@freenet.edmonton.ab.ca
           Edmonton, Alberta, Canada




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.91.950311081124.74571D-100000>