Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-26-2004, 06:06 AM   #1
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, 06:08 AM   #2
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.

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

Rep: Reputation: 36
/proc cannot be written

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



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 10: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 02:28 PM
scsi error in wine (i dont have scsi) evensen Linux - Games 3 05-11-2004 03:13 PM
Some info about '/proc/scsi/scsi' and '/dev' C.Loko Slackware 4 11-27-2003 12:30 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 AM.

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