Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Probing storage devices
- To: tlug@example.com
- Subject: [tlug] Probing storage devices
- From: Frank Bennett <bennett@example.com>
- Date: Sat, 26 Jan 2002 12:17:41 +0900
- Content-disposition: inline
- Content-type: text/plain; charset=euc-jp
- User-agent: Mutt/1.3.25i
I have a question related to the backup system thingme. From /proc/partitions, I can get a list of device names. I would like to identify devices with removable media, and if possible check whether each is a CD-ROM or an MO. In particular, I'm unsure how to distinguish, for certain-sure, an internal MO from a hard disk. This is VERY important, because the write to an MO will be done using dd to the raw device. Is there a reliable and uniform means of extracting information from specific devices under Linux? Also, I have a worry about the /dev/sg0 device. Is there a possibility that writes to this device by cdrecord will be misdirected and end up scrambling a SCSI hard disk? I could just refuse to run on any machine that has SCSI devices that show up when PCMCIA and USB are down, but after coming this far, I'd rather not flake out. Hope someone can help, Frank Nagoya
- Follow-Ups:
- [tlug] root and internet
- From: Pietro Zuco
Home | Main Index | Thread Index
- Prev by Date: [tlug] Gentoo site back up
- Next by Date: [tlug] linuxcafe again
- Previous by thread: [tlug] Gentoo site back up
- Next by thread: [tlug] root and internet
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links