LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2006, 06:37 AM   #1
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
lock cd-eject-funktion without mount


hi,
is there a possibility to "lock" drives or the eject-mechanism (CD/DVD/..)?

background could be:
a cronjob mounts a cd and compares the read-only files from the cd with original files (eg. certs, checksums,...). after the cronjob, the medium will be unmounted for security reasons.

so far so good, but it would be better to lock the cd-tray, that nobody can take out (and fake) the cd in drive!

any ideas? or what do you think?
 
Old 03-21-2006, 03:02 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You could just keep the CD mounted, or spawn a process that opens a file on the CD for reading. It all depends against who you want to protect yourself - bypassers, processes ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 24 04-12-2019 10:42 AM
User eject/mount of next CD-ROM? dunkel Linux - General 1 12-23-2005 03:53 AM
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
Unable to mount share due to file lock Rivitir Linux - Networking 0 07-18-2005 10:12 AM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration