pavement

FreeBSDwiki:Community Portal

From FreeBSDwiki
Revision as of 15:06, 2 December 2004 by 4.165.3.124 (Talk)
Jump to: navigation, search

What's this page for?

BSD-related links in general?

I wouldn't mind some BSD wallpapers.



I would appreciate some information in the commands section on process and file locking: locating/tracking down locked files and processes. I would also appreciate some extra info on what commands to use to unlock resources that remain locked after a program abnormally terminates.

-- Joe B. --


Can you give me a little more background info on this? I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing. Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files. Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..

So, yeah, can you give us more info about what you're having trouble with exactly?

--Jimbo 21:43, 17 Nov 2004 (EST)


you can use lsof to see what files are open....

--Dave


I have installed Hylafax and tried to set it up. For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom. I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one. I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.

-- Joe B. --

Personal tools