LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2004, 07:06 AM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question Error editing /proc/scsi scsi file


Is there a way to edit the scsi file at /proc/scsi so that I have all my scsi divices listed even if they are not detected or the drivers for the adapters are loaded?

I keep getting the following error when I try to edit the file in pico:

Host: scsi3 Channel: 00 Id: 06 Lun: 00
Vendor: QUANTUM Model: ATLAS10K2-TY734L Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST336704LW Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02


error writting to file invalid argument
 
Old 08-26-2004, 07:08 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
As far as I know, /proc is a virtual file system and cannot be written to by us mere mortals.

Baldrick
 
Old 08-26-2004, 09:19 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Quote:
/proc cannot be written

Not exactly as you can modify some file... For example, to enable IP forwarding, you can do:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
But that's true that in /proc filesystem a lot of files are read-only

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I access my scsi hdd from dev/scsi/host1/bus0/target0/lun0 ?? marius7sv Linux - Hardware 0 09-06-2004 11:40 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 03:28 PM
scsi error in wine (i dont have scsi) evensen Linux - Games 3 05-11-2004 04:13 PM
Some info about '/proc/scsi/scsi' and '/dev' C.Loko Slackware 4 11-27-2003 01:30 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 AM.

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