Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 1997 19:51:37 +0200 (MET DST)
From:      Zoltan Sebestyen <sebesty@cs.elte.hu>
To:        FreeBSD questions mailinglist <freebsd-questions@freebsd.org>
Subject:   CDROM locking
Message-ID:  <Pine.LNX.3.95.970922194003.9004A-100000@neumann.cs.elte.hu>

next in thread | raw e-mail | index | archive | help
Hi,

 I've compiled  hfs_utils on my FreeBSD. It's an mtools-like package which
enables to read/write Macintosh's HFS filesystem. When tried it on my
CDROM it said that it can't lock the device. After disabling the lock
function it worked well. I wonder if it's a problem related to FreeBSD or
just the program did something wrong. (It's originally for Linux and the
line acquiring the lock is:
if( fcntl(vol->fd, F_SETLK, &lock) < 0) .. )

		Thanks,


--------------------------------------------------------------------------------
Sebestyen Zoltan			It all seems so stupid,
					it makes me want to give up.
szoli@caesar.elte.hu			But why should I give up,
					when it all seems so stupid?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.970922194003.9004A-100000>